#
✕ nick:amw
#asahi · 2022-01-03 12:18
amwHe said mps loaded grub (or at least enough to get grub-rescue) but your's is not getting the grub at all
#asahi · 2022-01-03 12:18
amwGlanzmann: Did you see j'ey message that your problem is different to mps's?
#asahi · 2022-01-03 12:16
amwI'm not planning to boot up m1n1 + u-boot until I get a 2nd m1n1 partition for experimenting
#asahi · 2022-01-03 12:16
amwGlanzmann: Still not loading the grub ? I also did a update-grub after installing my linux just to tweak the grub config to the kernel
#asahi · 2022-01-03 12:01
amwmps: ok - you've built you own u-boot with your EFI boot path EFI/boot/bootaa64.efi it loads, what's the grubaa64.efi used for?
#asahi · 2022-01-03 11:57
amwmps: Does yours work - it doesn't look like it could have the expected path for u-boot to find grubaa64.efi ?
#asahi · 2022-01-03 11:56
amwSo kettenis's u-boot wants efi/boot/bootaa64.efi on the EPS partition
#asahi · 2022-01-03 11:52
amwok - it doesn't have those filenames in the strings of bootaa64.efi
#asahi · 2022-01-03 11:49
amwGlanzmann: Won't it also want all the other files next to it in the same directory?
#asahi · 2022-01-03 11:46
amwgrub-install /dev/nvme0n1p8 - isn't creating a /boot/efi/bootaa64.efi under debian bullseye?
#asahi · 2022-01-03 11:45
amwI get a bunch of files - https://paste.debian.net/1225660/ including /boot/efi/debian/BOOTAA64.CSV
#asahi · 2022-01-03 11:40
amwgrub also has --dtb=FILE option to embed a DTB - presumably don't need that?
#asahi · 2022-01-03 11:39
amwgrub-install has --target option arm-uboot as well as arm64-efi
#asahi · 2022-01-03 11:11
amwI think MacOS diskutil must re-order the partitions in the GPT?
#asahi · 2022-01-03 11:10
amwIs it ok to GPT partitions not ordered by sector? i.e. I used fdisk to add a ESP partition out of the free space just before the Mac Recovery partition and it is numbered 8 (Recovery is 7)?
#asahi · 2022-01-03 10:45
amwDoes "applied" mean patched or just passed across?
#asahi · 2022-01-03 10:43
amwSo the m1n1 dtb is passed through u-boot to the linux ?
#asahi · 2022-01-03 10:43
amwok - from u-boot/tools/binman/etype/u_boot_ucode.py: Contains u-boot-nodtb.bin (i.e. U-Boot without the device tree).
#asahi · 2022-01-03 10:30
amwj`ey: I was burnt by that a couple times ...
#asahi · 2022-01-03 10:30
amwlandscape15[m]: Are you compiling for x86 ? that has the CONFIG_CMDLINE_BOOL but arm64 doesn't
#asahi · 2022-01-03 10:26
amwMy linux also has CONFIG_CMDLINE_FROM_BOOTLOADER=y - I assume that is harmless...
#asahi · 2022-01-03 10:25
amwlandscape15[m]: It's in my "Boot options" section before CONFIG_EFI_STUB=y
#asahi · 2022-01-03 10:21
amwOk - I think the CONFIG_CMDLINE above was for Linux as u-boot seems to just have =y in the .config
#asahi · 2022-01-03 10:13
amwGlanzmann: Yes sorry - I compiled it on the M1 - so no cross compiling for me
#asahi · 2022-01-03 10:12
amwSo more like CONFIG_CMDLINE="earlycon console=tty0 console=tty0 debug net.ifnames=0 rw root=/dev/nvme0n1p6 rootfstype=ext4" ?
#asahi · 2022-01-03 10:10
amwkettenis: Yep I have a arch/arm/dts/t8103-j313.dtb but I think "make DEVICE_TREE=t8103-j313" builds that and doesn't complain
#asahi · 2022-01-03 10:06
amwSee https://paste.debian.net/1225653/ for errors
#asahi · 2022-01-03 10:05
amwWants a DEVICE_TREE=<> argument? or CONFIG_DEFAULT_DEVICE_TREE
#asahi · 2022-01-03 10:04
amwu-boot building : make apple_m1_defconfig; make : fails at DTC stage
#asahi · 2022-01-03 09:40
amwok - I'm reading https://en.wikipedia.org/wiki/EFI_system_partition
#asahi · 2022-01-03 09:38
amwSorry ESP I mean
#asahi · 2022-01-03 09:38
amwmps: So I create a new FAT32 partition and set it's GPT GUID to EFI
#asahi · 2022-01-03 09:36
amwmps: How do I tell which partition is ESP? My first partition is APFS...
#asahi · 2022-01-03 09:34
amwkettenis: Great!
#asahi · 2022-01-03 09:33
amwIs it possible to patch the pcie_enable_devices into m1n1 ?
#asahi · 2022-01-03 09:32
amwmps: What works in your u-boot : Wifi, keyboard ?
#asahi · 2022-01-03 09:31
amwGlanzmann: I'm very happy with laggy mouse and firefox - it's so fast anyway
#asahi · 2022-01-03 09:30
amwmps: For my 2020 M1 mba it is t8103-j313
#asahi · 2022-01-03 05:45
amw0 frames dropped even at HD quality
#asahi · 2022-01-03 05:45
amwSamAdams[m]: YouTube is fine on my MBA / debian bullseye + firefox, my kernel is using CONFIG_DRM_SIMPLEDRM=y and X pkg is xserver-xorg-video-fbdev
#asahi · 2022-01-02 12:47
amwI'm afraid I have to go to bed - those notes say grub rescue> => grub can't find the grub folder
#asahi · 2022-01-02 12:44
amwIs that (hd1,gpt1) ?
#asahi · 2022-01-02 12:44
amwIf your grub is on the EFI - shouldn't the partition it wants be FAT32 ?
#asahi · 2022-01-02 12:43
amwmps: That's better than unknown filesystem :-}
#asahi · 2022-01-02 12:37
amwTry ls (hd1,gpt5) - if your linux on 5th partition?
#asahi · 2022-01-02 12:36
amw*Use
#asahi · 2022-01-02 12:36
amwIn particular those notes say "set prefix=(hdX,Y)/boot/grub => se the actual location of the grub folder"
#asahi · 2022-01-02 12:35
amwDid the "ls /" show anything?
#asahi · 2022-01-02 12:35
amwThere's alot of other stuff there that looks useful too
#asahi · 2022-01-02 12:34
amwAccording to https://help.ubuntu.com/community/Grub2/Troubleshooting it's "boot"

plus ›