diff --git a/mk_mmc.sh b/mk_mmc.sh index 5fc5a26..28ada6b 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -437,6 +437,9 @@ sudo mount -o remount,rw /boot/uboot if ls /boot/uboot/boot.cmd >/dev/null 2>&1;then sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d /boot/uboot/boot.cmd /boot/uboot/boot.scr fi +if ls /boot/uboot/serial.cmd >/dev/null 2>&1;then +sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d /boot/uboot/serial.cmd /boot/uboot/boot.scr +fi sudo cp /boot/uboot/boot.scr /boot/uboot/boot.ini if ls /boot/uboot/user.cmd >/dev/null 2>&1;then sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Reset Nand" -d /boot/uboot/user.cmd /boot/uboot/user.scr