Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

More
27 Mar 2025 22:51 #325122 by unknown
Hi tommy unable to edit posts in the locked index thead.

Cheers
Rob

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
28 Mar 2025 01:12 #325128 by tommylight
Unlocking now.
The following user(s) said Thank You: unknown

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

More
03 Apr 2025 16:03 #325626 by jdowsonjr
I can give it a try, could you please share more details on how you got ethercat installed so i can reproduce your setup?

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

More
03 Apr 2025 21:37 #325644 by unknown
Look for the ethercat thread, process is the same for as for the amd64 platform.

I have gone through the installation process and it completes without any errors.

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

More
21 Apr 2025 10:56 #326800 by jdowsonjr
i was able to bench test the image with the ethercat master installed from the repositories and it works. The only thing i found peculiar was that when jogging with the keyboard i could notice some random jitter in the drive. This did not happen with the amd64 cpu i was using before. I suspect this could just be an issue with the keyboard input on the pi though as that jitter is not present with commands from the MDI

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

More
22 Apr 2025 00:26 #326858 by unknown
Thanks for your input. Keyboard input is USB, so meh, not a lot that can be done about that.

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

More
22 Apr 2025 16:29 - 22 Apr 2025 18:32 #326901 by fletch
I hope this is the right thread, please move if it isn't...

I'm investigating converting my NUC to a Pi 5 - the install from the official Pi5 image went perfectly but as I'm using a Mesa 7i96 and the Pi will end up inside the cabinet, I need to use a USB WiFi adapter for its external antenna.

The dongle is a Reaktek RTL8811AU (external antenna'd ones seem to be getting rare) so I think I need to install this: github.com/lwfinger/rtw88?tab=readme-ov-file#installation-guide Happy to be corrected if I don't because I'd rather not.

If I do a
uname -r
I get 6.12.11 but this:
sudo apt install linux-headers-$(uname -r)
is "Unable to locate package linux-headers-6.12.11"

An apt search reveals a bunch of 6.1.0x Linux headers and a few 6.12.12+bpo headers but no 6.12.11. Not sure what to do now, so any guidance would be appreciated - even if it's a link to a natively supported USB WiFi!

Edit: Running
apt list --installed | grep headers
instead of apt searching for 'linux-headers-6' reveals 'linux-headers-bcm2712-rpi/now 6.12.11-1 arm64' are already installed. Why the headers don't match the uname -a is slightly above my pay grade.
Last edit: 22 Apr 2025 18:32 by fletch. Reason: Might hopefully help someone?

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

More
22 Apr 2025 20:44 #326918 by unknown
The kernel is a custom one based on the RPi sources, as such the kernel headers are preinstalled.
If you read the very first post in this thread you will realise that the image is based on Debian 12 with a RT kernel based on the RPi sources.
I have my Pi in a metal enclosure and haven't noticed any issues with wifi. Your mileage may vary.
Have you tried plugging in your dongle and checked if the kernel loads drivers ?
The following user(s) said Thank You: fletch

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

More
22 Apr 2025 21:16 #326920 by unknown
Drivers build & load without having to install any "extras".
git clone https://github.com/lwfinger/rtw88

cd rtw88

make

sudo make install

sudo make install_fw
The following user(s) said Thank You: fletch

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

More
23 Apr 2025 08:05 #326938 by fletch
Thank you very much for your replies. I did read all of this thread (all 7 pages!) but didn't quite make the connection that the linux-headers would be named differently for rpi. I've used the 'sudo apt install linux-headers-$(uname -r)' a fair few times in the past but it's the first time I've noticed a mismatch between uname and the installed headers. Every day is a learning opportunity - even with a Bank Holiday brain.

I also did try just plugging the dongle in but according to this the drivers are not merged into the kernel until 6.13. The WiFi in my workshop is pretty weak - my NUC with two antennas struggles to with signal from the AP - I suspect the foil faced insulation board is creating a bit of a Faraday cage. And it's the ISP supplied router/AP at that end.

Once I'd 'discovered' the headers were already installed, I did the Basic Installation for All Distros and success!

For anyone else following along, the RTL8811AU chipset requires the rtw_8821au driver to be loaded (modprobe'd) as per this issue .

Thanks again, much appreciated.
 

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

Time to create page: 0.123 seconds
Powered by Kunena Forum