Last update of LinuxCNC Raspberry Pi4 USB does not work
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.
Please Log in or Create an account to join the conversation.
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.
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
Please Log in or Create an account to join the conversation.
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.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1150
- Thank you received: 184
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
Please Log in or Create an account to join the conversation.
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.
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.
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?
Please Log in or Create an account to join the conversation.
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.