Standardized EFI boot paths

Discussion about U-Boot and the kernel.

Standardized EFI boot paths

Postby dsx724 » Sat Jul 17, 2021 5:12 pm

Is there any plans for the generic images to switch to standardized EFI boot paths?

Eg.
/boot/bootaa64.efi
/boot/bootarm.efi

Current I am rewriting the boot manually through an u-boot script but this is a non-standard way.

In https://archlinuxarm.org/platforms/armv8/generic, it mentions:
The kernel package (linux-aarch64) provides both an EFI-stubbed Image file that can be directly booted, along with an Image.gz, located in /boot.
However I did not see any EFI-stubbed image files. Does it mean we should decompress Image.gz and use that?
dsx724
 
Posts: 1
Joined: Sat Jul 17, 2021 4:54 pm

Re: Standardized EFI boot paths

Postby mxr » Thu Jul 29, 2021 12:31 pm

Image (the dekompressed Image.gz) has a EFI Stub.The Linux kernel does not have decompression support for Aarch64.
Btw. your standardized EFI path are wrong. /EFI/boot/boot{aa64,arm}.efi is the default one.

As a side note the most sensible way that archlinuxarm should handle this is to do it the same way as upstream Arch. Provide a /usr/lib/modules/$(uname -r)/vmlinu{x,z} and use a pacman hook to move it to the efi boot partition.
mxr
 
Posts: 8
Joined: Sat Mar 27, 2021 1:32 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 4 guests