marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leitao has joined #asahi
possiblemeatball has joined #asahi
stintel has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
delsol has quit [Remote host closed the connection]
ATiltedTree has joined #asahi
tertu has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
gladiac has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
mikelee has joined #asahi
leitao has quit []
mikelee has quit [Ping timeout: 480 seconds]
CoD_Segfault has quit [Ping timeout: 480 seconds]
CoD_Segfault has joined #asahi
ourdumbfuture has joined #asahi
<stintel>
so I did a m1n1 + U-Boot + ESP install on my MBA15. I'm now trying to replace m1n1/boot.bin on the ESP with the one I built myself (m1n1 + DTB + u-boot), but every time I reboot, somehow the old boot.bin is back... what am I doing wrong?
<j`ey>
how are you installing it?
<_jannau__>
stintel: you mount ESP in macos, replace m1n1/boot.bin reboot into your uefi-only install which complains about a missing devicetree for your device? after rebooting to macos you determine m1n1/boot.bin is not yours. how do you determine that? by size? by sha156?
<stintel>
size
<stintel>
I'm installing it from USB device after booting kernel+initramfs via proxyclient/tools/run_guest_kernel.sh
<_jannau__>
does it stick if you unmount and mount the esp partition
<stintel>
it does
<stintel>
will try from macOS
<_jannau__>
it has to be something in the initramfs/kernel. m1n1 can't write to the ESP and macOS ignores it as well especially random files (to its knowledge)
<stintel>
guess it doesn't help I have 2 EFI partitions - 1 left from a previous try, I did a factory reset but appears this doesn't actually do a full reset
<stintel>
ok so updating from macOS worked. now I'm booting in u-boot, but keyboard doesn't work
leitao has joined #asahi
lena6 has quit [Read error: Connection reset by peer]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stintel>
keyboard works when booting the kernel with console=tty0, used exact same DTS in u-boot
lena6 has joined #asahi
alexaltea has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
lena6 has quit [Ping timeout: 480 seconds]
<jannau>
stintel: which u-boot tag did you use? needs to be asahi-v2023.07.02-2 or the asahi-releng branch
<stintel>
hmmm this thing is giving me a hard time. I can boot a linux install from nvme0n1p6 via proxyclient/tools/chainload.py, but if I try to load the same kernel via u-boot (load kernel from EFI partition to kernel_addr_t, then bootefi with inintrd on cmdline), the macbook freezes when udev starts, probably because some module loads and locks the thing up. unfortunately there is zero output :(
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]