APF6 SP FPGA configuration
From ArmadeusWiki
Configuring from Linux
- Load periph.rbf to the FPGA from U-Boot
- Use the FPGA loader linux driver to load core.rbf
![]() |
Note: On APF6_SP, the command load_fpga work only throught PCIe, see PCIe fpga load to know how it works |
Configuring from U-Boot
APF6_SP
- To «autoload» your firmware while U-Boot is starting, simply add your bitstream to your rootfs, for example :
/lib/firmware/fpga/firmware.periph.rbf
![]() |
Note: By default, directory /lib/firmware/fpga doesn't exists, then simply create it with # mkdir /lib/firmware/fpga |
- Then reboot under U-Boot and configure your environment variables firmware_autoload and firmware_path :
BIOS> setenv firmware_path /lib/firmware/fpga/firmware.periph.rbf BIOS> setenv firmware_autoload 1
- Do not forget to save your environment variables:
BIOS> saveenv
- That's all, now your bitstream will be loaded with U-Boot at boot:
U-Boot SPL 2014.07 (Apr 23 2015 - 16:16:45) U-Boot 2014.07 (Apr 23 2015 - 16:16:45) [...] 39688 bytes read in 260 ms (148.4 KiB/s) Hit any key to stop autoboot: 0