diff mbox series

[meta-rockchip,v3] rk3288: use u-boot.img as bootloader image

Message ID 20251108225641.171832-1-mustela@erminea.space
State New
Headers show
Series [meta-rockchip,v3] rk3288: use u-boot.img as bootloader image | expand

Commit Message

Peter Shkenev Nov. 8, 2025, 10:56 p.m. UTC
Currently, u-boot.bin is used for supported rk3288-based boards. But on
some boards, such as tinker-board, it can not be loaded, since
u-boot.bin is raw and those boards have raw image support
(CONFIG_SPL_RAW_IMAGE_SUPPORT) disabled in favour of FIT images.

Use u-boot.img which is FIT when FIT support is enabled, and raw
otherwise.

Also add a note that u-boot.itb should be used if one wantes to utilize
OP-TEE.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>

Signed-off-by: Peter Shkenev <mustela@erminea.space>
---
 conf/machine/include/rk3288.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/conf/machine/include/rk3288.inc b/conf/machine/include/rk3288.inc
index a648b44..00cc04b 100644
--- a/conf/machine/include/rk3288.inc
+++ b/conf/machine/include/rk3288.inc
@@ -13,6 +13,7 @@  SERIAL_CONSOLES = "115200;ttyS2"
 KBUILD_DEFCONFIG ?= "multi_v7_defconfig"
 KERNEL_FEATURES:append:rk3288 = " bsp/rockchip/remove-non-rockchip-arch-arm.scc"
 
-UBOOT_SUFFIX ?= "bin"
+# Set UBOOT_SUFFIX to "itb" if you are going to use OP-TEE
+UBOOT_SUFFIX ?= "img"
 
 ENABLE_STATELESS_VPU_GST ?= "1"