Default to UEFI bootloader?

Discussion about U-Boot and the kernel.

Default to UEFI bootloader?

Postby adam900710 » Fri Aug 19, 2022 12:32 am

Hi,

Recently I'm doing a lot of different kernel testing on my RK3399 and CM4 boards, thus switching kernel is almost a daily job.

But unfortunately Uboot itself doesn't really provide a good way to switch different kernel/initramfs.

Thus later on I'm using systemd-boot as the default 2nd stage bootloader, removing all the existing boot.csr/extlinux, making U-boot to default load EFI/BOOT/BOOTAA64.EFI, then just like systemd-boot on x86_64, with a good TUI menu to select kernel/initramfs.

Recently (months ago) systemd-boot also added the "devicetree" key to properly load fdt, making it much better suited for AArch64 boards.

Thus I'm wondering can we get rid of the "U-boot -> kernel" boot sequence with its somewhat complex scripts, to a more unified"U-boot -> systemd-boot -> kernel" solution?
Especially for newer boards like RK3588, they provide UEFI environment by default.

Thanks.
adam900710
 
Posts: 44
Joined: Thu Sep 13, 2012 1:27 pm

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 7 guests