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

  • ALittleOffTheRails
  • New Member
  • New Member
More
4 years 8 months ago #235834 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

Using Xubuntu 21.04 (Litex installed)
Code:
root@E555:/temp/colorcnc# ./colorlight_5a_75b.py Traceback (most recent call last):   File "/temp/colorcnc/./colorlight_5a_75b.py", line 15, in <module>     from litex_boards.platforms import colorlight_5a_75b ModuleNotFoundError: No module named 'litex_boards' I have no idea why.

First of all running as root is a really bad idea.

Have you installed the Litex packages and the oss_cad_suite ?

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

More
4 years 8 months ago #235908 by tuxcnc

Code:
First of all running as root is a really bad idea.

Why ?
Many peoples tell me "it is bad idea", but nobody can tell why ...

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

More
4 years 8 months ago - 4 years 8 months ago #235909 by tuxcnc
Code:
Obsolete content. Deleted.
Last edit: 4 years 8 months ago by tuxcnc.

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

More
4 years 8 months ago #235915 by tommylight

First of all running as root is a really bad idea.
Why ?
Many peoples tell me "it is bad idea", but nobody can tell why ...

Linux is not windows, it has it's own way of doing things ... not important.
Running as a normal user in case of /infection/attack/mess up/exploit/ there is no easy way of installing additional code and make it run in Linux or have access to system /files/memory/hardware/, while running as Root the doors are already opened.
I am not good at explaining stuff, but in general, it is not a good idea to run as root although chances are very low that something will actually happen if you do not click and run unknown stuff/links/software/

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

More
4 years 8 months ago #235924 by tuxcnc

I am not good at explaining stuff, but in general, it is not a good idea to run as root although chances are very low that something will actually happen if you do not click and run unknown stuff/links/software/

Security is important in servers and multi-access systems.
When the computer is cut off from the network, even by a router, and has only one user, there is no other hazard than the stupidity of the user.
Logging in as a guest and writing sudo before each line will not increase security.
But this is OFFTOPIC and let's talk better how to compile firmware to Colorlite v8.0 ....
The following user(s) said Thank You: tommylight

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

More
4 years 8 months ago #235927 by Inga
Litex supports at least V8.0 of the 5A-75B board.

The colorlight_5a_75b.py from romanetz (THANK YOU!) can also be used on a 5A-75B V8.0 board when you change near line 348

platform = colorlight_5a_75b.Platform()
to
platform = colorlight_5a_75b.Platform(revision="8.0")

This will change the pinout for ethernet etc. to V8.0

Colorcnc not yet working but I can connect to the board.

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

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