Hello,
currently we have a design which has it's FPGA config data in a serial Xilinx platform flash. The linux image is in an external parallel NOR flash and is detected by petalinux:
physmap platform flash device: 00400000 at b0000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
5 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 5 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "boot"
0x00040000-0x00060000 : "bootenv"
0x00060000-0x00080000 : "config"
0x00080000-0x00380000 : "image"
0x00380000-0x00400000 : "jffs2"
The idea is now to have only one SPI flash containing the FPGA config data plus the 5 sections above in it. Therefore I think a MTD compatible driver is needed, is petalogix providing one for a specific vendor/device? Has anybody experience in achieving this?
Regards,
Marco