Hi,
a customer is using the following QSPI partitioning
[ 1.945132] 0x000000000000-0x000000080000 : "QSPI.U-BOOT"
[ 1.951440] 0x000000080000-0x000000100000 : "QSPI.U-BOOT-backup"
[ 1.958278] 0x000000100000-0x000000110000 : "QSPI.U-BOOT-env"
[ 1.964784] 0x000000110000-0x000000120000 : "QSPI.FDT"
[ 1.970577] 0x000000120000-0x000000920000 : "QSPI.KERNEL-zImage"
[ 1.977324] 0x000000920000-0x000004000000 : "QSPI.FILESYSTEM"
actual u-boot.bin is approx. 0x50000 bytes so well within the 0x80000 range.
The issue we are running into is that if the u-boot.bin at 0x0 to 0x80000 is erased and the backup u-boot.bin is loaded at 0x80000, the Bootrom somehow hangs and does not move to the next boot source (here eMMC). However if the backup u-boot.bin at 0x80000 is erased (assuming the first u-boot.bin at 0x0 is already erased), the Bootrom correctly moves to the next boot source and boots from eMMC.
Is there a detail in the Bootrom QSPI mode that does not allow anything to be at 0x80000?
Are there any other restrictions with Bootrom QSPI boot mode with regard to other locations?
And a general question would be whether the Bootrom QSPI mode can support something like a fall back u-boot.bin, in case the first u-boot.bin at 0x0 does not boot.
Thanks,
--Gunter