#
✕ nick:kettenis
#asahi · 2022-01-04 09:05
kettenisjust dd the ISO to a USB stick/drive and boot with it plugged in
#asahi · 2022-01-04 09:04
kettenisregarding running the debian installer
#asahi · 2022-01-04 09:04
kettenisdoesn't work; but if you use a type-C to type-A converter cable, hotplug works on the type-A side
#asahi · 2022-01-03 17:25
kettenisthat seems to have the whole story
#asahi · 2022-01-03 17:25
kettenishttps://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path
#asahi · 2022-01-03 15:09
kettenisnope, that's a stupid idea
#asahi · 2022-01-03 14:54
kettenisreally, at the point where you have m1n1+u-boot running any generic arm64 distro should just work
#asahi · 2022-01-03 14:52
kettenisshouldn't matter
#asahi · 2022-01-03 14:49
kettenisI tried, it works here
#asahi · 2022-01-03 14:47
kettenisyou should only need grubaa64.efi, but you need to rename it to bootaa64.efi
#asahi · 2022-01-03 14:47
kettenisbootaa64.efi on the debian installer is the shim loader that is needed to deal with secure boot
#asahi · 2022-01-03 14:32
kettenisif you don't like grub, there is systemd-boot
#asahi · 2022-01-03 14:30
kettenisbut for now, yes, only the EFI boot path is going to be supported
#asahi · 2022-01-03 14:30
kettenisleaving it broken is not very helpful
#asahi · 2022-01-03 14:29
kettenisneed to think a bit on how to make this work
#asahi · 2022-01-03 14:19
kettenisthat's not going to work since we want to support both m1 and m1 pro/max
#asahi · 2022-01-03 14:18
kettenisthe problem with all those legacy boot mechanisms in u-boot is that they rely on fixed memory addresses
#asahi · 2022-01-03 13:50
kettenisas I said, the grubaa64.efi from the debian install iso works fine
#asahi · 2022-01-03 13:50
kettenisSo your problem must be that you didn't properly install your grub
#asahi · 2022-01-03 13:49
kettenisGlanzmann: anyway, this proves there is nothing wrong with the your ESP and u-boot just works
#asahi · 2022-01-03 13:47
ketteniswell, that isn't grub but the OpenBSD bootloader
#asahi · 2022-01-03 13:44
kettenisyup
#asahi · 2022-01-03 13:41
kettenisand use that as your efi/boot/bootaa64.efi
#asahi · 2022-01-03 13:41
kettenisbut if you want to replicate my setup, just take http://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/BOOTAA64.EFI
#asahi · 2022-01-03 13:40
kettenisbut I just verified that simply copying grubaa64.efi from the Debian 11.2 install ISO to efi/boot/bootaa64.efi on the ESP works just fine
#asahi · 2022-01-03 13:39
kettenisI'm running OpenBSD
#asahi · 2022-01-03 13:24
kettenisbut it works just fine on j274 and j293
#asahi · 2022-01-03 13:24
kettenisand no, I didn't test it on j313
#asahi · 2022-01-03 13:24
kettenisbut I doubt it is a u-boot problem
#asahi · 2022-01-03 13:24
kettenisand then it fails because something is messed up
#asahi · 2022-01-03 12:38
kettenisindeed, you don't want to accidentally boot from a random usb stick that somebody plugged into your machine
#asahi · 2022-01-03 12:36
kettenismps: I think that's a bad idea
#asahi · 2022-01-03 12:04
ketteniscase shouldn't matter (and neither does the orientation of the slashes)
#asahi · 2022-01-03 11:48
kettenisyup
#asahi · 2022-01-03 11:47
kettenisGlanzmann: no the file needs to be named efi/boot/bootaa64.efi
#asahi · 2022-01-03 11:41
kettenisamw: no need for that
#asahi · 2022-01-03 11:41
kettenisso if you're looking at it from linux it will have the path where the esp is mounted before that
#asahi · 2022-01-03 11:40
kettenisbut that's on the efi system partition
#asahi · 2022-01-03 11:39
kettenisneeds to be in efi/boot/bootaa64.efi
#asahi · 2022-01-03 11:35
kettenisany decent linux distro that supports "generic" arm64 will install an EFI bootloader for you and will probably even create an EFI system partition if one doesn't already exist
#asahi · 2022-01-03 11:33
kettenisfrankly, this is all a solved problem
#asahi · 2022-01-03 11:26
kettenislandscape15[m]: what ahppens with embedded devices is retarded
#asahi · 2022-01-03 11:22
kettenisFound EFI removable media binary efi/boot/bootaa64.efi
#asahi · 2022-01-03 11:22
kettenisGlanzmann: u-boot will print
#asahi · 2022-01-03 10:50
kettenisI didn't import the t6000 dts files yet on that branch since it doesn't work yet
#asahi · 2022-01-03 10:30
kettenisso they should work
#asahi · 2022-01-03 10:30
kettenisbut they're based on the asahi and wifi/take5 branches
#asahi · 2022-01-03 10:29
kettenisthere are a few tweaks in the u-boot dtbs
#asahi · 2022-01-03 10:21
kettenisamw: yes
#asahi · 2022-01-03 10:14
kettenisso maybe I should fix it that way on the branch as well

plus ›