make it work on CHIPs with empty NANDs
This commit is contained in:
parent
dcfd128eff
commit
690f0d18da
@ -81,12 +81,9 @@ prepare_uboot_script() {
|
||||
echo "echo going to fastboot mode" >>$UBOOT_SCRIPT_SRC
|
||||
echo "fastboot" >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo " >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo *****************[ BOOT ]*****************" >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo " >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo *********************************************" >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo *****************[ SUCCESS ]*****************" >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo *********************************************" >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo " >>$UBOOT_SCRIPT_SRC
|
||||
echo "echo " >>$UBOOT_SCRIPT_SRC
|
||||
echo "boot" >>$UBOOT_SCRIPT_SRC
|
||||
|
||||
mkimage -A arm -T script -C none -n "flash CHIP" -d $UBOOT_SCRIPT_SRC $UBOOT_SCRIPT
|
||||
}
|
||||
|
@ -69,5 +69,5 @@ cache_download "${FW_IMAGE_DIR}" uboot-env.bin
|
||||
cache_download "${FW_IMAGE_DIR}" zImage
|
||||
cache_download "${FW_IMAGE_DIR}" u-boot-dtb.bin
|
||||
|
||||
BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT}
|
||||
BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT} erase-bb
|
||||
exit $?
|
||||
|
Loading…
Reference in New Issue
Block a user