From 435026865d5b49a9abcf37452fefcab18cbf4727 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 24 Jul 2012 15:07:58 -0500 Subject: [PATCH] bootscript: the imx6 factory u-boot in flash is looking for 6q_bootscript Signed-off-by: Robert Nelson --- mk_mmc.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 0d1bd61..df89c23 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1163,9 +1163,9 @@ function populate_boot { fi fi - echo "Copying uEnv.txt based boot scripts to Boot Partition" + echo "Copying ${startup_script} based boot scripts to Boot Partition" echo "Net Install Boot Script:" - cp -v ${TEMPDIR}/bootscripts/netinstall.cmd ${TEMPDIR}/disk/uEnv.txt + cp -v ${TEMPDIR}/bootscripts/netinstall.cmd ${TEMPDIR}/disk/${startup_script} echo "-----------------------------" cat ${TEMPDIR}/bootscripts/netinstall.cmd echo "-----------------------------" @@ -1186,6 +1186,7 @@ cp -v "${DIR}/dl/${DISTARCH}/${ACTUAL_DEB_FILE}" ${TEMPDIR}/disk/ load_addr=${load_addr} dtb_addr=${dtb_addr} dtb_file=${dtb_file} + startup_script=${startup_script} __EOF__ @@ -1457,6 +1458,8 @@ function is_omap { initrd_addr="0x81600000" load_addr="0x80008000" dtb_addr="0x815f0000" + startup_script="uEnv.txt" + boot_fstype="fat" SERIAL_CONSOLE="${SERIAL},115200n8" @@ -1488,6 +1491,8 @@ function is_imx { SERIAL_CONSOLE="${SERIAL},115200" SUBARCH="imx" + startup_script="uEnv.txt" + boot_fstype="fat" VIDEO_CONSOLE="console=tty0"