Dear Niko,
If you want to use x4 SPI boot you need to do following steps:
- Open project
- Right click on "Generate Programming File" -> "Process Properties"
- Go to "Configuration Options"
- Set "4" in "-g SPI_buswidth" "Set SPI Configuration Bus Width" row (Quad mode)
- Rerun "Generate Programming File"
- Run iMPACT to create mcs file from resulted bit file
- switch iMPACT to boundary scan mode and write mcs to flash
But this will only speed-up boot of your project from flash, not Flash programming.
As I understand you concerned about long time to indirect Flash programming, this time is long because of
- Indirect programming (to write one byte several or even hundreds bytes should be send/received by 6 MHz interface)
- Bulk erase (iMPACT use full flash erase even if only part of it should be writed) it's usually much longer than sector erase
Xilinx not provide other ways to reprogram Flash.
So if you want faster reflash, only way it's include in your project SPI core and do reflash from project (transfer data using Ethernet much faster than Xilinx cable)
Please check
https://github.com/Trenz-Electronic/TE060X-GigaBee-Reference-Designs/tree/master/GigaBee_XPS14.2-FlashWriter project it can be that you want.
Best Regards
Oleksandr