Howto for running FPGALink on a RaspberryPi...

74 views
Skip to first unread message

berndl

unread,
Feb 27, 2016, 8:02:58 AM2/27/16
to FPGALink Users
Hi Chris,

for a couple of hours, I'm looking for a guide how to install/compile FPGALink on my RPi (model 1B). My "other SD card" has a veeeery old setup and I just wanted to update to the latest (and of course greatest) version of FPGALink.

I've just installed Raspbian2016-02-09-raspbian-jessie.img on a fresh SD and now I'm wondering how to proceed. The link is:
https://gist.github.com/makestuff/7190673

The line
../bin/hdlmake.py -g makestuff/readback

throws the following error message:
pi@fpgalink:~/20131026/makestuff/hdlmake/apps $ ../bin/hdlmake.py -g makestuff/readback
Traceback (most recent call last):
  File "../bin/hdlmake.py", line 18, in <module>
    import yaml
ImportError: No module named yaml

...and I'm stuck. Am I missing some Raspbian packages or is 20131026/... outdated?

Kind regards,
- bernd

Chris McClelland

unread,
Feb 27, 2016, 8:20:01 AM2/27/16
to fpgalin...@googlegroups.com
In general, if you get an error message like "ImportError: No module named yaml", the very first thing you should do is google it.

In this particular case, you should start by looking at the documentation linked from the homepage[1] rather than searching for hours. For example, the Nexys2 quickstart[2] clearly specifies prerequisites, including the python-yaml package. Also, obviously the actual code will be built on the RPi using the armhf rather than x64 architecture, so you'll need to replace "lin.x64" with "lin.armhf" in the quickstart.

[1]https://github.com/makestuff/libfpgalink/wiki/FPGALink
[2]https://gist.github.com/makestuff/7829484#file-nexys2-howto-L4-L5


--
You received this message because you are subscribed to the "FPGALink Users" mailgroup (see https://github.com/makestuff/libfpgalink/wiki/FPGALink).
 
To post to this group, send email to fpgalin...@googlegroups.com
To unsubscribe from this group, send email to
fpgalink-user...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fpgalink-users?hl=en
---
You received this message because you are subscribed to the Google Groups "FPGALink Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fpgalink-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

berndl

unread,
Feb 27, 2016, 8:40:33 AM2/27/16
to FPGALink Users
ouch, thanks for the quick response. I was following an old bookmarked link for the RPi and didn't recognize, that I just have to follow the guide for my Atlys: https://gist.github.com/makestuff/7486988

Now it seems to be running, thanks a lot!

Kind regards,
- bernd
Reply all
Reply to author
Forward
0 new messages