tools: burner_image_kits: Support boot_merge v1.2

Change-Id: I6d2945e2367bbe4505606e31f51806f92a278438
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2020-11-13 09:33:40 +08:00
parent 4083e39da7
commit 6f1360c8a3
6 changed files with 4 additions and 3 deletions

7
tools/burner_image_kits/make.sh Normal file → Executable file
View File

@@ -36,9 +36,9 @@ function is_miniloader_or_update_or_parameter()
ret=0
ls $1 | grep "MiniLoaderAll.bin" > /dev/null
if [ $? -eq 0 ] ;then
$boot_merger --unpack $1 > /dev/null
ddr=FlashData
spl=FlashBoot
$boot_merger unpack --loader $1 --output ./ > /dev/null
ddr=FlashData.bin
spl=FlashBoot.bin
gen_idblock $ddr $spl $src_path"/"idblock.img
is_img_and_gen_file_from_src_2_dst $src_path"/"idblock.img idblock.img
cat $dst_path"/"idblock.img >> $dst_path"/"idblocks.img
@@ -48,6 +48,7 @@ function is_miniloader_or_update_or_parameter()
rm $src_path"/"idblock*.img
rm $ddr
rm $spl
ret=1
fi

0
tools/burner_image_kits/make_slc_nand.sh Normal file → Executable file
View File

0
tools/burner_image_kits/make_spi_nand.sh Normal file → Executable file
View File

View File

0
tools/burner_image_kits/tools/rk_bch Normal file → Executable file
View File

0
tools/burner_image_kits/tools/transfer_4K_2_2K.sh Normal file → Executable file
View File