RPi5 Supported after bugfix #63
Replies: 7 comments
-
I have a Colorlight 5A-75E on order since a week ago and alrady have a RPI 5 8GB board in my hand, I'm lookon forward to follow this development and will if It's not ower my capacity try to help out. In any case I admire your work and looking forward to upcoming updates. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the wishes! I've installed Bookworm 64-bit on the Raspberry Pi. Installing LinuxCNC was a bliss, took way under an hour to get things up and running. Comparing with the start of this project, LinuxCNC and the RaspberryPi OS came a long way. However, I didn't have luck yet getting the JTAG working on the RPi5. When trying to flash the card I get the following error:
|
Beta Was this translation helpful? Give feedback.
-
Trying now to get around this error by using sudo apt-get install gpiod libgpiod-dev
mkdir tmp_openocd && cd tmp_openocd
git clone http://openocd.zylin.com/openocd
cd openocd
./bootstrap
./configure --enable-sysfsgpio --enable-bcm2835gpio --enable-libgpiod
make
sudo make install
cd ../..
rm -r tmp_openocd -f |
Beta Was this translation helpful? Give feedback.
-
With
The new Rpi1 chipset is
Based on this information, I made a new config-file which uses the
I placed this file in the directory litexcnc flash_firmware --programmer pi5-gpiod colorlight.svf Which gives the following very nice result: INFO: Flashing firmware to LED-card.
Open On-Chip Debugger 0.12.0+dev-00445-g492dc7c53 (2023-12-27-23:25)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
jtag
Info : Linux GPIOD JTAG/SWD bitbang driver
Info : Note: The adapter "linuxgpiod" doesn't support configurable speed
Info : JTAG tap: ecp5.tap tap/device found: 0x41111043 (mfg: 0x021 (Lattice Semi.), part: 0x1111, ver: 0x4)
Warn : gdb services need one or more targets defined
svf processing file: "/home/cnc/git/emco5/firmware/emco5_spi_all_input/gateware/colorlight.svf"
95% INFO: Successfully flashed the LED-card JTAG is unlocked. Will create some modifications with the Python package so everybody can enjoy! |
Beta Was this translation helpful? Give feedback.
-
Trying to run LitexCNC with the
So some more work is required to get this driver working. Going to try the fall-back driver (which uses |
Beta Was this translation helpful? Give feedback.
-
The fallback driver
Only found two issues:
I will add this to the TODO-list for supporting the RasberryPi5. General conclusion: a RPi5 will work for LitexCNC! |
Beta Was this translation helpful? Give feedback.
-
Changes are merged with main and will be added to upcoming release |
Beta Was this translation helpful? Give feedback.
-
On the LinuxCNC forum there are users experimenting with the RPi5. There are problems reported with running the MESA SPI cards.
I've ordered a RPi5 and it arrived at my door this week. Planning to test the support of the SPI for LitexCNC between during the Christmas holidays. Will keep you posted!
Beta Was this translation helpful? Give feedback.
All reactions