#
✕ nick:kettenis
#asahi · 2022-01-03 10:13
kettenisamw: picking a specific model in the config is a bit retarded, but that's how I "fixed" it in the upstreamed bits
#asahi · 2022-01-03 10:07
kettenisthat's fine, everything that's needed has been built at that point
#asahi · 2022-01-03 09:37
kettenisthe dtb's end up in arch/arm/dts in the u-boot tree after you build
#asahi · 2022-01-03 09:33
kettenisu-boot already enables the wifi
#asahi · 2022-01-03 09:32
kettenisthat results in a u-boot that works on all the M1 models
#asahi · 2022-01-03 09:32
ketteniscat m1n1.macho *.dtb u-boot-nodtb.bin > u-boot.macho
#asahi · 2022-01-02 18:16
kettenisand they make jokes about the BSDs...
#asahi · 2022-01-02 17:42
kettenissomething around 1ms I think
#asahi · 2022-01-02 17:35
kettenisso I sent it again
#asahi · 2022-01-02 17:34
kettenisyeah I mistyped one of the addresses in the CC's a added
#asahi · 2022-01-02 16:19
kettenistpw_rules: applied the usb timer thingy to my branch
#asahi · 2022-01-02 15:31
kettenisDebian actually uses SHIM on aarch64
#asahi · 2022-01-02 15:31
kettenisoh, interesting
#asahi · 2022-01-02 15:30
kettenisI'll gladly do that!
#asahi · 2022-01-02 15:30
kettenistpw_rules: UUIDs that aren't quite unique? ;)
#asahi · 2022-01-02 15:23
kettenisfwiw, I just chainloaded the OpenBSD EFI bootloader from the grub that is part of the debian installer ISO
#asahi · 2022-01-02 15:06
kettenismps: no I have no idea
#asahi · 2022-01-02 15:00
kettenisbooted from usb, but it does recognize my efi and openbsd partitions just fine
#asahi · 2022-01-02 14:59
kettenistested with grub from the debian installer
#asahi · 2022-01-02 14:58
kettenisreworked the keyboard mapping in u-boot a bit to make the arrow keys work
#asahi · 2022-01-02 13:23
kettenisbut it would make it easier to audit the code
#asahi · 2022-01-02 13:23
kettenistrue
#asahi · 2022-01-02 13:22
kettenismaking it a separate codebase would probably be what I'd do
#asahi · 2022-01-02 13:21
kettenisthe efi runtime in u-boot uses a similar mechanism
#asahi · 2022-01-02 13:20
kettenis(that PSCI implementation wouldn't be very useful to us though)
#asahi · 2022-01-02 13:15
kettenispeanuts compared to what apple already steals for some of the firmware blobs ;)
#asahi · 2022-01-02 13:15
kettenisfwiw, u-boot does section trickery and has a PSCI implementation for some boards that don't have TF-A that fits in a few pages
#asahi · 2022-01-02 12:50
kettenisor you have a grub that doesn't include fat32 support, which would be silly
#asahi · 2022-01-02 12:49
kettenisso either the partition type is wrong, or the fat32 filesystem on there is busted
#asahi · 2022-01-02 12:48
ketteniswell, if (hd1,gpt4) really is your efi filesystem, grub doesn't recognize it as such
#asahi · 2022-01-02 12:46
kettenisls (hd1,gtp5)/
#asahi · 2022-01-02 12:46
kettenisand
#asahi · 2022-01-02 12:46
kettenisls (h1,gpt4)/
#asahi · 2022-01-02 12:46
kettenisanyway, you should be able to list files on those partitions with
#asahi · 2022-01-02 12:44
kettenis(hd1,gpt4) would be my guess
#asahi · 2022-01-02 12:32
kettenisgpt2 is almost certainly the APFS partition
#asahi · 2022-01-02 12:28
kettenisfun fact: the nvme uses 4k sectors
#asahi · 2022-01-02 12:27
kettenisbut even without a config file, grub should be able to recognize the partitions
#asahi · 2022-01-02 12:25
kettenisgrub doesn't need to care about if this is an nvme device or not
#asahi · 2022-01-02 12:21
ketteniscould be misconfiguration, or maybe it gets confused by the presence of the apple-specific partitions
#asahi · 2022-01-02 12:21
kettenislandscape15[m]: I don't know why grub is upset (and I don't really use grub as OpenBSD has its own EFI bootloader)
#asahi · 2022-01-02 12:14
kettenisso that "error: unknown filesystem" is from grub
#asahi · 2022-01-02 12:13
kettenismps: your jpg clearly shows grub running
#asahi · 2022-01-02 12:13
kettenisthis fails (and causes that message) and then the script falls back on the dtb passed by m1n1
#asahi · 2022-01-02 12:12
kettenis(which is something you should never do on these systems)
#asahi · 2022-01-02 12:12
kettenisthe script looks at $fdt_addr_r first just in case you loaded a dtb there
#asahi · 2022-01-02 12:11
kettenisamw: that message is cause by the clunky way the u-boot bootscripts are written and it is harmless
#asahi · 2022-01-01 23:05
kettenisthe GPT partition type also has to be EFI Sys
#asahi · 2022-01-01 23:02
kettenisif you put it on your linux root partition, it won't work
#asahi · 2022-01-01 23:02
kettenismps: efi/boot/bootaa.efi needs to be on msdos/vfat partition

plus ›