Forum Discussion
Altera_Forum
Honored Contributor
11 years agoIn Altera-s example Altera-SoCFPGA-Hardwarelib-FPGA-CV-GNU from SoC EDS present downloading of included .rbf to FPGA part for configuring it.
For Linux similar code is absent. That theme discussed earlier -- many devices in FPGA may be initialized in Preloader etc. and after reconfiguring may not work after "cat myfpgaconfig.rbf > /dev/thefpga". Solution is too much beautiful in order to be living ! May be reload also and OS to perceive news :) On base given example is possible to write Linux driver that recipe your .rbf, need be knowed preceding .rbf version, read values of each register, write again after reconfiguring... And if user calls a command "cat mc.ini > /dev/thefpga" ? FPGA must wait next configaration :) I recommend using of only 1 .rbf, configure FPGA only once at boot and change its functionality with separate register for write commands if will be need mode change.