#asahi-dev · 2025-03-23 15:51
mischa85TTY> L2C_ERR_ADR: 0x0#asahi-dev · 2025-03-23 15:51
mischa85TTY> L2C_ERR_STS: 0x0#asahi-dev · 2025-03-23 15:51
mischa85TTY> ESR: 0x96000035 (data abort (current))#asahi-dev · 2025-03-23 15:51
mischa85TTY> FAR: 0x100046d8208#asahi-dev · 2025-03-23 15:51
mischa85TTY> SPSR: 0x600002c9#asahi-dev · 2025-03-23 15:51
mischa85TTY> SP: 0x1000470bad0#asahi-dev · 2025-03-23 15:51
mischa85TTY> PC: 0x1000463ca38 (rel: 0x10a38)#asahi-dev · 2025-03-23 15:50
mischa85TTY> x28-x30: 00000000addedbad 000001000470bbd0 000001000463c954#asahi-dev · 2025-03-23 15:50
mischa85TTY> x24-x27: 00000100046d13e0 0000000000aa55ff 00000100046ddb94 000001000470bf28#asahi-dev · 2025-03-23 15:50
mischa85TTY> x20-x23: 0000000000000020 00000100199f8000 000001000470bf40 00000100046d8208#asahi-dev · 2025-03-23 15:50
mischa85TTY> x16-x19: 00000100046600c5 0000000000000000 00000000fffffffe 000001000470bbf0#asahi-dev · 2025-03-23 15:50
mischa85TTY> x12-x15: 00000100046d8204 0000000000000000 0000010004d94000 0000000000000000#asahi-dev · 2025-03-23 15:50
mischa85TTY> x8-x11: 0000000000000010 00000100046d8208 0000000000000000 00000000ffffffff#asahi-dev · 2025-03-23 15:50
mischa85TTY> x4-x7: 00000100199f8000 0000000000000000 0000000000000005 0000000000000004#asahi-dev · 2025-03-23 15:50
mischa85TTY> x0-x3: 00000100046d2000 0000000000000000 0000000000000000 0000000000000000#asahi-dev · 2025-03-23 15:50
mischa85TTY> Registers: (@0x1000470b9d0)#asahi-dev · 2025-03-23 15:50
mischa85TTY> Running in EL2#asahi-dev · 2025-03-23 15:50
mischa85TTY> MPIDR: 0x80010100#asahi-dev · 2025-03-23 15:50
mischa85TTY> Exception taken from EL2h#asahi-dev · 2025-03-23 15:50
mischa85TTY> Exception: SYNC#asahi-dev · 2025-03-23 15:50
mischa85wait i'll paste the whole thing#asahi-dev · 2025-03-23 15:49
mischa85that only gets printed at guest exception#asahi-dev · 2025-03-23 15:48
mischa85Right after: Jumping to entrypoint at 0x100199f8000#asahi-dev · 2025-03-23 15:47
mischa85i had to take out page tables update, now it crashes after jumping to entrypoint. nothing from guest, SYNC exception. ESR: 0x96000035 (data abort (current))#asahi-dev · 2025-03-23 15:31
mischa85i'm trying with the release kernel at the moment as it's way smaller than the development kernel#asahi-dev · 2025-03-23 15:30
mischa85yeah, with a bit of luck this is going to supply us with the correct chicken bits, so we can enable mmu and be back at 1.5 mbaud again for further development#asahi-dev · 2025-03-23 14:46
mischa85ok, lemme try disabling mmu totally again. which means i have to upload the kernel at 115200 baud#asahi-dev · 2025-03-23 14:41
mischa85ESR = 0x82000006 (ISS2=0x0, EC=0x20(IABORT_LOWER), IL=1, ISS=0x6)#asahi-dev · 2025-03-23 14:41
mischa85ELR = 0x200 (0x200)#asahi-dev · 2025-03-23 14:39
mischa85SPSR = 0x200003c5 (N=0, Z=0, C=1, V=0, TCO=0, DIT=0, UAO=0, PAN=0, SS=0, IL=0, SSBS=0, BTYPE=0, D=1, A=1, I=1, F=1, M=0x5(EL1h))#asahi-dev · 2025-03-23 14:13
mischa85right after jumping to the entrypoint#asahi-dev · 2025-03-23 14:12
mischa85[cpu4] Guest exception: EXCEPTION_LOWER/SYNC#asahi-dev · 2025-03-23 14:00
mischa85nickchan: i cannot do that without knowing the ps-regs right?#asahi-dev · 2025-03-23 11:42
mischa85i'll just disable cpustart_wh in the script for now#asahi-dev · 2025-03-23 11:40
mischa85it seems the ecores are actually powered on, the pcores cause SErrors#asahi-dev · 2025-03-23 11:36
mischa85woah it almost booted. the python script tried setting some cpu rvbars which of course SError'd. lemme remove those too#asahi-dev · 2025-03-23 11:33
mischa85LarstiQ: :-)#asahi-dev · 2025-03-23 11:33
mischa85stuff is happening#asahi-dev · 2025-03-23 11:31
mischa85i'm not going to touch anything and make myself coffee#asahi-dev · 2025-03-23 11:30
mischa85you might have been right. steady supply of dots now.......#asahi-dev · 2025-03-23 11:20
mischa85but lemme try without any handling at all#asahi-dev · 2025-03-23 11:20
mischa85yes but the character gets passed, it requires a combination with another specific char to do anything#asahi-dev · 2025-03-23 11:16
mischa85i was thinking the same thing, but 0x1f doesn't seem to be involved. but going to disable them anyway just to be sure#asahi-dev · 2025-03-23 11:11
mischa85this time in total early bringup m1n1 mode at 115200 baud#asahi-dev · 2025-03-23 11:10
mischa85alright, i now tried with a way smaller release kernel. it stops at 0x5d2360/0x3ed4000, does show the dots this time. but throws another serialexception#asahi-dev · 2025-03-23 00:39
mischa85so worries for later i guess#asahi-dev · 2025-03-23 00:39
mischa85anyway, disabling mmc_init() doesn't make a difference#asahi-dev · 2025-03-23 00:33
mischa85but this still doesn't explain how two big hex values translate to tz.count/stride/start/end/enable#asahi-dev · 2025-03-23 00:33
mischa85So dberlin wrote this: Note: For unhandled machines, the TZ regions can be found (on m1, m2, m3) by looking at region-id-2 and region-id-4 on a booted macos, in the /chosen/carveout-memory-map DT node. This can be used along with dumping the mcc reg space to find the correct start/end/enable above.#asahi-dev · 2025-03-23 00:30
mischa85yeah i noticed on my irc searches