use: conf_uboot_CONFIG_CMD_FS_GENERIC to decide load vs fatload/ext2load

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 5e45006b22
commit bb3993e663

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
#conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 #conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
uboot_fdt_auto_detection=1 uboot_fdt_auto_detection=1
#Kernel: #Kernel:

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
#conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 #conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
uboot_fdt_auto_detection=1 uboot_fdt_auto_detection=1
#Kernel: #Kernel:

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
#conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 #conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
uboot_fdt_auto_detection=1 uboot_fdt_auto_detection=1
#Kernel: #Kernel:

@ -14,8 +14,8 @@ So, the plan for <device>.conf.. Ignore [] seperaters when creating your own *.c
[ABI2:BEAGLEBOARD_XM:BOOT http://rcn-ee.net/deb/tools/beagleboard/u-boot-beagleboard-v2012.10-r1.img] [ABI2:BEAGLEBOARD_XM:BOOT http://rcn-ee.net/deb/tools/beagleboard/u-boot-beagleboard-v2012.10-r1.img]
#Bootloader: #Bootloader:
conf_board="BEAGLEBONE_A" conf_board="BEAGLEBONE"
conf_bl_http="http://rcn-ee.net/deb/tools/latest/" conf_bl_http="http://rcn-ee.net/deb/tools/latest"
conf_bl_listfile="bootloader-ng" conf_bl_listfile="bootloader-ng"
[(3) Partition Setup] [(3) Partition Setup]
@ -23,23 +23,28 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
boot_partition_size="64" boot_partition_size="100"
spl_name="MLO" spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="loaduimage" uboot_SCRIPT_ENTRY="loaduimage"
uboot_CMD_LOAD="fatload"
[(3) Partition Setup] [(3) Partition Setup]
[imx and a mainline u-boot] [imx and a mainline u-boot]
@ -54,11 +59,9 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_image="bootz"
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="fatload"
[(4) Kernel Setup] [(4) Kernel Setup]
[Raw Deb file or:] [Raw Deb file or:]

@ -19,18 +19,23 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx #http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx

@ -19,18 +19,23 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx #http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx

@ -19,18 +19,23 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx #http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx

@ -17,18 +17,23 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx #http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
#conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="fatload"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
#conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="fatload"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap

@ -14,18 +14,23 @@ spl_name="MLO"
boot_name="u-boot.img" boot_name="u-boot.img"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="fat" boot_fstype="fat"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap #http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap

@ -19,18 +19,23 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx #http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx

@ -19,18 +19,23 @@ unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ #CONFIG_CMD_BOOTZ
#bootz & zImage #bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD #CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds #allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1 conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#Bootloader: u-boot settings #Bootloader: u-boot settings
boot_script="uEnv.txt" boot_script="uEnv.txt"
boot_fstype="ext2" boot_fstype="ext2"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
#Kernel: #Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx #http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx

@ -392,18 +392,18 @@ boot_uenv_txt_template () {
__EOF__ __EOF__
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
loadkernel=${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} ${conf_loadaddr} \${kernel_file} loadkernel=${conf_fileload} mmc \${mmcdev}:\${mmcpart} ${conf_loadaddr} \${kernel_file}
loadinitrd=${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} ${conf_initrdaddr} \${initrd_file}; setenv initrd_size \${filesize} loadinitrd=${conf_fileload} mmc \${mmcdev}:\${mmcpart} ${conf_initrdaddr} \${initrd_file}; setenv initrd_size \${filesize}
loadfdt=${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} ${conf_fdtaddr} /dtbs/\${fdtfile} loadfdt=${conf_fileload} mmc \${mmcdev}:\${mmcpart} ${conf_fdtaddr} /dtbs/\${fdtfile}
boot_classic=run loadkernel; run loadinitrd boot_classic=run loadkernel; run loadinitrd
boot_fdt=run loadkernel; run loadinitrd; run loadfdt boot_fdt=run loadkernel; run loadinitrd; run loadfdt
__EOF__ __EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
loadkernel=${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} ${conf_loadaddr} \${kernel_file} loadkernel=${conf_fileload} mmc \${mmcdev}:\${mmcpart} ${conf_loadaddr} \${kernel_file}
loadinitrd=${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} ${conf_initrdaddr} \${initrd_file}; setenv initrd_size \${filesize} loadinitrd=${conf_fileload} mmc \${mmcdev}:\${mmcpart} ${conf_initrdaddr} \${initrd_file}; setenv initrd_size \${filesize}
loadfdt=${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} ${conf_fdtaddr} /dtbs/\${fdtfile} loadfdt=${conf_fileload} mmc \${mmcdev}:\${mmcpart} ${conf_fdtaddr} /dtbs/\${fdtfile}
boot_classic=run loadkernel; run loadinitrd boot_classic=run loadkernel; run loadinitrd
boot_fdt=run loadkernel; run loadinitrd; run loadfdt boot_fdt=run loadkernel; run loadinitrd; run loadfdt
@ -1219,7 +1219,7 @@ populate_boot () {
if [ "${boot_scr_wrapper}" ] ; then if [ "${boot_scr_wrapper}" ] ; then
cat > ${TEMPDIR}/bootscripts/loader.cmd <<-__EOF__ cat > ${TEMPDIR}/bootscripts/loader.cmd <<-__EOF__
echo "boot.scr -> uEnv.txt wrapper..." echo "boot.scr -> uEnv.txt wrapper..."
${uboot_CMD_LOAD} mmc \${mmcdev}:\${mmcpart} \${loadaddr} uEnv.txt ${conf_fileload} mmc \${mmcdev}:\${mmcpart} \${loadaddr} uEnv.txt
env import -t \${loadaddr} \${filesize} env import -t \${loadaddr} \${filesize}
run ${uboot_SCRIPT_ENTRY} run ${uboot_SCRIPT_ENTRY}
__EOF__ __EOF__
@ -1425,6 +1425,16 @@ process_dtb_conf () {
conf_normal_initrd_file=uInitrd conf_normal_initrd_file=uInitrd
conf_net_initrd_file=uInitrd.net conf_net_initrd_file=uInitrd.net
fi fi
if [ "${conf_uboot_CONFIG_CMD_FS_GENERIC}" ] ; then
conf_fileload="load"
else
if [ "x${boot_fstype}" = "xfat" ] ; then
conf_fileload="fatload"
else
conf_fileload="ext2load"
fi
fi
} }
check_dtb_board () { check_dtb_board () {
@ -1536,7 +1546,6 @@ check_uboot_type () {
bone-serial|bone) bone-serial|bone)
need_am335x_firmware="1" need_am335x_firmware="1"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
SYSTEM="bone" SYSTEM="bone"
conf_board="BEAGLEBONE_A" conf_board="BEAGLEBONE_A"
is_omap is_omap
@ -1554,12 +1563,12 @@ check_uboot_type () {
USE_KMS=1 USE_KMS=1
conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host." conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host."
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
conf_uboot_CONFIG_CMD_FS_GENERIC=1
convert_uboot_to_dtb_board convert_uboot_to_dtb_board
;; ;;
bone-video) bone-video)
need_am335x_firmware="1" need_am335x_firmware="1"
uboot_SCRIPT_ENTRY="uenvcmd" uboot_SCRIPT_ENTRY="uenvcmd"
uboot_CMD_LOAD="load"
SYSTEM="bone" SYSTEM="bone"
conf_board="BEAGLEBONE_A" conf_board="BEAGLEBONE_A"
is_omap is_omap
@ -1575,6 +1584,7 @@ check_uboot_type () {
USE_KMS=1 USE_KMS=1
conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host." conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host."
conf_uboot_CONFIG_CMD_BOOTZ=1 conf_uboot_CONFIG_CMD_BOOTZ=1
conf_uboot_CONFIG_CMD_FS_GENERIC=1
convert_uboot_to_dtb_board convert_uboot_to_dtb_board
;; ;;
bone_dt|bone_dtb) bone_dt|bone_dtb)

Loading…
Cancel
Save