ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

More
2 years 10 months ago - 2 years 10 months ago #288492 by horcsab
Hi All,

Please help me!
I setup fresh install Linuxcnc 2.9.1.  (on laptop i7 x64)
Linux cnc 6.1.0-13-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
I would like setup Litexcnc, but it dosen't work. If runing litexcnc install_toolchain command, i get this error:

INFO: Successfully installed Litex in '/opt/litex'
INFO: Auto-detected os linux.
INFO: Auto-detected architecture i386.
ERROR: OSS-Cad-Suite does not support `i386` architecture.
ERROR: Please use a different system to build the firmware.

What can be the problem?

(sorry my bad english) 
Last edit: 2 years 10 months ago by horcsab.

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

More
2 years 10 months ago #288497 by tommylight

I setup fresh install Linuxcnc 2.9.1.  (on laptop i7 x64)
Linux cnc 6.1.0-13-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
INFO: Auto-detected architecture i386.
ERROR: OSS-Cad-Suite does not support `i386` architecture.
Strange, it is trying to use OSS for i386 systems on a 64 bit Linux.
Should be a Debian issue, had something similar happen with Debian 12.0 but not on Debian 12.2 and later.
Might want to look on Debian forums for this.

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

More
2 years 10 months ago - 2 years 10 months ago #288504 by Mecanix

Until the maintainer of Litex-cnc look into this (have you reported it on github?), you can install OSS-cad manually to get you going. Ensure your path is set.

$ mkdir oss-cad
$ cd oss-cad
$ wget github.com/YosysHQ/oss-cad-suite-build/r...nux-x64-20231017.tgz
$ tar -xvf oss-cad-suite-linux-x64-20231017.tgz
$ export PATH="/home/user/path-to/oss-cad-suite/bin/:$PATH"
Last edit: 2 years 10 months ago by Mecanix.

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

More
2 years 10 months ago #288505 by jmelson
You cannot run LinuxCNC on a 386, the memory model is different on the 386 from the 486, Pentium, etc. CPUs. But, you say it is an X64 i7 CPU. Something must have gotten seriously fouled up during the OS install, or during the setup for the OSS-Cad-Suite.
Jon

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

More
2 years 10 months ago #288542 by KlimukVI
Try this:
litexcnc install_toolchain --user --architecture x64 --os linux
The following user(s) said Thank You: horcsab

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

More
2 years 10 months ago - 2 years 10 months ago #288555 by horcsab
I try this method, but no working...
$ mkdir oss-cad
$ cd oss-cad
$ wget github.com/YosysHQ/oss-cad-suite-build/r...nux-x64-20231017.tgz  (I updated the name)
$ tar -xvf oss-cad-suite-linux-x64-20231017.tgz
$ export PATH="/home/user/path-to/oss-cad-suite/bin/:$PATH"

And I try this:
litexcnc install_toolchain --user --architecture x64 --os linux

It's work!!! :)
Last edit: 2 years 10 months ago by horcsab.

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

Moderators: PCW, jmelson
Time to create page: 0.458 seconds
Powered by Kunena Forum