- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i Compiled my own Linux Kernel using the Tutorial from the eekwiki ( https://eewiki.net/display/linuxonarm/de0-nano-soc+kit ).
However when I try to access the fpga space i get a bus error. Also i don't have the /sys/class/fpga-bridge/*/enable option so I think the Bridges are not enabled. Any idea what could be my Problem? CheersLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The first question is whether or not you included the FPGA bridge modules/drivers in your kernel. There are quite a few Altera drivers hidden in different places in the kernel make config process that can be turned on. Other then that, I can't think of what might be going on. This really just sounds like a missing driver.
Did you pull from the main-line kernel or from Altera's linux-socfpga git repository?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may want to try to mmap space from 0xFF200000 through /dev/mem. That gives you a neatly mapped address in user space that allows you to write to a peripheral through a pointer dereference. Try connecting a PIO to the hps lw-bridge in Qsys and assign some leds to it's output. That's the easiest way of testing I think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you release the bridges from reset in uboot-stage?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page