From a7b754bbae521667f3f25a8d53ad2946bd7016e4 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 29 Nov 2010 10:28:47 -0600 Subject: [PATCH] use serial.cmd if available Signed-off-by: Robert Nelson --- mk_mmc.sh | 3 +++ 1 file changed, 3 insertions(+) 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