u-boot v2011.09-rc1: newer builds of uboot with MLO look for u-boot.img vs u-boot.bin

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 8e0e58a9fa
commit ff8d8f8925

@ -663,11 +663,19 @@ mkdir ${TEMPDIR}/disk
sudo mount ${MMC}${PARTITION_PREFIX}1 ${TEMPDIR}/disk
if [ "${HASMLO}" ] ; then
sudo cp -v ${TEMPDIR}/dl/${MLO} ${TEMPDIR}/disk/MLO
if ls ${TEMPDIR}/dl/${MLO} >/dev/null 2>&1;then
sudo cp -v ${TEMPDIR}/dl/${MLO} ${TEMPDIR}/disk/MLO
fi
fi
if [ ! "${DO_UBOOT_DD}" ] ; then
sudo cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/u-boot.bin
if ls ${TEMPDIR}/dl/${UBOOT} >/dev/null 2>&1;then
if echo ${UBOOT} | grep img > /dev/null 2>&1;then
sudo cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/u-boot.img
else
sudo cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/u-boot.bin
fi
fi
fi
echo "uInitrd Installer"

Loading…
Cancel
Save