common: update rkflash.sh for download loader

Since Upgrade Tool v2.1 changed the ul property to reset by defauly.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I61f4e995872fb200f34caaefe8ee5b17dcebe9d1
This commit is contained in:
Caesar Wang
2022-01-19 19:45:30 +08:00
parent d68c345fa0
commit 2cc349ab3c

View File

@ -30,7 +30,7 @@ fi
if [ $FLASH_TYPE = all ] if [ $FLASH_TYPE = all ]
then then
$UPGRADETOOL ul $LOADER $UPGRADETOOL ul -noreset $LOADER
$UPGRADETOOL di -p $PARAMETER $UPGRADETOOL di -p $PARAMETER
$UPGRADETOOL di -uboot $UBOOT $UPGRADETOOL di -uboot $UBOOT
$UPGRADETOOL di -trust $TRUST $UPGRADETOOL di -trust $TRUST
@ -45,7 +45,7 @@ fi
if [ $FLASH_TYPE = tb ] if [ $FLASH_TYPE = tb ]
then then
$UPGRADETOOL ul $LOADER $UPGRADETOOL ul -noreset $LOADER
$UPGRADETOOL di -p $PARAMETER $UPGRADETOOL di -p $PARAMETER
$UPGRADETOOL di -uboot $UBOOT $UPGRADETOOL di -uboot $UBOOT
$UPGRADETOOL di -b $BOOT $UPGRADETOOL di -b $BOOT
@ -53,7 +53,7 @@ then
fi fi
if [ $FLASH_TYPE = norecovery ]; then if [ $FLASH_TYPE = norecovery ]; then
$UPGRADETOOL ul $LOADER $UPGRADETOOL ul -noreset $LOADER
$UPGRADETOOL di -p $PARAMETER $UPGRADETOOL di -p $PARAMETER
$UPGRADETOOL di -uboot $UBOOT $UPGRADETOOL di -uboot $UBOOT
$UPGRADETOOL di -trust $TRUST $UPGRADETOOL di -trust $TRUST