пт, 10 янв. 2020 г. в 12:39, Simon Glass <sjg@xxxxxxxxxxxx>: > > Hi Jagan, > > On Sat, 4 Jan 2020 at 21:38, Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> > > Cc: Matwey V. Kornilov <matwey.kornilov@xxxxxxxxx> > > Signed-off-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> > > Reviewed-by: Kever Yang <kever.yang@xxxxxxxxxxxxxx> > > --- > > 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 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-rockchip