conf: this partition size is used by default

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 409004d370
commit c88740ecbc

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -0,0 +1,13 @@
#!/bin/bash
# --dtb example
#Bootloader Partition:
#conf_boot_fstype="fat"
#conf_boot_fstype="ext2"
#conf_boot_fstype="ext3"
#conf_boot_fstype="ext4"
#conf_boot_fstype="btrfs"
#Bootloader Partition size: (default values):
#conf_boot_startmb="1"
#conf_boot_endmb="96"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" dd_uboot_bs="512"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" dd_uboot_bs="512"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" dd_uboot_bs="512"

@ -10,8 +10,6 @@ conf_bootloader_in_flash="1"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
#Bootloader: u-boot features: #Bootloader: u-boot features:

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" dd_uboot_bs="512"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" dd_uboot_bs="512"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="fat" conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot" bootloader_location="fatfs_boot"
spl_name="MLO" spl_name="MLO"

@ -8,8 +8,6 @@ conf_bl_listfile="bootloader-ng"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" dd_uboot_bs="512"

@ -1467,6 +1467,21 @@ process_dtb_conf () {
show_board_warning show_board_warning
fi fi
echo "-----------------------------"
#defaults, if not set...
if [ ! "${conf_boot_startmb}" ] ; then
echo "info: [conf_boot_startmb] undefined using default value: 1"
conf_boot_startmb="1"
fi
if [ ! "${conf_boot_endmb}" ] ; then
echo "info: [conf_boot_endmb] undefined using default value: 96"
conf_boot_endmb="96"
fi
#error checking...
if [ ! "${conf_boot_fstype}" ] ; then if [ ! "${conf_boot_fstype}" ] ; then
echo "Error: [conf_boot_fstype] not defined, stopping..." echo "Error: [conf_boot_fstype] not defined, stopping..."
exit exit
@ -1485,16 +1500,6 @@ process_dtb_conf () {
esac esac
fi fi
if [ ! "${conf_boot_startmb}" ] ; then
echo "Warning: [conf_boot_startmb] was undefined setting as: 1"
conf_boot_startmb="1"
fi
if [ ! "${conf_boot_endmb}" ] ; then
echo "Warning: [conf_boot_endmb] was undefined setting as: 96"
conf_boot_endmb="96"
fi
if [ "${conf_uboot_CONFIG_CMD_BOOTZ}" ] ; then if [ "${conf_uboot_CONFIG_CMD_BOOTZ}" ] ; then
conf_bootcmd="bootz" conf_bootcmd="bootz"
conf_normal_kernel_file=zImage conf_normal_kernel_file=zImage

Loading…
Cancel
Save