Altera_Forum
Honored Contributor
9 years agoProblems enabling hps2fpga & lwhps2fpga bridges
the problem:When trying to enable either the hps2fpga or the lwhps2fpga bridge in Linux, the Linux system locks up.
From the rocketboards example: Command used: "echo 1 > /sys/class/fpga-bridge/hps2fpga/enable" *or* Command used: "echo 1 > /sys/class/fpga-bridge/lwhps2fpga/enable" other useful information: -The FPGA is configured with a validated .rbf (and indicates in "user mode" per /sys/class/fpga/fpga0/status) -The fpga2hps bridge can be enabled/disabled normally. -The issue has appeared after we switched Linux versions and the configurator from Yocto to Buildroot -If the FPGA is configured with the .rbf and a reboot command issued, the bridges are up once Linux boots and our system functions normally. *unless we try to bring down the hps2fpga/lwhps2fpga bridges The issue in question has appeared since we switched our Linux environment. There is a high probability that we have missed a configuration setting that would be needed to properly perform this action - any suggestions on this front would be highly welcome. Not sure if it is helpful or not, the version from /etc/os-release indicates 2015.08-git. Thank you in advance for any assistance.