]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3328: Add support to build bootable SPI image
authorJonas Karlman <jonas@kwiboo.se>
Sat, 17 Feb 2024 00:22:39 +0000 (00:22 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 03:40:48 +0000 (11:40 +0800)
commitc60b835be28a9d6d7a03a64b42a922c08e62530d
tree7d3370e1ebece6f2b4d48dae38b6d67e24b3d49a
parent2f440ffb1d26e07f14e1d0341ceadfa374bdf8e3
rockchip: rk3328: Add support to build bootable SPI image

Similar to RK35xx the BootRom in RK3328 can read all data and look for
idbloader at 0x8000, same as it does for SD and eMMC.

Use the rksd format and modify the mkimage offset to generate a bootable
u-boot-rockchip-spi.bin that can be written to 0x0 of SPI NOR flash.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3328-u-boot.dtsi
arch/arm/mach-rockchip/rk3328/rk3328.c