diff mbox series

[meta-raspberrypi,3/3] raspberrypi5.conf: Fix KERNEL_IMAGETYPE_UBOOT

Message ID 32cdeae038c317a1e9891600752e13a3c95f8d47.1712518899.git.tim.orling@konsulko.com
State New
Headers show
Series [meta-raspberrypi,1/3] layer.conf: rpi5 recommends lts-u-boot-mixin | expand

Commit Message

Tim Orling April 7, 2024, 7:54 p.m. UTC
Similar to raspberrypi4-64.conf, we need to set KERNEL_IMAGETYPE_UBOOT to
"Image" and set KERNEL_BOOTCMD to "booti"

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 conf/machine/raspberrypi5.conf | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/conf/machine/raspberrypi5.conf b/conf/machine/raspberrypi5.conf
index e53c2d5..03f15c3 100644
--- a/conf/machine/raspberrypi5.conf
+++ b/conf/machine/raspberrypi5.conf
@@ -22,7 +22,11 @@  SERIAL_CONSOLES ?= "115200;ttyAMA10"
 
 VC4DTBO ?= "vc4-kms-v3d"
 
+# When u-boot is enabled we need to use the "Image" format and the "booti"
+# command to load the kernel
+KERNEL_IMAGETYPE_UBOOT ?= "Image"
 # "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet
 KERNEL_IMAGETYPE_DIRECT ?= "Image"
+KERNEL_BOOTCMD ?= "booti"
 
 UBOOT_MACHINE = "rpi_arm64_config"