Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21605 Discussions

How to generate rbf file for u-boot "fpga load" on Agilex7/SDM

zutalors
New Contributor I
726 Views

I have a project_hps.sof file which I'm able to load using quartus_pgm, but I would like to convert this to rbf and load it from u-boot.

I usually do:

quartus_pfg -c -o compression=on project_hps.sof project_hps.rbf

But this results in an error on my A2700 board:


SOCFPGA_AGILEX # crc ${loadaddr} ${filesize}
crc32 for 02000000 ... 02189fff ==> 6eef0981
SOCFPGA_AGILEX # fpga load 0 ${loadaddr} ${filesize}
..Error sending bitstream!
Command 'load' failed: Error -110

The crc32 is the same I get on the rbf on the server side so I know the content is correct. But "fpga info" tells me:

SOCFPGA_AGILEX # fpga info 0
Altera Device
Descriptor @ 0x000000007ffdc790
Family: Intel SDM Mailbox
Interface type: Secure Device Manager (SDM) Mailbox
Device Size: -1 bytes
Cookie: 0x0 (0)
No Device Function Table.
SOCFPGA_AGILEX #

Is the problem related to MSEL settings or do I have to add encryptions keys to the rbf somehow since the interface type is "Secure Device Manager (SDM) Mailbox" and not "Fast Passive Parallel" or similar?

Labels (1)
0 Kudos
3 Replies
Jeet14
Employee
641 Views

Hi,


You can refer below link for generating core.rbf file.

https://www.rocketboards.org/foswiki/Documentation/AgilexSoCGSRD


Regards

Tiwari


0 Kudos
Jeet14
Employee
600 Views

Hi,


Please let me know if you have any query on this.


Regards

Tiwari


0 Kudos
Jeet14
Employee
553 Views

As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply