08-24-2015 04:17 AM
I wanted to know if it was possible to mauplate the FSBL code for zynq so that I can choose which PL bit file is loaded when the FSBL is executing. My idea was to have a rom image like this :
Once the bootloader starts executing , I want to control which bit file is loaded into the PL (config A , B or C) and then load the application.elf . I have a 512 Mbit QSPI flash so space is not a constraint.
Is this possible ? Any pointers will be helpful .
Thanks a lot
08-24-2015 10:19 AM
are you trying to do a partial reconfiguration and load partial bitstreams? would that be possible to use pcap or icap for loading them?
08-25-2015 02:58 AM
Thanks for your reply. I am not looking to perform a partial reconfiguration. I will explain my design requirement in a bit more detail :
The idea is I have three bitstream designs that have different PL designs.
When I power on the unit for the first time lets say the bootloader configures the PL with default PL_Design_A.bit and loads the .elf file (the application) . During the application run I find out that the PL_Design_A.bit does not suite my requirement and may be the PL_Design_B is a better option for this scenario.
So I was hoping if it was possible to write a variable into the flash memory and then power cycle the unit. Now when the bootloader runs it can read the flash memory and and based on the variable value I wrote, configures the PL with a different pl bit stream file (PL_Design_B.bit) .
Ofcourse the three designs will be at 3 different offsets in the ROM_image (no overlap) and I was just hoping if it was possible to control the address to load the bitstream from in the FSBL program. This would be of great use to the END user as the system becomes very flexible.
And after loading the required bit stream the FSBL must jump to the partition containing the elf file and load that.
Hope I have explained my situation better.
03-16-2016 03:28 AM
Still wondering if this is at all possible ? If any one can just point me to a relavent technical note or white paper I will take it from there. I tried to search all this while here and then but could not come up with something concrete.
05-02-2016 01:55 PM
Any success with the multiple .bit files? I am wanting to do something similar, where the FSBL reads switches to determine which .bit file to load. I'm interested to hear about your progress. Thank you.
05-03-2016 05:53 AM
Unfortunately I was not able to come across any resource on how to go about this. Did not have the luxury of time to experiment much so gave it up. If at all you come across something similar please comment on this thread.