APF9328 APF27 APF51 OPOS6UL SP FPGA configuration: Difference between revisions
From ArmadeusWiki
No edit summary |
m (KevinJ moved page APF9328 APF27 APF51 FPGA configuration to APF9328 APF27 APF51 OPOS6UL SP FPGA configuration) |
(No difference)
|
Revision as of 14:24, 3 October 2025
Configuring from Linux
Please use the FPGA loader linux driver.
Configuring from uBoot
- Load FPGA firmware image file with U-Boot through Ethernet:
BIOS> tftpboot ${loadaddr} fpgafirmware.bin
fpgafirmware.bin is of course the name of your bitfile stored in your TFTP shared directory (/tftpboot/)
then you can type the c command to reconnect to the terminal
- Test your new FPGA firmware's downloading:
- for .bin binary files
BIOS> fpga load 0 ${loadaddr} ${filesize}
- for .bit binary files
BIOS> fpga loadb 0 ${loadaddr} ${filesize}
- for .bin binary files
- For your convenience a set of U-Boot script to facilitate firmware management with the APF boards:
- download_firmware: assuming your firmware is in /tftpboot and name apfXX-firmware.bin (where apfXX is the name of your board apf27, apf51, apf9328..) will download the firmware in RAM with the command: run download_firmware
- flash_firmware: save the previously downloaded firmware from RAM into the flash.
- update_firmware: will execute the previous 2 scripts in sequence.
- load_firmware: read a firmware from the flash (there is dedication partition named firmware for this purpose) and load it into the FPGA.