#asahi-alt · 2023-04-13 09:32
mpsto have same boot.bin on both ESP#asahi-alt · 2023-04-13 09:31
mpsand copy m1n1/boot.bin to alarm ESP#asahi-alt · 2023-04-13 09:31
mpsrun*#asahi-alt · 2023-04-13 09:31
mpsktz: no idea for stable solution. you could mount proper ESP and /usr/sbin/update-u-boot-asahi#asahi-alt · 2023-04-13 09:28
ktzmps: any idea at least on how to fix my alpine installation? its unusable as of now after adding u-boot-asahi and m1n1 packages and having m1n1 upgraded#asahi-alt · 2023-04-13 09:13
ktzjannau: /proc/device-tree/chosen/asahi,efi-system-partition looks the same#asahi-alt · 2023-04-13 09:12
ktzhttps://0x0.st/H8rK.txt#asahi-alt · 2023-04-13 09:12
ktzokay, this is what I gathered from alpine#asahi-alt · 2023-04-13 09:05
ktz_let me do the same booted via alpine #asahi-alt · 2023-04-13 09:04
ktz_https://0x0.st/H8ro.txt if that helps better#asahi-alt · 2023-04-13 09:03
jannau/proc/device-tree/chosen/asahi,efi-system-partition is what m1n1 cares about. if the OS doesn't match it will cause problems. can you verify that it differs between alarm and alpine#asahi-alt · 2023-04-13 09:01
ktz_thanks for trying to help in any case#asahi-alt · 2023-04-13 09:00
ktz_this is on alarm (nvme0n1p5) shouldn't it point to nvme0n1p4 instead? the one you suggested is nvme0n1p7 instead, alpine's esp#asahi-alt · 2023-04-13 08:58
jannauyou should be fine if you change "UUID=F7C9-0138" to "PARTUUID=80281940-c4e6-40d8-b83f-f509a98c9338" in fstab#asahi-alt · 2023-04-13 08:58
ktz_should fstab contain both entries?#asahi-alt · 2023-04-13 08:57
jannauyou have a mismatch. UUID of 80281940-c4e6-40d8-b83f-f509a98c9338 is 8860-08F1#asahi-alt · 2023-04-13 08:57
ktz_nvme0n1p9 is alpinelinux and nvme0n1p5 is alarm#asahi-alt · 2023-04-13 08:56
ktz_https://0x0.st/H8r-.txt#asahi-alt · 2023-04-13 08:56
ktz_maybe this helps#asahi-alt · 2023-04-13 08:56
ktz_it returns false :jannau#asahi-alt · 2023-04-13 08:51
jannaucan you check if UUID and PARTUUID point to the same partition. `blkid | grep vfat`#asahi-alt · 2023-04-13 08:49
jannau/proc/device-tree/chosen/asahi,efi-system-partition has PARTUUID not a UUID so it might not be a problem#asahi-alt · 2023-04-13 08:49
ktz_maybe that's why when upgrading via pacman kept messing up my alpine installation#asahi-alt · 2023-04-13 08:48
ktz_https://0x0.st/H8rs.txt#asahi-alt · 2023-04-13 08:48
ktz_on alarm I'm getting contradicting output or I'm missing something?#asahi-alt · 2023-04-13 08:46
mpsi.e. different ESPs for different OS#asahi-alt · 2023-04-13 08:45
mpswith PARTUUID in /etc/fstab you could have proper ones mounted for alpine and alarm#asahi-alt · 2023-04-13 08:44
mpsktz_: you should mount proper ESP for /usr/sbin/update-u-boot-asahi to work properly#asahi-alt · 2023-04-13 08:43
ktz_mps: this is likely the answer to the dtbs problem#asahi-alt · 2023-04-13 08:42
ktz_mps: no I haven't.. #asahi-alt · 2023-04-13 08:42
jannauthen you should get different values in /proc/device-tree/chosen/asahi,efi-system-partition for alarm and alpine#asahi-alt · 2023-04-13 08:41
ktz_jannau: yes, I do#asahi-alt · 2023-04-13 08:40
jannaudo you have two entries for alpine and asahi in the macos boot picker you get when you keep the power button pressed?#asahi-alt · 2023-04-13 08:37
mpson alpine you should have something like 'PARTUUID=... /boot/efi auto auto' in /etc/fstab#asahi-alt · 2023-04-13 08:35
mpsuse just one ESP, i.e. remove one you don't need#asahi-alt · 2023-04-13 08:34
ktzyes, thanks for helping me find out. is there anything I can do to fix it?#asahi-alt · 2023-04-13 08:33
mpsktz: that could be why you have problems#asahi-alt · 2023-04-13 08:32
ktzmps: both alarm and alpine use the same partition#asahi-alt · 2023-04-13 08:27
ktz_okay I'll reboot into alpine and check it out#asahi-alt · 2023-04-13 08:21
mpsalso `cat /proc/device-tree/chosen/asahi,m1n1-stage2-version`, filename tells#asahi-alt · 2023-04-13 08:20
mps`cat /proc/device-tree/chosen/asahi,efi-system-partition` will show which ESP is used#asahi-alt · 2023-04-13 08:17
mpsi.e. which second stage m1n1 is used#asahi-alt · 2023-04-13 08:17
ktz_that's a good question, I assumed its correctly mapped to the corresponding one up to this point#asahi-alt · 2023-04-13 08:16
mpshow do you select which ESP is read on boot?#asahi-alt · 2023-04-13 08:16
ktz_should that really be a problem since there are two different esps separate for each one?#asahi-alt · 2023-04-13 08:15
ktz_on two separate machines as well#asahi-alt · 2023-04-13 08:15
mpskernels are different and by this dtb is not same#asahi-alt · 2023-04-13 08:15
ktz_I haven't had any of those problems for months to this point and I've always had both installed#asahi-alt · 2023-04-13 08:14
ktz_I'm using alpine mainly, I've got the alarm installation for situations like these just for debugging#asahi-alt · 2023-04-13 08:14
mpsthis is 'calling for troubles'