Replies: 19 comments 24 replies
-
RPi4 is a 64bit arch, right? Does LinuxCNC with LiteX-CNC work together? |
Beta Was this translation helpful? Give feedback.
-
Yeah 64 bit. I'm actually using the the RPI kernel sources, applying the required real time patches,building the kernel and then using the Bookworm binaries for the filesystem. I not too sure what you mean by "Does LinuxCNC with LiteX-CNC work together?" |
Beta Was this translation helpful? Give feedback.
-
On my M73 Tiny PC I have read errors with LiteX-CNC and the 5A-75B board. |
Beta Was this translation helpful? Give feedback.
-
I've been testing on a M72e with 64 bit Bookworm, so far no issues. Like I said it was an idea, I wouldn't put anything in the wild till I tested it. The above link was just a basic image that I've been using to play around with some Spartan 6 dev boards with Mesa firmware. |
Beta Was this translation helpful? Give feedback.
-
Ok, did a test, you sure that is a working hal file ?, had to remove the mab2hal & spindle sections, as able to jog around, had to bump the servo thread up to 1250000 as I was getting latency messages. Should try with another kernel and sd card. Didn't have any read error messages, what speed are you have on the interface for the card 1gbs or 100mbs ? I'm have mine at 100mbs. Note to self: don't try to build firmware on the RPi with 3 cores isolated. Firmware was 6 Stepegns. 6 encoders, a number of PWM and about 18 or so gpios. I was testing on a 5A-75E v7.1 |
Beta Was this translation helpful? Give feedback.
-
Thanks for testing. But we can try to test your hal / config / firmware on my maschine / PC if you want. I flashed an SDcard for my RPi4. Will going to test it soon. |
Beta Was this translation helpful? Give feedback.
-
I agree with you when the problem is in the Hal and / or Ini files.... A friend, where I installed my working LiteX-CNC version is now getting read errors also. After 3 weeks of working without problems. |
Beta Was this translation helpful? Give feedback.
-
The read errors are spreading? That's not good news. The images which you've build for the RPi are good news though! I really love the effort. The image I use is 32-bit Buster, installed with the instruction I've found here. With |
Beta Was this translation helpful? Give feedback.
-
My friend told me he could not start LCNC anymore and sends me a pic with "read error...expected 48' |
Beta Was this translation helpful? Give feedback.
-
started my Pi4... did you set username and password? |
Beta Was this translation helpful? Give feedback.
-
Username: cnc cmdline.txt & config.txt are under /boot/broadcom |
Beta Was this translation helpful? Give feedback.
-
I installed pip3, litexcnc, litex and oss-cad-suite right after flashing your image.
|
Beta Was this translation helpful? Give feedback.
-
New image. username & password included in text file in google drive folder. Linuxcnc 2.9 (from debian repo) On first boot filesystem will expand to fit SD Card Be sure to read text file on desktop. Have fun |
Beta Was this translation helpful? Give feedback.
-
Great job mate |
Beta Was this translation helpful? Give feedback.
-
Thanks! I can start linuxcnc and it connects to the colorlight board 👍 |
Beta Was this translation helpful? Give feedback.
-
Openocd: For those wanting to install with out having to download a new image this is the package list required:
Then follow the instructions here:
Cleanup: One last thing. |
Beta Was this translation helpful? Give feedback.
-
New image https://drive.google.com/file/d/1l9dldTeoRwV8Ma3ljQCWFn-8pFGjuIot/view?usp=sharing |
Beta Was this translation helpful? Give feedback.
-
Not a problem, as it's on just a basic google drive high traffic maybe an issue. I was thinking a thread dedicated to LiteX-CNC on the Linuxcnc forums might reached a wider audience. |
Beta Was this translation helpful? Give feedback.
-
How is openOCD used to flash the card? |
Beta Was this translation helpful? Give feedback.
-
I've been working on a image based on Debian Bookworm for the RPi4, needs a little polishing, but does boot and runs the sims, I've been using myself whilst playing around.
https://drive.google.com/file/d/1Ve6LismgxL0OfYufkeU1Z0hzdWhbf_WJ/view?usp=drive_link
I was wondering if if would be an idea to put one together for Litexcnc. I'd include Linuxcnc-uspace, linuxcnc-uspace-dev (drivers prebuilt), Litexcnc, Litex & Oss-cad-suite, I think the image would come out at about a 2.5GB down load and would require 16GB (min) SD Card. Whilst not super super quick it can build firmware.
Beta Was this translation helpful? Give feedback.
All reactions