Forum Discussion

Scotty2's avatar
Scotty2
Icon for Occasional Contributor rankOccasional Contributor
3 years ago
Solved

Stratix 10 serial flash mailbox client IP clarification

Hello,

I am quiet new to the Intel and Stratix 10 environment, so pardon me if this is a trivial post. If I need to post this somewhere else, do let me know!

I am trying to wrap my head around updating a QSPI once one has booted into the HPS Linux environment (in HPS first boot mode). The goal is to update/read/write the QSPI flash with a new u-boot and FPGA I/O part of the bitstream without using JTAG (not using the .JIC file)

From what I understood, to do this I need to add the "serial flash mailbox client" IP because writing directly to the flash is not possible and I have to go through this IP for the sake of making SDM happy.

My questions are:

1. Is my understanding correct?

2. Is there an official Linux driver for this IP?

3. Is there a more direct/easy method to go about this?

4. Assuming all of this is done, the file format that needs to be given to the mailbox is ".rpd" or ".rbf" ?

here are some of the docs I have looked at:

1. "Stratix 10 Mailbox Client Intel FPGA IP Core Design
Example(QSPI Flash Access and Remote System
Update)"

2. Design Example (intel.com)

3. Stratix 10 Mailbox Client IP Core Design Example - QSPI flash Access and Remote System Update - Intel Communities

4. tutorial-write-raw-programming-data-rpd-into-flash-devices.pdf (intel.com)

5. 9.3. Creating Application and Update Images for HPS First (intel.com)

6. 9. Using RSU with HPS First (intel.com)

7. Serial Flash Mailbox Client Intel FPGA IP User Guide

Thank you

  • Hi,


    Unfortunately we do not have a Linux driver for the FPGA mailbox. The alternative is using HWMON on the SDM mailbox calls.



5 Replies