ChanServ changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | WARNING: this channel (only) may contain binary reverse engineering discussion | RE policy: https://alx.sh/re (MANDATORY READ) | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
mab_ has joined #asahi-re
mab_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
pb17 has joined #asahi-re
mab has joined #asahi-re
mab is now known as Guest4943
Guest4943 has quit []
KxCORP5894000345 has quit [Quit: Bye!]
KxCORP5894000345 has joined #asahi-re
Ryoshi4U has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
chrisl has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
chrisl has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]
flokli has joined #asahi-re
ddxtanx_ has joined #asahi-re
chrisl has joined #asahi-re
ddxtanx has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
chrisl has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]
mab has joined #asahi-re
mab is now known as Guest4993
chrisl has joined #asahi-re
Guest4993 has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
mab_ has joined #asahi-re
mab_ has quit []
chrisl has quit [Ping timeout: 480 seconds]
mab_ has joined #asahi-re
mab_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-re
nimprod3l has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]
Ryoshi4U has quit [Remote host closed the connection]
pb17 has joined #asahi-re
mab has joined #asahi-re
chrisl has joined #asahi-re
mab is now known as Guest5001
chrisl has quit [Ping timeout: 480 seconds]
Guest5001 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-re
opticron_ is now known as opticron
pb17 has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-re
manawyrm has joined #asahi-re
pb17 has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
nimprod3l has quit [Quit: Leaving]
<chrisl>
I'm trying to debug the "bootloop" that happens on m1n1 booting macOS 14.0+. Using the Central Scrutinizer I was able to quickly determine that the m1n1 guest becomes unresponsive relatively early in boot at the end of mmu_init when enabling the MMU. But I've been stuck at that point for a while now, and I was wondering if anyone had any good tips for debugging *why* enabling the MMU is causing problems.
<chrisl>
I'm slowly learning more things (for instance, I didn't think SCTLR_EL1 should matter since we're running in EL2 at that point until I read about HCR.E2H), but I tried instrumenting all the exception vectors thinking there might be a page fault, but I'm not getting any serial output, so if a exception is being triggered, it's not being handled the way I expect it to.
<chrisl>
Without the MMU enabled, I can't get the actual serial port up to the host to be able to issue commands, so my debugging is currently at the level of rebuilding m1n1, booting into 1TR, reconfiguring and then trying again for every little change
<chrisl>
I'm guessing that iBoot starting configuring the system differently at the 14.0 boundary, and something about the current state is causing the hang when enabling the MMU (since it worked in some 14.0 betas, but not as of full release), so if there's a way to see what's different in the iBoot, or system config at that point that might point out the differences
pb17 has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
phire_ has joined #asahi-re
phire is now known as Guest5036
phire_ is now known as phire
Guest5036 has quit [Ping timeout: 480 seconds]
linuxgemini has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
linuxgemini has quit [Quit: getting (hopefully fresh) air o/]