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

More
1 year 7 months ago #325122 by unknown
Hi tommy unable to edit posts in the locked index thead.

Cheers
Rob

Please Log in to join the conversation.

More
1 year 7 months ago #325128 by tommylight

Please Log in to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

More
1 year 6 months ago #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
Code:
uname -r
I get 6.12.11 but this:
Code:
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
Code:
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.

Please Log in to join the conversation.

More
1 year 6 months ago #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 ?

Please Log in to join the conversation.

More
1 year 6 months ago #326920 by unknown
Drivers build & load without having to install any "extras".
Code:
git clone https://github.com/lwfinger/rtw88 cd rtw88 make sudo make install sudo make install_fw

Please Log in to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum