Amlogic: also update u-boot on /dev/mmcblk0 if this is not the boot device
This commit is contained in:
parent
5b9f168293
commit
c47fcce54e
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ fi
|
|||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/${SUBDEVICE}_u-boot ]; then
|
||||
echo "Updating u-boot on: $BOOT_DISK..."
|
||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/${SUBDEVICE}_u-boot of=$BOOT_DISK conv=fsync,notrunc bs=512 seek=1 &>/dev/null
|
||||
if [ $BOOT_DISK != /dev/mmcblk0 ]; then
|
||||
echo "Updating u-boot on: /dev/mmcblk0..."
|
||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/${SUBDEVICE}_u-boot of=/dev/mmcblk0 conv=fsync,notrunc bs=512 seek=1 &>/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f $BOOT_ROOT/ODROIDBIOS.BIN ]; then
|
||||
|
|
Loading…
Reference in a new issue