Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Reprogramming 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,

Somu

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.