dt: make sure initrd_high & fdt_high are set, fixes dt-panda

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 11 years ago
parent 6d90075170
commit b758659a11

@ -320,17 +320,27 @@ boot_uenv_txt_template () {
echo "#Normal Boot" > ${TEMPDIR}/bootscripts/normal.cmd echo "#Normal Boot" > ${TEMPDIR}/bootscripts/normal.cmd
echo "#Debian Installer only Boot" > ${TEMPDIR}/bootscripts/netinstall.cmd echo "#Debian Installer only Boot" > ${TEMPDIR}/bootscripts/netinstall.cmd
if [ "${need_dtbs}" ] && [ ! "${uboot_fdt_auto_detection}" ] ; then if [ "${need_dtbs}" ] ; then
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
initrd_high=0xffffffff initrd_high=0xffffffff
fdt_high=0xffffffff fdt_high=0xffffffff
fdtfile=${conf_fdtfile}
__EOF__ __EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
initrd_high=0xffffffff initrd_high=0xffffffff
fdt_high=0xffffffff fdt_high=0xffffffff
__EOF__
fi
if [ "${need_dtbs}" ] && [ ! "${uboot_fdt_auto_detection}" ] ; then
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
fdtfile=${conf_fdtfile}
__EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
fdtfile=${conf_fdtfile} fdtfile=${conf_fdtfile}
__EOF__ __EOF__

Loading…
Cancel
Save