Forum Discussion
Yoels
New Contributor
3 years agoon Arria10, how to load FPGA data that was not generated by UBoot mkimage tool
Hi, On Arria10 that was build in Altera 20.1 environment, when using UBoot 2020.4 , how can I load FPGA data that was not created by the UBoot mkimage tool? Currently my UBoot only loads (using QSP...
aikeu
Regular Contributor
3 years agoHi Yoels,
Any follow up from the previuos comment?
The inputs I get from the team as below:
On SD card there is a filesystem, so each file size is known.
The RBF files do not have a header, and since they are not in a file on a filsystem, there is no way to know their size. That is the main reason why they are encapsulated using the itb format.
The alternative would be to store the filesize somewhere, in addition to the file itself. You could consider to do something like this:
1. Read file_size from QSPI into ${filesize}
2. Read rbf file from QSPI into at ${loadaddr}
3. Run ‘fpga load 0 ${loadaddr} ${file_size}
Thanks.
Regards,
Aik Eu