]> Git Repo - J-u-boot.git/commit - tools/rkcommon.h
rockchip: mkimage: support packing optional second level boot-loader
authorJeffy Chen <[email protected]>
Fri, 27 Dec 2019 03:24:41 +0000 (11:24 +0800)
committerKever Yang <[email protected]>
Fri, 27 Dec 2019 07:17:07 +0000 (15:17 +0800)
commiteea6cd8d7c41df5f7118ac4fb1e9e375eb04c4eb
tree20705ff63626513ce8f4765aefbc527982f34e2f
parentdcdea292d9f3434bf5940338cfacc64cd5bd4444
rockchip: mkimage: support packing optional second level boot-loader

Support packing optional second level boot-loader:

$ ./tools/mkimage -n rk3399 -T rksd -d \
  rk3399_ddr_800MHz_v1.24.bin:rk3399_miniloader_v1.19.bin out -v
Adding Image rk3399_ddr_800MHz_v1.24.bin
Size 116492(pad to 116736)
Adding Image rk3399_miniloader_v1.19.bin
Size 88060(pad to 88064)
Image Type:   Rockchip RK33 (SD/MMC) boot image
Init Data Size: 116736 bytes
Boot Data Size: 88064 bytes

Mainly parse init file and boot file from datafile option, copy them to
the image with 2KB alignment.

Signed-off-by: Jeffy Chen <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
tools/imagetool.h
tools/mkimage.c
tools/rkcommon.c
tools/rkcommon.h
tools/rksd.c
tools/rkspi.c
This page took 0.033672 seconds and 4 git commands to generate.