make.sh: support pack mcu.bin
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I0f7967e9bc969d9fe2452f070a8b597f40697b9f
This commit is contained in:
parent
eee9fb0aea
commit
61481586b4
5
make.sh
5
make.sh
|
|
@ -509,6 +509,7 @@ function pack_uboot_itb_image()
|
||||||
else
|
else
|
||||||
tos_image=`sed -n "/TOS=/s/TOS=//p" $ini |tr -d '\r'`
|
tos_image=`sed -n "/TOS=/s/TOS=//p" $ini |tr -d '\r'`
|
||||||
tosta_image=`sed -n "/TOSTA=/s/TOSTA=//p" $ini |tr -d '\r'`
|
tosta_image=`sed -n "/TOSTA=/s/TOSTA=//p" $ini |tr -d '\r'`
|
||||||
|
mcu_image=`sed -n "/MCU=/s/MCU=//p" $ini |tr -d '\r'`
|
||||||
if [ $tosta_image ]; then
|
if [ $tosta_image ]; then
|
||||||
cp ${RKBIN}/${tosta_image} tee.bin
|
cp ${RKBIN}/${tosta_image} tee.bin
|
||||||
elif [ $tos_image ]; then
|
elif [ $tos_image ]; then
|
||||||
|
|
@ -518,6 +519,10 @@ function pack_uboot_itb_image()
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $mcu_image ]; then
|
||||||
|
cp ${RKBIN}/${mcu_image} mcu.bin
|
||||||
|
fi
|
||||||
|
|
||||||
tee_offset=`sed -n "/ADDR=/s/ADDR=//p" $ini |tr -d '\r'`
|
tee_offset=`sed -n "/ADDR=/s/ADDR=//p" $ini |tr -d '\r'`
|
||||||
if [ "$tee_offset" = "" ]; then
|
if [ "$tee_offset" = "" ]; then
|
||||||
tee_offset=0x8400000
|
tee_offset=0x8400000
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue