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,12 +663,20 @@ mkdir ${TEMPDIR}/disk
sudo mount ${MMC}${PARTITION_PREFIX}1 ${TEMPDIR}/disk
if [ "${HASMLO}" ] ; then
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
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"
sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net

Loading…
Cancel
Save