All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip] [PATCH v3] rk3288: use u-boot.img as bootloader image
@ 2025-11-08 22:56 Peter Shkenev
  2025-11-10  9:44 ` [yocto-patches] " Quentin Schulz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Shkenev @ 2025-11-08 22:56 UTC (permalink / raw)
  To: yocto-patches; +Cc: twoerner, Peter Shkenev

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 --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"
-- 
2.51.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-11-24 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-08 22:56 [meta-rockchip] [PATCH v3] rk3288: use u-boot.img as bootloader image Peter Shkenev
2025-11-10  9:44 ` [yocto-patches] " Quentin Schulz
2025-11-14 14:53 ` Trevor Woerner
2025-11-14 15:01   ` Trevor Woerner
2025-11-24 13:19     ` [yocto-patches] " Quentin Schulz
2025-11-14 16:00 ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.