The legacy chips like rk3188 maskrom require all IDB data with RC4,
the boot_merger pack the loader with a rc4 flag in header,
and the upgrade_tool will write the data with rc4 to IDB area.
usage:
boot_merger --rc4 RKBOOT/RK310BMINIALL.ini
Change-Id: I7788011885f153046117f193c9c9cbabe725eefa
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Usually, it must be at 512kb align due to preloader detects every 512kb.
But some product has critial flash size requirement, we have to make it
small than 512KB.
Change-Id: If493ce1b680ebaa07a490dda7488b41b4e012902
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
0x0 is valid load address which is used in 32-bit platforms.
Change-Id: I851b870651596e1d1bdeff59a037c13b428cd36c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
With this command, we can assign image size.
command format: --size [per image KB size] [copy count]
[per image KB size]: per copy image size(unit KB), should be 512Kb align;
[copy count]: copies count to pack;
Change-Id: I43c075c4b5018ed4f7af2966a07af73c974cde39
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
The v1.33 upgrade_tool supports gpt parameter flashing, usage:
$ sudo ./tools/upgrade_tool di -p ./tools/parameter_gpt.txt
Then it would write gpt table to emmc.
Change-Id: I6c4668d0405c880030cf4dfcc291caa62f23cf14
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>