Forum Discussion
Altera_Forum
Honored Contributor
12 years agoReprogramming the fpga at runtime from hps.
Hello Everyone,
I have been trying to get the fpga programmed from the hps at run time, i.e. from the Linux user space. I am working from the GHRD. The Ghrd gives support for led buttons gpio etc. I want to be able to remotely configure the fpga after i boot into linux.(the root folder of linux will contain the other rbf that i want to configure the fpga with. ) i have been trying to follow the instructions from here http://rocketboards.org/foswiki/documentation/gsrdprogrammingfpga , but it only gives instructions on how to load the rbf if you dont have it configured initially. My problem is a little different, by the time i want to re configure the fpga it will have already been configured and would have booted into linux. So once in linux i want to be able to re configure the fpga. How would i go about doing this. I understand the most important thing to do is putting the fpga into configuration phase how do i do this? Thanks in advance, Somu2 Replies
- Altera_Forum
Honored Contributor
From Linux unlikely, all devices tied to drivers, configured, not works after reconfiguring and only need reboot, or in BareMetal all perhaps!
Example № 3 *HardwareLib*-GNU.* may reconfigure FPGA N times from internal image. - Altera_Forum
Honored Contributor
Hello Somu,
I have been doing exactly what you want to do. It is working great - after some troubles:- http://www.alteraforum.com/forum/showthread.php?t=45122 Do you have it working now? If not what commands have tried from Linux?