From 040a1c057fe99e6bf4cc4c56afaf86b9d431e0d6 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 29 Mar 2011 12:18:44 -0500 Subject: [PATCH] seperate out the old original Ax/Bx boards, as the latest u-boot has a new mmc feature that breaks them Signed-off-by: Robert Nelson --- mk_mmc.sh | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index f0482bb..41d6a23 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -30,7 +30,7 @@ unset BETA_KERNEL unset USB_ROOTFS unset PRINTK -SCRIPT_VERSION="1.05" +SCRIPT_VERSION="1.06" IN_VALID_UBOOT=1 MIRROR="http://rcn-ee.net/deb/" @@ -155,11 +155,17 @@ function dl_xload_uboot { fi case "$SYSTEM" in - beagle) + beagle_bx) MLO=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:1:MLO" | awk '{print $2}') UBOOT=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:1:UBOOT" | awk '{print $2}') + ;; + beagle) + + MLO=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:7:MLO" | awk '{print $2}') + UBOOT=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:7:UBOOT" | awk '{print $2}') + ;; panda) @@ -785,6 +791,13 @@ function check_uboot_type { unset DO_UBOOT case "$UBOOT_TYPE" in + beagle_bx) + + SYSTEM=beagle_bx + unset IN_VALID_UBOOT + DO_UBOOT=1 + + ;; beagle) SYSTEM=beagle @@ -875,7 +888,8 @@ Required Options: Unformated MMC Card --uboot - beagle - + beagle_bx - + beagle - panda - touchbook -