RPI4 Debian 64bit
01 Mar 2020 19:34 - 17 Apr 2021 14:26 #158905
by tjmarch
RPI4 Debian 64bit was created by tjmarch
There is a better way of doing this removing all file and links
Will start a new thread with new method soon.
Will start a new thread with new method soon.
Last edit: 17 Apr 2021 14:26 by tjmarch.
Please Log in or Create an account to join the conversation.
23 May 2020 18:37 #168706
by cakeslob
Replied by cakeslob on topic RPI4 Debian 64bit
The million dollar question for me, can you load backplot in qtvcp or qtpyvcp screens, using debian instead of raspbian?
Please Log in or Create an account to join the conversation.
23 May 2020 19:53 #168715
by tjmarch
Replied by tjmarch on topic RPI4 Debian 64bit
You will have to try it and see
Please Log in or Create an account to join the conversation.
23 May 2020 23:45 #168748
by phillc54
Replied by phillc54 on topic RPI4 Debian 64bit
There are Buildbot packages for armhf built on a Pi:
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-armhf/
buildbot.linuxcnc.org/dists/buster/maste...reempt/binary-armhf/
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-armhf/
buildbot.linuxcnc.org/dists/buster/maste...reempt/binary-armhf/
Please Log in or Create an account to join the conversation.
24 May 2020 04:55 #168767
by tjmarch
Replied by tjmarch on topic RPI4 Debian 64bit
Ok thanks for the info but is it 32 bit which I am sure it is, this post refers to a 64 bit Debian build
Please Log in or Create an account to join the conversation.
- thekarlmiller
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
17 Aug 2020 09:50 #178472
by thekarlmiller
Replied by thekarlmiller on topic RPI4 Debian 64bit
This is how I attempted to load LinuxCNC 2.8 on a RPi 4 with 4GB ram according to the instructions in this post. The text below is exactly what I typed and did (stuff in parenthesis are my comments), but runs has jitter numbers in the 85,000,000ns range without doing ANYTHING on the Raspberry Pi but login to the XFCE gui as debian and selected the Jitter test.
Is there some other RPi overclock or something similar that this post does not mention to get reasonble jitter
numbers?
Here are the steps I used (in this order):
Is there some other RPi overclock or something similar that this post does not mention to get reasonble jitter
numbers?
Here are the steps I used (in this order):
(download Raspberry Pi imager program (https://www.raspberrypi.org/downloads/)
(use it to burn rpi4-debian64-rtkernel64.img.xz image from (https://forum.linuxcnc.org/9-installing-linuxcnc/38494-rpi4-debian-64bit))
(connect RPi to wired network, plugin keyboard )
(login as user debian, passwd=debian)
sudo passwd root (change it to debian)
sudo apt-get -y update
sudo apt-get -y upgrade
sudo reboot
sudo sh /boot/install.sh
(copied there after flashing the sd card (before booting Pi with it)
from https://www.raspberrypi.org/forums/viewtopic.php?t=42836, which suggests using
install.sh from https://github.com/EmilGus/install_raspi-config)
sudo apt --fix-broken install (raspi-config install failed so someone online suggested this and the subsequent --expand-rootfs worked okay)
sudo reboot
(login as debian/debian)
sudo raspi-config --expand-rootfs
sudo reboot
sudo dpkg-reconfigure locales ( choose en_US.UTF-8 )
sudo dpkg-reconfigure keyboard-configuration
sudo dpkg-reconfigure tzdata ( choose US/Eastern )
sudo reboot
sudo tasksel ( choose XFCE )
sudo reboot
sudo apt-get install cifs-utils (to mount samba utilities)
sudo mount.cifs //mycomputer/share /home/debian/mnt/lcnc-binaries/ -o user=myusername,pass=<place password here>
cd /home/debian/mnt/lcnc-binaries/.../<path to zip files from (https://forum.linuxcnc.org/9-installing-linuxcnc/38494-rpi4-debian-64bit)
mkdir /home/debian/linuxcnc-install-files
cp linuxcnc-debs-2.8.zip /home/debian/linuxcnc-install-files
cp linuxcnc-mem-services.zip /home/debian/linuxcnc-install-files
cd /home/debian/linuxcnc-install-files
sudo unzip /home/debian/linuxcnc-install-files/linuxcnc-mem-services.zip -d /etc/systemd/system
unzip linuxcnc-debs-2.8.zip
mv linuxcnc\ debs\ 2.8/ linux-cnc-debs-2.8
sudo mv /etc/systemd/system/mem\ services/set* /etc/systemd/system
sudo rm -rf /etc/systemd/system/mem\ sevices/
sudo systemctl enable setmempermissions.service
sudo systemctl start setmempermissions.service
sudo systemctl enable setgpiomempermissions.service
sudo systemctl start setgpiomempermissions.service
sudo reboot -n
sudo ls -l /dev | more (looking for mem and gpiomem)
sudo apt install gdebi gdebi-core
sudo gdebi -n /home/debian/linuxcnc-install-files/linux-cnc-debs-2.8/linuxcnc-doc-en_2.8.0~pre1_all.deb
sudo gdebi -n /home/debian/linuxcnc-install-files/linux-cnc-debs-2.8/linuxcnc-uspace_2.8.0~pre1_arm64.deb
sudo reboot
(login to XFCE gui as debian, and run the LinuxCNC Jitter test)
Please Log in or Create an account to join the conversation.
17 Aug 2020 09:53 #178473
by phillc54
Replied by phillc54 on topic RPI4 Debian 64bit
Have you seen this:
forum.linuxcnc.org/9-installing-linuxcnc...-bit-linuxcnc#178299
forum.linuxcnc.org/9-installing-linuxcnc...-bit-linuxcnc#178299
Please Log in or Create an account to join the conversation.
- thekarlmiller
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
18 Aug 2020 03:29 #178565
by thekarlmiller
Replied by thekarlmiller on topic RPI4 Debian 64bit
Thank you so much. That looks promising. I will give it a try. I am already in my third day of just getting it running.
The forum posts are useful in some cases, however, most of these posts seem to ramble for page, after page of people trying to solve very specific driver issues, or dealing with a specific issue with a certain distribution.
Thank you again. Hopefully you will see me responding shortly about how well this worked.
The forum posts are useful in some cases, however, most of these posts seem to ramble for page, after page of people trying to solve very specific driver issues, or dealing with a specific issue with a certain distribution.
Thank you again. Hopefully you will see me responding shortly about how well this worked.
Please Log in or Create an account to join the conversation.
01 Mar 2021 06:59 #200508
by tjmarch
Replied by tjmarch on topic RPI4 Debian 64bit
For lower latency try with "processor.max_cstate=1 isolcpus=2,3" in /boot/cmdline.txt
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds