Skip to content

Draft: redhat/configs: automotive: Set CONFIG_EFI_ARMSTUB_DTB_LOADER

JIRA: https://issues.redhat.com/browse/RHEL-45551

Testing Instructions: Prior to this change, you'd see this if you add say dtb=k3-j784s4-evm.dtb to the kernel command line in grub (or however you wish):

EFI stub: Decompressing Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: ERROR: Ignoring DTB from command line.
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...

After this change, assuming the dtb specified exists you'll see:

EFI stub: Decompressing Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Using DTB from command line
EFI stub: Exiting boot services...

do note that without passing the EFI stub an initrd= to your initramfs, you will lose any prior loaded initramfs by say grub (since it puts the initramfs memory address into the dtb, and that dtb is being overridden by the EFI stub).

Signed-off-by: Andrew Halaney ahalaney@redhat.com

Edited by Andrew Halaney

Merge request reports