- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm currently working on adding a custom FPGA peripherical in an Arrow SoCKIT dev board (Cyclone V), then use it within Linux. My work is based on multiple tutorials and Workshop documentations: - Arrow SoCKIT workshop - Altera Wiki - RocketBoard tutorial about Arrow and Yocto - Yocto user manual I have completed HW part as usual (quartus/qsys), and prepared a simple .sopcinfo based on Arrow recommendation with HPS, sysid, jtag debug IP and one custom IP. I have tested my IP with Qsys system tool, so far everything seems ok. I'm not sure how to properly add a driver to Linux distribution. From now I have tried multiple ways to do this: - I have generated 2 uImage including my driver, one from Yocto the other from arm-eabi compiler as described in Altera-Wiki - I have generated .dts from .sopcinfo with sopc2dts, wich is very different from SoCKIT prebuild dts. - I have created a new dts based on original DTS from SoCKIT prebuild + my custom device. - I have generated multiple DTB with Yocto and stand alone compiler from different DTS I suspect my uImage are good, but everytime I add a new device on dts the resulting dtb seems to be wrong and Kernel does not start anymore. Has anyone here already tried and succeeded on adding a custom FPGA IP and access it from Linux system? Another question, is u-boot spl impacted by this kind of modification? I guess not but I am not 100% sure about that.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried it once with Linux 3.7.
The result is that the dts generated with the 13.0SP1 tools does not work. For testing purposes I've modified the example dts file that comes in the repository to add my custom component. I haven't used any bridge, just used the address with the hps2fpga bridge offset. I hope this information helps.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page