rockchip: Add Single boot image (with binman, pad_cat)
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 9 Jan 2020 18:46:21 +0000 (00:16 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000 (11:44 +0800)
commit79030a486128bdb6888059113711a6ae66ff89c5
treee9ac9126115f9b2ac0beb403536d23793342afa6
parenta1b75cf94141b2dd9806224b95ea21d025ef06a4
rockchip: Add Single boot image (with binman, pad_cat)

All rockchip platforms support TPL or SPL-based bootloader
in mainline with U-Boot proper as final stage. For each
stage we need to burn the image on to flash with respective
offsets.

This patch creates a single boot image component using
- binman, for arm32 rockchip platforms
- pad_cat, for arm64 rockchip platforms.

This would help users to get rid of burning different
boot stage images.

The new image called 'u-boot-rockchip.bin'
which can burn into flash like:

₹ sudo dd if=u-boot-rockchip.bin of=/dev/sda seek=64

This would support all rockchip platforms, except rk3128
since it doesn't support for SPL yet.

Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Cc: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Makefile
arch/arm/Kconfig
arch/arm/dts/rk3036-u-boot.dtsi
arch/arm/dts/rk3188-u-boot.dtsi
arch/arm/dts/rk3288-u-boot.dtsi
arch/arm/dts/rockchip-u-boot.dtsi [new file with mode: 0644]
configs/phycore-rk3288_defconfig
include/configs/rockchip-common.h