On Sun, May 15, 2016 at 11:39:39AM +0200, Steinar H. Gunderson wrote:
> Debian ships a package “grub-efi-arm-bin” that's supposed to contain an .efi
> image (and “grub-efi-arm” that wraps in some /etc/kernel hooks), and U-Boot
> is set up to search for it, but all it contains are the GRUB modules -- the
> actual .efi file (/efi/boot/bootarm.elf on the bootable partition) is nowhere
> to be seen.

I can confirm that if I build the .efi manually, it does indeed work and
boot a working GRUB (given an appropriate device tree already in /boot/dtbs):
  
  root@soldroid:~/grub2-2.02~beta2# debian/build-efi-images 
obj/grub-efi-arm/grub-mkimage obj/grub-efi-arm/grub-core outdir/ arm-efi arm
  mkfs.fat 4.0 (2016-05-06)
  mkfs.fat 4.0 (2016-05-06)
  root@soldroid:~/grub2-2.02~beta2# ls -l outdir
  total 1817
  -rw-r--r-- 1 root root 632832 May 15 12:41 gcdarm.efi
  -rw-r--r-- 1 root root 589312 May 15 12:41 grubarm.efi
  -rw-r--r-- 1 root root 637440 May 15 12:41 grubnetarm.efi
  root@soldroid:~/grub2-2.02~beta2# mkdir -p /boot/efi/boot/
  root@soldroid:~/grub2-2.02~beta2# cp outdir/grubarm.efi 
/boot/efi/boot/bootarm.elf

So the software does really handle it, it just needs activation from the
packaging.

/* Steinar */
-- 
Homepage: https://www.sesse.net/

Reply via email to