wrapper: another board needs the boot.scr to uEnv.txt wrapper

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent 721f422b2a
commit 8c78513df9

@ -1227,6 +1227,8 @@ populate_boot () {
fi fi
if [ "${conf_uboot_bootscript}" ] ; then if [ "${conf_uboot_bootscript}" ] ; then
case "${conf_fdtfile}" in
imx6q-sabrelite.dtb)
cat > ${TEMPDIR}/bootscripts/loader.cmd <<-__EOF__ cat > ${TEMPDIR}/bootscripts/loader.cmd <<-__EOF__
echo "${conf_uboot_bootscript} -> uEnv.txt wrapper..." echo "${conf_uboot_bootscript} -> uEnv.txt wrapper..."
#boundarydevices.com uses disk over mmcdev #boundarydevices.com uses disk over mmcdev
@ -1242,6 +1244,8 @@ populate_boot () {
echo "-----------------------------" echo "-----------------------------"
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "wrapper" -d ${TEMPDIR}/bootscripts/loader.cmd ${TEMPDIR}/disk/${conf_uboot_bootscript} mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "wrapper" -d ${TEMPDIR}/bootscripts/loader.cmd ${TEMPDIR}/disk/${conf_uboot_bootscript}
cp -v ${TEMPDIR}/disk/${conf_uboot_bootscript} ${TEMPDIR}/disk/backup/${conf_uboot_bootscript} cp -v ${TEMPDIR}/disk/${conf_uboot_bootscript} ${TEMPDIR}/disk/backup/${conf_uboot_bootscript}
;;
esac
fi fi
echo "Copying uEnv.txt based boot scripts to Boot Partition" echo "Copying uEnv.txt based boot scripts to Boot Partition"

Loading…
Cancel
Save