mk_mmc.sh: bootloader is external

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent 8c123425e3
commit 674e59bf0b

@ -2,8 +2,7 @@
# --dtb imx6q-sabrelite (Boundary Devices: Freescale i.MX6Q Board:supported) # --dtb imx6q-sabrelite (Boundary Devices: Freescale i.MX6Q Board:supported)
#Bootloader: #Bootloader:
conf_board="MX6QSABRELITE_D" conf_bootloader_in_flash="enable"
conf_bootloader_in_flash="1"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"

@ -1,10 +1,8 @@
#!/bin/bash #!/bin/bash
# --dtb tegra124-jetson-tk1 (NVIDIA Jetson TK1:supported) # --dtb tegra124-jetson-tk1 (NVIDIA Jetson TK1:supported)
conf_board="tegra124-jetson-tk1"
#Bootloader: #Bootloader:
conf_bootloader_in_flash="1" conf_bootloader_in_flash="enable"
#Bootloader Partition: #Bootloader Partition:
conf_boot_fstype="ext2" conf_boot_fstype="ext2"

@ -803,13 +803,15 @@ extract_zimage () {
generate_soc () { generate_soc () {
echo "#!/bin/sh" > ${wfile} echo "#!/bin/sh" > ${wfile}
echo "format=1.0" >> ${wfile} echo "format=1.0" >> ${wfile}
echo "board=${conf_board}" >> ${wfile} if [ ! "x{conf_bootloader_in_flash}" = "xenable" ] ; then
echo "" >> ${wfile} echo "board=${conf_board}" >> ${wfile}
echo "bootloader_location=${bootloader_location}" >> ${wfile} echo "" >> ${wfile}
echo "dd_spl_uboot_seek=${dd_spl_uboot_seek}" >> ${wfile} echo "bootloader_location=${bootloader_location}" >> ${wfile}
echo "dd_spl_uboot_bs=${dd_spl_uboot_bs}" >> ${wfile} echo "dd_spl_uboot_seek=${dd_spl_uboot_seek}" >> ${wfile}
echo "dd_uboot_seek=${dd_uboot_seek}" >> ${wfile} echo "dd_spl_uboot_bs=${dd_spl_uboot_bs}" >> ${wfile}
echo "dd_uboot_bs=${dd_uboot_bs}" >> ${wfile} echo "dd_uboot_seek=${dd_uboot_seek}" >> ${wfile}
echo "dd_uboot_bs=${dd_uboot_bs}" >> ${wfile}
fi
echo "" >> ${wfile} echo "" >> ${wfile}
echo "boot_fstype=${conf_boot_fstype}" >> ${wfile} echo "boot_fstype=${conf_boot_fstype}" >> ${wfile}
echo "" >> ${wfile} echo "" >> ${wfile}
@ -1562,7 +1564,7 @@ echo "-----------------------------"
check_root check_root
detect_software detect_software
if [ ! "${conf_bootloader_in_flash}" ] ; then if [ ! "x{conf_bootloader_in_flash}" = "xenable" ] ; 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

Loading…
Cancel
Save