uboot: ftd autodetection, simplify

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent d6ba8334bf
commit 0194331f9d

@ -19,7 +19,7 @@ boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load" uboot_CMD_LOAD="load"
uboot_fdt_auto_detection="enabled" uboot_fdt_auto_detection=1
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp

@ -19,7 +19,7 @@ boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load" uboot_CMD_LOAD="load"
uboot_fdt_auto_detection="enabled" uboot_fdt_auto_detection=1
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp

@ -19,7 +19,7 @@ boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load" uboot_CMD_LOAD="load"
uboot_fdt_auto_detection="enabled" uboot_fdt_auto_detection=1
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp

@ -326,10 +326,10 @@ function dl_netinstall_image {
function boot_uenv_txt_template { function boot_uenv_txt_template {
#Start with a blank state: #Start with a blank state:
echo "" > ${TEMPDIR}/bootscripts/normal.cmd echo "#Normal Boot" > ${TEMPDIR}/bootscripts/normal.cmd
echo "" > ${TEMPDIR}/bootscripts/netinstall.cmd echo "#Debian Installer only Boot" > ${TEMPDIR}/bootscripts/netinstall.cmd
if [ "${need_dtbs}" ] && [ "x${uboot_fdt_auto_detection}" != "xenabled" ]; then if [ "${need_dtbs}" ] && [ ! "${uboot_fdt_auto_detection}" ] ; 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

Loading…
Cancel
Save