Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Dave - Always good to hear from you. I hope you're doing well. The code you point me to looks like it may be just want I need. I think that if I have a Dev. Card plugged into a LINUX box, with the PCI Interface instantiated on the FPGA (via Qsys as an Avalon Bus Master), I can compile this code on the Linux box and it will support read/writes from the PC to the FPGA (sort of a simple System Console). - Great - Thanks!
As to why I don't want to boot LINUX on the SoC card and essentially use -that- as the PC: It's a tail-wagging the dog solution. I'm not much of an embedded guy, and it's a lot of overhead to take on for a fairly simple/mundane purpose. (Although I understand that it's doable and is probably the recommended usage model). (so why do we have the SoC card? We plan to use it in future projects (where the SW load is sufficient to get some embedded help)> I'm not sure we're on the same page for the bottom part of your post. If I do this on my old Stratix-IV card, I can just plug it into a PCI slot on my LINUX box. If I use the SoC card, the problem is that I need to connect that card to a PC. Ideally there would be some sort of PCI-E Male to USB connector (so I could use a laptop) with a driver supplied. But more likely what I'd do is have some sort of Pci-E Male <-> Pci-E Male cable to tether the card to the LINUX box and use your code (above). I'm not clear on how the links you supplied (all card) help? Thanks very much! /j