[meta-xilinx] u-boot SPL from QSPI flash

Mike Looijmans mike.looijmans at topic.nl
Wed Feb 26 01:52:45 PST 2014


On 02/26/2014 07:02 AM, Alan DuBoff wrote:
> Could I change the modeboot to qspiboot, from the u-boot prompt and boot if I
> had something flashed to the qspi? I just tried that but it didn't work, but I
> don't have anything in the qspi yet, I don't think...

run qspiboot

should do the trick.


>> I plan on adding UBI support to the bootloader. Then all the partitions -
>> except the bootloader ones - can be replaced with one big ubi volume.
>
> That would be nice, then one could have the device booting on flash with ubifs
> on the SD card, but still be able to fall back to booting from the SD card if
> the qspi was horked for some reason, and in both cases be able to mount the
> rootfs. Is that correct?

UBI is for the SPI flash, not for SD card. UBI is for MTD devices, like nand 
and nor flash.

But it appears that what I want is not possible with the current u-boot. Only 
NAND and memory-mapped NOR device drivers register themselves as MTD, but SPI 
flash drivers don't do that, so you cannot use U-boot's UBI support on them.

Mike.



More information about the meta-xilinx mailing list