#asahi-dev · 2025-02-27 11:58
mischa85yes, those are available. for example for usb-drd0: "clock-gates": 299#asahi-dev · 2025-02-27 11:14
mischa85you mean pwrgate-regs? nope, that's also gone#asahi-dev · 2025-02-27 09:48
mischa85there is so what i did find are some extra values in the devices node, but i have no way if they have any relevance to the pmgr, and if they do how they correlate#asahi-dev · 2025-02-27 09:45
mischa85any hints are welcome because i'm really in the dark here#asahi-dev · 2025-02-27 09:44
mischa85i *think* i have mcc correct on t6041, but i probably still have some values incorrect. most important right now is that i find i way to get pmgr going without ps-regs (which are not in the adt of t604x). does anyone have any pointers where to look? is there a way to find them on a booted macos?#asahi-dev · 2025-02-22 20:57
mischa85 "name": "ATC0_USB_AON"#asahi-dev · 2025-02-22 20:57
mischa85 "id2": 289,#asahi-dev · 2025-02-22 20:57
mischa85 "unk2": 50331848,#asahi-dev · 2025-02-22 20:57
mischa85 "unk1": 512,#asahi-dev · 2025-02-22 20:57
mischa85 "index": 0,#asahi-dev · 2025-02-22 20:57
mischa85and t6041:#asahi-dev · 2025-02-22 20:57
mischa85 "id2": 166,#asahi-dev · 2025-02-22 20:57
mischa85 "name": "ATC0_USB_AON"#asahi-dev · 2025-02-22 20:57
mischa85 "map": 7,#asahi-dev · 2025-02-22 20:57
mischa85about the missing ps-regs on t6041: could it be the offsets moved to the devices node? for example -> t6031: "index": 26,#asahi-dev · 2025-02-22 13:04
mischa85also cannot find anything that looks like it. i know a bit about embedded but it takes nextlevel devicetree ninjanism to know what i'm really looking for#asahi-dev · 2025-02-22 11:45
mischa85yep: 15.1, comparing devicetrees right now#asahi-dev · 2025-02-22 11:37
mischa85confirmed, there's ps-regs in t8132 devicetree, but not in t6041 devicetree#asahi-dev · 2025-02-22 10:54
mischa85but: there just no ps-regs in DeviceTree.j616cap.im4p at all#asahi-dev · 2025-02-22 10:33
mischa85you might be onto something, adt.py says: Exception parsing /device-tree/arm-io/pmgr.devices value #asahi-dev · 2025-02-22 08:25
mischa85trying to bring up pmgr on t6041. m1n1 does find the /arm-io/pmgr node, but not ps-regs. so no pmgr, and no usb#asahi-dev · 2025-02-21 19:36
mischa85for what it's worth, gxf_init() crashes#asahi-dev · 2025-02-21 19:32
mischa85here's the whole AIDR_EL1 register on T6041: 0x000000D168699696#asahi-dev · 2025-02-21 14:06
mischa85t6041: AIDR_EL1_MUL53 nope | AIDR_EL1_WKDM yep | AIDR_EL1_ARCH_RETENTION yep | AIDR_EL1_AMX yep | AIDR_EL1_TSO yep | AIDR_EL1_GXF yep | AIDR_EL1_APFLG yep | AIDR_EL1_PSRV nope#asahi-dev · 2025-02-20 22:05
mischa85still on t6041 m1n1 bringup duties. midr values for t6041 are 0x58/0x59. got asahi logo at bootloader. data aborts. early uart log: https://pastebin.com/a40wXrwS branch: https://github.com/mischa85/m1n1/tree/t6041#asahi-dev · 2025-02-17 22:41
mischa85hehe, i've noticed. anyways: still stuck with no usb after applying some patches. will source apple m-series device for early uart to see what's going on#asahi-dev · 2025-02-17 20:31
mischa85i have no idea what the codenames are so i'll name them MIDR_PART_T6041_HAMSTER and MIDR_PART_T6041_CAPYBARA for now#asahi-dev · 2025-02-17 20:22
mischa85i think i can guess the midr values for the cores in t6041, gonna try 0x50/0x51 and 0x54/0x55#asahi-dev · 2025-02-17 19:38
mischa85alright firmware 15.1 did the trick, now got something that bootloops in a later stage, but after patching init_cpu to return early no bootloops. progress. now on to getting uart#asahi-dev · 2025-02-16 15:52
mischa85just going for early bringup for now#asahi-dev · 2025-02-16 15:51
mischa85yes, but earlier reports mentioned the same bootloop when updating 15.1 -> 15.2 on M4 devices#asahi-dev · 2025-02-16 15:45
mischa85hi all, just trying to contribute to m1n1 development a bit. struck bootloop on t6041 before m1n1 even loads. possibly related to firmware 15.3 running on this.