|
|
|
@ -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
|
|
|
|
|