- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are trying to implement fpga-bridge in linux-3.19.6. Since there is no fpga-bridge driver we created a folder in driver/misc with reference from linux-socfpga(version 3.18) and also edited the dts related to altera_cyclone5. While building, it doesnt show any error.. But after booting it in Altera cyclone 5 board, the fpga-bridge folder is empty in /sys/class/fpga-bridge. The kernel bootlog shows the following
NOTE: fpga manager has been created in /sys/class/fpga 0.141454] altera_hps2fpga_bridge soc:fpgabridge@0: Could not get hps2fpga reset control! [ 0.141467] altera_hps2fpga_bridge soc:fpgabridge@0: probe deferral not supported [ 0.141518] altera_hps2fpga_bridge soc:fpgabridge@1: Could not get lwhps2fpga reset control! [ 0.141528] altera_hps2fpga_bridge soc:fpgabridge@1: probe deferral not supported [ 0.141573] altera_hps2fpga_bridge soc:fpgabridge@2: Could not get fpga2hps reset control! [ 0.141583] altera_hps2fpga_bridge soc:fpgabridge@2: probe deferral not supported Can anybody help to fix this.. Thanks in advance.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the official support kernel is 3.10 LTSI.... 3.19.6 is way too far from the cyclone V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for ur reply.. I downloaded linux-socfpga-4.1 from github. Fpga-bridge is working fine. But my board is not supporting usb now. I enabled usb in dts files. Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
maybe just use the 3.10LTSI if there is no other require new feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The FPGA bridge driver is not needed in newer versions of the linux kernel. Just make sure your dts is correct and matches the addresses of your FPGA peripherals and you should be fine. Make sure your kernel, preloader and uboot are all from the same version of Quartus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- The FPGA bridge driver is not needed in newer versions of the linux kernel. Just make sure your dts is correct and matches the addresses of your FPGA peripherals and you should be fine. Make sure your kernel, preloader and uboot are all from the same version of Quartus. --- Quote End --- this is a very good comment, is all your uboot, preloader and kernel need to come from same version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all ur replies.. Fpga is working with socfpga4.1 kernel version..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
good to hear that, seems like 4.1 had done some patch on it. by the way, do try more system level testing to ensure that the kernel you are using is stable enough for your application :)

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page