#
✕ nick:Shiz
#asahi-dev · 2026-01-16 20:37
Shizhttps://up.shiz.me/i/gUncVvLf.jpg
#asahi-dev · 2026-01-16 20:36
Shizwe removed clpc=0 from bootargs
#asahi-dev · 2026-01-16 20:33
Shiz:')
#asahi-dev · 2026-01-16 20:33
Shizit is soo slow
#asahi-dev · 2026-01-16 20:03
Shizhey that's an assert ID!
#asahi-dev · 2026-01-15 14:05
Shiz(either way, bug potential is still there imo)
#asahi-dev · 2026-01-15 14:05
ShizI was naively assuming it was just put in a /chosen node like under linux :p
#asahi-dev · 2026-01-15 14:05
Shizah, right
#asahi-dev · 2026-01-15 14:03
Shize.g. if you add a really long kernel cmdline :D
#asahi-dev · 2026-01-15 14:02
Shizin practice it may be always smaller, but maybe not :P
#asahi-dev · 2026-01-15 14:02
Shizbecause it allocates *the original adt size* to put the *rebuilt* adt in
#asahi-dev · 2026-01-15 14:02
Shizyea, I think some of that logic for guest booting needs fixing
#asahi-dev · 2026-01-15 14:00
Shizmight be able to take a look at things tomorrow
#asahi-dev · 2026-01-15 14:00
ShizI came down with a headache yesterday & today so wasn't able to do proper testing after my initial suspicion yet, apologies
#asahi-dev · 2026-01-15 14:00
Shizwyep, that was what it caught
#asahi-dev · 2026-01-15 13:57
Shiz(m1n1.adt did catch it indeed)
#asahi-dev · 2026-01-15 13:57
Shizyeah, scrolling up that was an issue we discovered
#asahi-dev · 2026-01-15 13:56
Shizyeah, and it was even related ot the pmgr stuff :D
#asahi-dev · 2026-01-14 00:59
Shiznot great
#asahi-dev · 2026-01-14 00:59
Shizwe got a very interesting state where the kernel command line length seems to have an effect on boot progress :P
#asahi-dev · 2026-01-13 19:57
Shizsven: can't you just grba that from the templates? :p
#asahi-dev · 2026-01-13 14:47
Shizwanna see if fixing the power gating things makes things any better
#asahi-dev · 2026-01-13 14:47
Shizmoar bringup later today so I guess we'll see
#asahi-dev · 2026-01-13 14:47
Shizand if we used asahi or macos as the host
#asahi-dev · 2026-01-13 14:47
Shizah, now i can't remember what our debug setup was :D
#asahi-dev · 2026-01-13 14:45
Shiz... I think
#asahi-dev · 2026-01-13 14:45
Shizsven: curious, the use-legacy-uart=1 was not needed for our 14.8.x debugging
#asahi-dev · 2026-01-12 21:18
Shizbut it's odd that your m1n1 doesn't show anything at all
#asahi-dev · 2026-01-12 21:17
Shizyapz337: I've had good luck with ^ 14.8.3
#asahi-dev · 2026-01-12 21:17
ShizNickChan[m]: cn confirm that 14.8.x still shows kernel logs
#asahi-dev · 2026-01-12 09:18
Shizwhat i find interesting is how late m3 got it
#asahi-dev · 2026-01-12 01:59
Shiza slightly less hacky (but still hacky) way might look like this https://txt.shiz.me/YmVjYmVmZT
#asahi-dev · 2026-01-12 01:53
Shizyou might have already guessed that on the m3, pmgr is nowhere near that address so that's just hooking into the breeze
#asahi-dev · 2026-01-12 01:52
Shizwhich makes pg_overrides sound very logical in hindsight
#asahi-dev · 2026-01-12 01:51
Shizokay, I found the source of the mystery m1n1 hook: pmgr is (among others) at 0x3d280000, offset 0x1c010 is `PG0` of type `R_PWRGATE`
#asahi-dev · 2026-01-12 01:20
Shizm1n1 hooks 0x23d29c05c, that range is 0x23d29c060-0x23d29c0e3
#asahi-dev · 2026-01-12 01:19
Shizso, the magic addrs m1n1 seems to be hooking for pmgr is awfully close of a range filtered by the dart-aop instance in J274 devicetrees
#asahi-dev · 2026-01-12 00:59
Shizwhat do you have?
#asahi-dev · 2026-01-12 00:57
Shiznoopwafel & i have mostly so far been seeing if we can get xnu to boot under m1n1 to have a solid base for tracing/experiments
#asahi-dev · 2026-01-12 00:57
ShizI haven't tested booting linux on this yet, mostly due to not having set up a linux dev setup fully yet
#asahi-dev · 2026-01-12 00:55
Shizj516ap
#asahi-dev · 2026-01-12 00:55
Shizfl0_id: m3 pro :)
#asahi-dev · 2026-01-11 23:26
ShizPMP failed*
#asahi-dev · 2026-01-11 23:23
Shizconsidering the clock thing
#asahi-dev · 2026-01-11 23:23
Shizso disabling the pmgr hacks gives us a semi-consistent 'PMGR failed to come online in 30 secs', which is very much what you'd expect
#asahi-dev · 2026-01-11 23:23
Shizsecondary box (my laptop) is J516AP (not confusing at all)
#asahi-dev · 2026-01-11 23:23
Shizchaos_princess: current box we're working on is J615, I got the ADT for it here
#asahi-dev · 2026-01-11 23:22
Shizoh nice
#asahi-dev · 2026-01-11 23:18
Shiz(is there an archive of adt files somewhere?)
#asahi-dev · 2026-01-11 23:18
Shizit seems the pmgr hack addresses are completely not even near where the pmgr on the m3 is :p

plus ›