09-04-2015 05:17 AM
I don't have sd card on my board, so i need to set root file system in qspi flash.
Is it read-only or writable ?
I have another 4Gb qspi flash chip connected to PL, is there a common driver for it?
09-04-2015 06:02 AM - edited 09-04-2015 06:03 AM
First, check if your flash device is supported:
Zynq QSPI driver:
AXI QSPI driver:
You can use the command 'flashcp' to mount the rootfs on qspi. Please check the above mentioned links.
09-06-2015 10:16 PM
09-06-2015 10:38 PM
For read-only filesystem use squashfs. For read-write, use ubifs.
Most QSPI flash chips share the same protocols. You probably mean 4 gigabit, hence 512 megabyte? Dunno if that will work, the biggest I've used on the zynq was 64MB (512Mb). The chip must support 'paging'.
For larger memories you may want to use NAND flash instead. You can even use both, e.g. load bootloader and kernel from QSPI and then mount the root filesystem on NAND. That'd give you good boot times combined with cheap and large storage.