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>
Showing
- Makefile 12 additions, 2 deletionsMakefile
- arch/arm/Kconfig 1 addition, 0 deletionsarch/arm/Kconfig
- arch/arm/dts/rk3036-u-boot.dtsi 2 additions, 0 deletionsarch/arm/dts/rk3036-u-boot.dtsi
- arch/arm/dts/rk3188-u-boot.dtsi 2 additions, 0 deletionsarch/arm/dts/rk3188-u-boot.dtsi
- arch/arm/dts/rk3288-u-boot.dtsi 2 additions, 0 deletionsarch/arm/dts/rk3288-u-boot.dtsi
- arch/arm/dts/rockchip-u-boot.dtsi 21 additions, 0 deletionsarch/arm/dts/rockchip-u-boot.dtsi
- configs/phycore-rk3288_defconfig 0 additions, 2 deletionsconfigs/phycore-rk3288_defconfig
- include/configs/rockchip-common.h 3 additions, 0 deletionsinclude/configs/rockchip-common.h
Loading
Please register or sign in to comment