mk_mmc.sh: u-boot, add option for u-boot fdt variable name

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent 17bd5da2b7
commit 29ca2f5a24

@ -391,6 +391,11 @@ boot_uenv_txt_template () {
__EOF__
fi
if [ "${uboot_fdt_variable_name}" ] ; then
sed -i -e 's:fdtfile:'$uboot_fdt_variable_name':g' ${TEMPDIR}/bootscripts/normal.cmd
sed -i -e 's:fdtfile:'$uboot_fdt_variable_name':g' ${TEMPDIR}/bootscripts/netinstall.cmd
fi
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
boot_fdt=run loadkernel; run loadinitrd; run loadfdt

Loading…
Cancel
Save