LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
1 year 10 months ago - 1 year 10 months ago #316011 by MirkoCNC
I can run it under Windows now, but the graphical stuff does not work. 

In my case, it would be more convenient, as I only have Linux on the Raspberrry Pi 5.

Anyway, it is better that you use your time on the important stuff. The whole project is very impressive. Congratulation!!!
Last edit: 1 year 10 months ago by MirkoCNC.
The following user(s) said Thank You: meister

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #316012 by meister
thanks
for the gui you need to install some python packages.


@all
oss-cad-suite stuff runs also on windows now :)

 

so it is not so hard to run the other toolchains also

EDIT: gowin works also
 
Last edit: 1 year 10 months ago by meister.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #316018 by MirkoCNC
I am almost done. The Graphic in Overview, Hal and Axis works now.

rio.v and makefile OK.

One last issue: Warning: can not find toolchain installation in PATH: nextpnr (nextpnr-ice40)

Furthermore there is an error: loading joypad:: No module named 'fcntl'. No idea what I have to install here.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #316085 by MirkoCNC
The toolchain for Tangbob has been installed and the PATH set. That warning is gone.

This error message is left:

loading board setup: Tangbob
loading toolchain gowin
writing gateware to: OutputTMP\Tangbob\Gateware
!!! gateware changed: needs to be build and flash |||
writing linuxcnc files to: OutputTMP\Tangbob\LinuxCNC
Der Befehl "C:\Users\MW\Downloads\riocore-using_os_path_join\riocore-using_os_path_join\bin\rio-generator" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
ERROR loading output: [Errno 2] No such file or directory: 'Output\\Tangbob\\Gateware\\rio.v'
PS C:\Users\MW\Downloads\riocore-using_os_path_join\riocore-using_os_path_join>

After pressing the button Generate it  fails (dir OutputTMP can be created, but dir Output somehow not)

Any ideas on the rio-generator (directory is correct and rio-generator is there)?
Last edit: 1 year 10 months ago by MirkoCNC.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #316115 by Mecanix

In my case, it would be more convenient, as I only have Linux on the Raspberrry Pi 5.
 
For the Windows convenience I'd still recommend a debian Virtual Machine for the Rio, toolchains, configs, and bitstream gen. They are easy and quick to put together. Only challenge I could think of is the bit file programmer, some VM aren't good friends with USB2.0/3.0 (e.g. Hyper-v).

It's been a decade since I've VM anything and so I wouldn't know which is best to use. Bet Virtualbox does it USB nowadays though.     

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #316167 by MirkoCNC
Thanks for pointing out. I will keep this in mind.

Though, I am still having a problem with the toolchain on the Raspberry Pi5 running Linux on it:.

Pressing the compile button:

rm -rf rio.fs rio.json rio_pnr.json rio.tcl abc.history impl gw_sh rio.tcl

Gives me following error:

/home/cnc-winder/opt/gowin/IDE/bin/gw_sh: 2: Syntax error: Unterminated quoted string
make: *** [Makefile:34: impl/pnr/project.fs] Error 2

Any idea what could cause this?

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum