Skip to contentSkip to conversation

Enable building of u-boot.itb on Rockchip RK3328 platforms.

PATCH New Vagrant Cascadian 2 participants 2 messages Oct 17, 2019 – Oct 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable building of u-boot.itb on Rockchip RK3328 platforms.

The instructions in doc/README.rockchip for installing rock64-rk3328 make use of u-boot.itb, but it is not built by default.

Add u-boot.itb to BUILD_TARGET for RK3328 platforms.

---

 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Kconfig +1 -1
index 66b059f749..16491de83d 100644
@@ -253,7 +253,7 @@ config BUILD_TARGET
 	default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
 	default "u-boot-elf.srec" if RCAR_GEN3
 	default "u-boot.itb" if SPL_LOAD_FIT && (ROCKCHIP_RK3399 || \
-				ARCH_SUNXI || RISCV)
+				ARCH_SUNXI || RISCV || ROCKCHIP_RK3328)
 	default "u-boot.kwb" if KIRKWOOD
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
 	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 Enable building of u-boot.itb on Rockchip RK3328 platforms.【请注意,邮件由[email protected]代发】

Hi Vagrant,

Quoted 16 lines · Vagrant Cascadian

The instructions in doc/README.rockchip for installing rock64-rk3328 make use of u-boot.itb, but it is not built by default.

Add u-boot.itb to BUILD_TARGET for RK3328 platforms.

---

  Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Kconfig +0 -0
index 66b059f749..16491de83d 100644

Kconfig config BUILD_TARGET · line 256

Quoted 5 lines
Kconfig +1 -1
@@ -253,7 +253,7 @@ config BUILD_TARGET
  	default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
  	default "u-boot-elf.srec" if RCAR_GEN3
  	default "u-boot.itb" if SPL_LOAD_FIT && (ROCKCHIP_RK3399 || \
-				ARCH_SUNXI || RISCV)
+				ARCH_SUNXI || RISCV || ROCKCHIP_RK3328)

It will be better to use ARCH_ROCKCHIP, because other SoC like RK3368 may also need this.

Thanks,

- Kever

Quoted 3 lines
Kconfig +0 -0
  	default "u-boot.kwb" if KIRKWOOD
  	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
  	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL