Last update of LinuxCNC Raspberry Pi4 USB does not work

More
14 Jan 2021 17:24 #195347 by alkabal
Hi

My unit is : Rpi4gb c03111 (rev 1.1)

After apt-get upgrade with your official iso i have no more usb like other persons. (so i use it without upgrade for now) i can try something if needed.

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

More
14 Jan 2021 18:27 #195355 by andypugh
Which kernel are you running? Does it work?

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

More
14 Jan 2021 18:34 #195356 by zz912

Can those with this problem please state exactly which model of Pi they are using?

One possible problem is that the 8GB Pi needs a 64bit kernel if it is going to address more than 4GB.


I have RPI 4 4GB

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

More
14 Jan 2021 18:34 - 14 Jan 2021 18:36 #195357 by alkabal
The built in firmware from linucnc rpi4 iso

But i have purge buildbot install and use RIP, so i repeat i have do the whole instal for compiling without using "upgrade", this is done with SDcard, i haven't try again with usb boot.
Linux linuxcnc 4.19.71-rt24-v7l+ #4 SMP PREEMPT RT Thu Apr 30 22:00:15 CDT 2020 armv7l GNU/Linux

With this setup yes all work fine for the moment

BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
 LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
 FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000138a1
 LATEST: 000137ad
Last edit: 14 Jan 2021 18:36 by alkabal.

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

More
14 Jan 2021 23:34 #195379 by andypugh
Right, I think that you have one of the models with a USB eeprom, and those work (this is also what I have)

Newer ones report:

$ sudo rpi-eeprom-update
BCM2711 detected
VL805 firmware in bootloader EEPROM

ie, the USB firmware comes from the bootloader.

Those might not work.

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

More
16 Jan 2021 14:31 - 16 Jan 2021 14:32 #195532 by Mike_Eitel
If I'm not wrong they just recently made a BIOS upgrade.
I'm in proces of doing some docker stuff and saw wir apt full-upgrade there was something with bios...
P. S. I'm booting/running from ssd. No sd cards anymore.
Mike
Last edit: 16 Jan 2021 14:32 by Mike_Eitel. Reason: F... speller

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

More
16 Jan 2021 18:52 #195557 by pauluzs
It's been a long time since i used linuxcnc and now getting back at it while also trying a raspberry pi setup.

regarding the usb, faced the same problem on a 4 gb

This seem not to be fixed up to kernel 5.7 ( wiki.debian.org/RaspberryPi4#Raspberry_PI_4_8G )
Was wondering if anyone already tried using debian's own release from raspi.debian.net/ i
and the 5.9.15-1 rt kernel from : packages.debian.org/buster-backports/linux-image-rt-arm64

For now i'm using the raspberrypi iso from the linuxcnc site, this works as long as no updates are done.

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

More
16 Jan 2021 23:53 #195595 by andypugh
If you want to try to compile your own kernel then I recommend the repository that I am working with:

github.com/LinuxCNC/raspberrypi-linux

That is a recent clone of the main Pi repository, with the realtime patch and some tweaks for building a debian package for installing the kernel.

I have made several kernels with that repo that work for me, including with realtime and working LinuxCNC.

It might well work if you follow the instructions here: www.raspberrypi.org/documentation/linux/kernel/building.md

(As I think that the problems in the packages that I have put out might be in the packaging)

You probably need to "make menuconfig" before the the make stage, and ensure that General->preemption is set to "full preemption-RealTime" (Note, these options are not exactly that. But they are in General and about 7 options down)

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

More
17 Jan 2021 00:38 - 17 Jan 2021 00:40 #195611 by pauluzs
Have seen that repoitory only thing : Isn't the main Pi repository 32 bit?

The Pi4 is arm64 bits and i wanted to skip compiling a whole new kernel for that and rather take the shortcut.

To achive that i just download a tested (non-rt) arm64 bit image raspi.debian.net/verified/20201112_raspi_4.img.xz and flashed it to a SD:
uname -a
Linux rpi4-20201112 5.8.0-0.bpo.2-arm64 #1 SMP Debian 5.8.10-1~bpo10+1 (2020-09-26) aarch64 GNU/Linux

Then install the arm64 rt kernel:
apt-get update && apt-get upgrade
apt-get install wget
wget ftp.debian.org/debian/pool/main/l/linux-...-1~bpo10+1_arm64.deb
apt-get install ./linux-image-5.9.0-0.bpo.5-rt-arm64_5.9.15-1~bpo10+1_arm64.deb
systemctrl reboot

uname -a
Linux rpi4-20201112 5.9.0-0.bpo.5-rt-arm64 #1 SMP PREEMPT_RT Debian 5.9.15-1~bpo10+1 (2020-12-31) aarch64 GNU/Linux

Usb is working fine in this one even after apt-get update/grade,

Currently strugeling with display drivers stuck at 640 not sure if thats the kernel or hdmi>vga adapter

Could you tell some more about specific patches and settings like power-manegement locking cpu freq etc , necessary for linuxcnc?
Last edit: 17 Jan 2021 00:40 by pauluzs.

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

More
17 Jan 2021 12:59 #195657 by andypugh

Have seen that repoitory only thing : Isn't the main Pi repository 32 bit?


The Pi repository can be compiled for any architecture (including RISC and MIPS). I compiled an arm64 kernel yesterday using it, but it won't install as even a Pi set up with a (stock) 64 bit kernel has a 32-bit userspace and rejects an arm64 kernel deb.

The Pi4 is arm64 bits and i wanted to skip compiling a whole new kernel for that and rather take the shortcut.


LinuxCNC does not really benefit from 8GB of memory. (And, as the LinuxCNC armhf image is 32 bits, couldn't use it anyway)

uname -a
Linux rpi4-20201112 5.9.0-0.bpo.5-rt-arm64 #1 SMP PREEMPT_RT Debian 5.9.15-1~bpo10+1 (2020-12-31) aarch64 GNU/Linux


Does Linuxcnc install and run (in realtime) on that system?

My understanding (possibly wrong) is that the Pi kernel has significant differences from a vanilla arm kernel, which is why we have been working with the forked Pi kernel sources.

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

Time to create page: 0.096 seconds
Powered by Kunena Forum