All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mkimage/rockchip: support packing optional second level boot-loader
@ 2019-12-05  7:48 Jeffy Chen
  2019-12-05  7:48 ` [PATCH 1/2] rockchip: mkimage: " Jeffy Chen
  2019-12-05  7:48 ` [PATCH 2/2] doc: rockchip: document packing second level loader with mkimage Jeffy Chen
  0 siblings, 2 replies; 4+ messages in thread
From: Jeffy Chen @ 2019-12-05  7:48 UTC (permalink / raw)
  To: u-boot


When enabling back-to-bootrom, the bootrom would continue to load the
second level boot-loader. And currently we are packing it by appending
the generated image manually (with a predefined max size):

./firefly-rk3288/tools/mkimage -n rk3288 -T rksd -d \
   firefly-rk3288/spl/u-boot-spl-dtb.bin out && \
   cat firefly-rk3288/u-boot-dtb.bin >> out

This series add support of packing optional second level loader with
mkimage tool:
./tools/mkimage -n rk3399 -T rksd -d \
    rk3399_ddr_800MHz_v1.24.bin:rk3399_miniloader_v1.19.bin out



Jeffy Chen (2):
  rockchip: mkimage: support packing optional second level boot-loader
  doc: rockchip: document packing second level loader with mkimage

 doc/README.rockchip |  11 +++
 tools/imagetool.h   |   1 +
 tools/mkimage.c     |   8 ++
 tools/rkcommon.c    | 236 +++++++++++++++++++++++++++++++++++++++++++---------
 tools/rkcommon.h    |  18 ++--
 tools/rksd.c        |  35 +-------
 tools/rkspi.c       |  42 ++++------
 7 files changed, 237 insertions(+), 114 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-05 15:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-05  7:48 [PATCH 0/2] mkimage/rockchip: support packing optional second level boot-loader Jeffy Chen
2019-12-05  7:48 ` [PATCH 1/2] rockchip: mkimage: " Jeffy Chen
2019-12-05 15:20   ` Kever Yang
2019-12-05  7:48 ` [PATCH 2/2] doc: rockchip: document packing second level loader with mkimage Jeffy Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.