[PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat)
Matwey V. Kornilov
matwey.kornilov at gmail.com
Fri Jan 10 10:42:03 CET 2020
пт, 10 янв. 2020 г. в 12:39, Simon Glass <sjg at chromium.org>:
>
> Hi Jagan,
>
> On Sat, 4 Jan 2020 at 21:38, Jagan Teki <jagan at amarulasolutions.com> wrote:
> >
> > 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
>
> How about adding the initial 64 blocks into the image too, so the seek
> isn't needed?
>
It will break partition tables on the target device.
> > This would support all rockchip platforms, except rk3128
> > since it doesn't support for SPL yet.
> >
> > Cc: Kever Yang <kever.yang at rock-chips.com>
> > Cc: Matwey V. Kornilov <matwey.kornilov at gmail.com>
> > Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> > Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
> > ---
> > Makefile | 14 ++++++++++++--
> > arch/arm/Kconfig | 1 +
> > arch/arm/dts/rk3036-u-boot.dtsi | 2 ++
> > arch/arm/dts/rk3288-u-boot.dtsi | 2 ++
> > arch/arm/dts/rockchip-u-boot.dtsi | 21 +++++++++++++++++++++
> > include/configs/rockchip-common.h | 3 +++
> > 6 files changed, 41 insertions(+), 2 deletions(-)
> > create mode 100644 arch/arm/dts/rockchip-u-boot.dtsi
>
> Regards,
> Simon
--
With best regards,
Matwey V. Kornilov
More information about the U-Boot
mailing list