#
#asahi-alt · 2024-01-23 22:42
ashicy8aer: but you do not have a u-boot-asahi package right?
#asahi-alt · 2024-01-23 22:41
cy8aerBy default my m1n1/u-boot is not priorised but m1n1 has a subversion greater than upstream. And this trick priorises my m1n1. I did not document a pinning of my packages
#asahi-alt · 2024-01-23 22:40
cy8aerYes. And - just wait. I'll upload a new m1n1/u-boot with faster keyboard response.
#asahi-alt · 2024-01-23 22:39
ashiI mean I will end up with a different boot.bin then?
#asahi-alt · 2024-01-23 22:39
cy8aerMy version of m1n1/u-boot works.
#asahi-alt · 2024-01-23 22:39
ashicy8aer: so if i put an exit 0 in the hooks and then reinstall m1n1 from your repo, then it is expected to have keyboard back?
#asahi-alt · 2024-01-23 22:39
cy8aerYes, I'll do until there is a agreement what to do at future time.
#asahi-alt · 2024-01-23 22:38
cy8aerI do not build the audio stack anymore.
#asahi-alt · 2024-01-23 22:38
j`eywell cy8aer should keep uboot :P
#asahi-alt · 2024-01-23 22:37
cy8aermore or less as soon as they got upstreamed, right
#asahi-alt · 2024-01-23 22:37
cy8aerashi: my m1n1 builts a boot.bin at compile time and copies it to /boot/efi/m1n1 at install time (with backup boot.bin-2024...). update-m1n1 creates the boot.bin at kernel install time from the kernel dtbs and the m1n1.bin and the u-boot.bin and a backup boot.bin.old. Actually both work (if the paths are set right)
#asahi-alt · 2024-01-23 22:37
ashiFor debian there are only "their packages" for that part because cy8aer removes pacakges as soon as they got upstreamed (if I understood that correctly)
#asahi-alt · 2024-01-23 22:35
j`eyashi: for sure, just saying that it's an expected one if you use their packages
#asahi-alt · 2024-01-23 22:35
ashij`ey: might be but it is a regression for me after updaten the packages (and creating the symlink to make postinst work)
#asahi-alt · 2024-01-23 22:33
cy8aerbecause update-m1n1 works now I probably would be able to forget the pre built boot.bin now. But my first tries ended up with killing my stub without an efi backup - some people may remember this in august 😉
#asahi-alt · 2024-01-23 22:33
j`ey(no keyboard is expected)
#asahi-alt · 2024-01-23 22:33
ashiI dont know what would happen if I put an exit 0 in the postrm/postinst scripts in the first line - if I would have ended up with a working u-boot/m1n1
#asahi-alt · 2024-01-23 22:32
ashithen everything "worked", it got triggered and no keyboard before kernel boot
#asahi-alt · 2024-01-23 22:32
ashiI symlinked u-boot-asahi -> u-boot/apple_m1 in /usr/lib
#asahi-alt · 2024-01-23 22:31
cy8aerI put this information into #debian-bananas right now. Let's see what the devs do with this.
#asahi-alt · 2024-01-23 22:31
ashibut update-m1n1 from asahi-scripts wants /usr/lib/u-boot-asahi/u-boot-nodtb.bin
#asahi-alt · 2024-01-23 22:30
ashiu-boot-asahi:arm64: /usr/lib/u-boot/apple_m1/u-boot-nodtb.bin
#asahi-alt · 2024-01-23 22:29
ashiseems so
#asahi-alt · 2024-01-23 22:28
cy8aerI am working with the upstream asahi-scripts and there is the wrong path?
#asahi-alt · 2024-01-23 22:26
ashicy8aer: yes paths are different - I put a symlink there :P
#asahi-alt · 2024-01-23 22:25
cy8aercrazy: wth my u-boot-asahi (the new one I just built) update-m1n1 works, with the debian upstream one it fails (because it cannot find /usr/lib/u-boot-asahi/u-boot-nodtb.bin - just a moment
#asahi-alt · 2024-01-23 22:24
ashiyes, it is there also, I will reinstall asahi-scripts just to make sure
#asahi-alt · 2024-01-23 22:21
cy8aer(it is possible)
#asahi-alt · 2024-01-23 22:21
cy8aerhm, is is possible that I edited some stuff there. Please look at /etc/kernel/postinst.d/zz-update-m1n1. Is there the '!' too?
#asahi-alt · 2024-01-23 22:20
ashianyway, it is getting late, and I did not want to take your time. I can figure this out myself, and if everything is fine at your side, I probably did something weird.
#asahi-alt · 2024-01-23 22:16
ashithere is a "!"
#asahi-alt · 2024-01-23 22:15
ashidoesnt this mean "if this file does not exist"
#asahi-alt · 2024-01-23 22:15
ashi if [ ! -e /usr/lib/m1n1/m1n1.bin ]
#asahi-alt · 2024-01-23 22:14
cy8aeryes and this has: /usr/lib/m1n1/boot.bin and /usr/lib/m1n1/m1n1.bin and let zz-update-m1n1 ignore the update-m1n1
#asahi-alt · 2024-01-23 22:14
ashi https://git.g3la.de/api/packages/repos/debian testing/main arm64 m1n1 arm64 1.4.11-6 [455 kB]
#asahi-alt · 2024-01-23 22:13
ashiii m1n1 1.4.11-6 arm64 Apple silicon boot loader
#asahi-alt · 2024-01-23 22:13
cy8aerso what m1n1 version do you have installed?
#asahi-alt · 2024-01-23 22:11
ashibut is does exist so it does not exit
#asahi-alt · 2024-01-23 22:11
ashiif [ ! -e /usr/lib/m1n1/m1n1.bin ] && [ -e /usr/lib/m1n1/boot.bin ]; then
#asahi-alt · 2024-01-23 22:10
ashiit does not exit
#asahi-alt · 2024-01-23 22:10
ashibut then are in /usr/lib/m1n1
#asahi-alt · 2024-01-23 22:09
cy8aer(scripts)
#asahi-alt · 2024-01-23 22:09
cy8aeryes and no: The postrm and preinstall script look for boot.bin and m1n1.bin in /usr/lib/m1n1 and exits 0 because this situation is on glanzmann installs
#asahi-alt · 2024-01-23 22:07
ashithere is a check for glanzmanns m1n1 package but the m1n1 package is from debian also
#asahi-alt · 2024-01-23 22:06
ashianyway there is more confusion, because looking at /etc/kernel/postrm.d/zz-update-m1n1 it will call update-m1n1
#asahi-alt · 2024-01-23 22:06
j`eyah, and it's a later version so takes over from the ones built by that script i guess
#asahi-alt · 2024-01-23 22:05
ashilinux-image-asahi depends on u-boot-asahi so it gets pulled in
#asahi-alt · 2024-01-23 22:04
j`eyashi: so did that upstream debian install automatically, or did you manually do it?
#asahi-alt · 2024-01-23 22:02
j`eyhttps://git.g3la.de/repos/m1-debian/src/branch/baer/m1n1_uboot_kernel.sh#L60
#asahi-alt · 2024-01-23 22:02
cy8aer(just a moment - I need to test it)

plus ›