imx6q-sabrelite: bootloader no longer required

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 61f596fa1d
commit 0d7cc022cc

@ -6,18 +6,9 @@ SYSTEM="mx6qsabrelite"
#Bootloader: #Bootloader:
conf_board="MX6QSABRELITE_D" conf_board="MX6QSABRELITE_D"
conf_bl_http="http://rcn-ee.net/deb/tools/latest/" conf_bootloader_in_flash="1"
conf_bl_listfile="bootloader-ng"
#Bootloader Partition:
bootloader_location="dd_uboot_boot"
boot_fstype="ext2" boot_fstype="ext2"
dd_uboot_bs="512"
dd_uboot_seek="2"
boot_partition_size="100" boot_partition_size="100"
boot_startmb="2"
unset spl_name
boot_name="u-boot.imx"
#Bootloader: u-boot features: #Bootloader: u-boot features:

@ -1051,10 +1051,10 @@ fatfs_boot_error () {
exit exit
} }
fatfs_boot () { fdisk_boot_partition () {
#For: TI: Omap/Sitara Devices #Generic boot partition created by fdisk
echo "" echo ""
echo "Using fdisk to create an omap compatible fatfs BOOT partition" echo "Using fdisk to create BOOT partition"
echo "-----------------------------" echo "-----------------------------"
fdisk ${MMC} <<-__EOF__ fdisk ${MMC} <<-__EOF__
@ -1076,10 +1076,10 @@ fatfs_boot () {
LC_ALL=C parted --script ${MMC} set 1 boot on || fatfs_boot_error LC_ALL=C parted --script ${MMC} set 1 boot on || fatfs_boot_error
} }
sfdisk_fatfs_boot () { sfdisk_boot_partition () {
#For: TI: Omap/Sitara Devices #Generic boot partition created by sfdisk
echo "" echo ""
echo "Using sfdisk to create an omap compatible fatfs BOOT partition" echo "Using sfdisk to create BOOT partition"
echo "-----------------------------" echo "-----------------------------"
LC_ALL=C sfdisk --DOS --sectors 63 --heads 255 --unit M "${MMC}" <<-__EOF__ LC_ALL=C sfdisk --DOS --sectors 63 --heads 255 --unit M "${MMC}" <<-__EOF__
@ -1137,9 +1137,9 @@ create_partitions () {
case "${bootloader_location}" in case "${bootloader_location}" in
fatfs_boot) fatfs_boot)
if [ "${use_sfdisk}" ] ; then if [ "${use_sfdisk}" ] ; then
sfdisk_fatfs_boot sfdisk_boot_partition
else else
fatfs_boot fdisk_boot_partition
fi fi
;; ;;
dd_uboot_boot) dd_uboot_boot)
@ -1151,7 +1151,7 @@ create_partitions () {
LC_ALL=C parted --script ${MMC} mkpart primary ${parted_format} ${boot_startmb} ${boot_partition_size} LC_ALL=C parted --script ${MMC} mkpart primary ${parted_format} ${boot_startmb} ${boot_partition_size}
;; ;;
*) *)
LC_ALL=C parted --script ${MMC} mkpart primary ${parted_format} ${boot_startmb} ${boot_partition_size} fdisk_boot_partition
;; ;;
esac esac
format_boot_partition format_boot_partition
@ -1892,6 +1892,7 @@ echo "-----------------------------"
check_root check_root
detect_software detect_software
if [ ! "${conf_bootloader_in_flash}" ] ; then
if [ "${spl_name}" ] || [ "${boot_name}" ] ; then if [ "${spl_name}" ] || [ "${boot_name}" ] ; then
if [ "${USE_LOCAL_BOOT}" ] ; then if [ "${USE_LOCAL_BOOT}" ] ; then
local_bootloader local_bootloader
@ -1899,6 +1900,7 @@ if [ "${spl_name}" ] || [ "${boot_name}" ] ; then
dl_bootloader dl_bootloader
fi fi
fi fi
fi
dl_kernel_image dl_kernel_image
dl_netinstall_image dl_netinstall_image

Loading…
Cancel
Save