Raspberry Pi 4 install

More
5 years 11 months ago #190641 by dennis.lewis5
I am having problems installing rtai on a Raspberry Pi 4. Using the instructions given linuxcnc.org/docs/2.8/html/getting-start...#cha:Installing-RTAI it is ok until step 5. Then the wheels come off.

The Pi has Raspberry 64bit os ( www.raspberrypi.org/forums/viewtopic.php?t=275370 ) installed.

Any guidance would be appreciated..

Here is the results as shown in the terminal. The problem shows up on the last few lines.

Code:
pi@raspberrypi:~ $ sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef Executing: /tmp/apt-key-gpghome.2OYBziChRB/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef gpg: key 3CB9FD148F374FEF: public key "EMC Archive Signing Key <emc-board@linuxcnc.org>" imported gpg: Total number processed: 1 gpg: imported: 1 pi@raspberrypi:~ $ echo deb http://linuxcnc.org/ buster base 2.8-rt | sudo tee -a /etc/apt/sources.list.d/linuxcnc.list deb http://linuxcnc.org/ buster base 2.8-rt pi@raspberrypi:~ $ sudo apt-get update Get:1 http://deb.debian.org/debian buster InRelease [121 kB] Get:2 http://linuxcnc.org buster InRelease [28.5 kB] Get:3 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:4 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:5 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:6 http://deb.debian.org/debian buster/main armhf Packages [7,698 kB] Get:7 http://linuxcnc.org buster/base armhf Packages [5,153 B] Get:8 http://linuxcnc.org buster/2.8-rt armhf Packages [1,587 B] Get:9 http://archive.raspberrypi.org/debian buster/main arm64 Packages [244 kB] Get:10 http://archive.raspberrypi.org/debian buster/main armhf Packages [336 kB] Get:11 http://deb.debian.org/debian buster/main arm64 Packages [7,736 kB] Get:12 http://deb.debian.org/debian buster/main Translation-en [5,968 kB] Get:13 http://deb.debian.org/debian buster/contrib armhf Packages [40.4 kB] Get:14 http://deb.debian.org/debian buster/contrib arm64 Packages [38.7 kB] Get:15 http://deb.debian.org/debian-security buster/updates/main arm64 Packages [248 kB] Get:16 http://deb.debian.org/debian-security buster/updates/main armhf Packages [248 kB] Get:17 http://deb.debian.org/debian-security buster/updates/main Translation-en [138 kB] Get:18 http://deb.debian.org/debian buster-updates/main arm64 Packages [7,848 B] Get:19 http://deb.debian.org/debian buster-updates/main armhf Packages [7,844 B] Fetched 23.0 MB in 16s (1,433 kB/s) Reading package lists... Done N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.5' to '10.6' N: Skipping acquire of configured file 'base/binary-arm64/Packages' as repository 'http://linuxcnc.org buster InRelease' doesn't support architecture 'arm64' N: Skipping acquire of configured file '2.8-rt/binary-arm64/Packages' as repository 'http://linuxcnc.org buster InRelease' doesn't support architecture 'arm64' pi@raspberrypi:~ $ sudo apt-get install linux-image-4.14.174-rtai-amd64 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-image-4.14.174-rtai-amd64 E: Couldn't find any package by glob 'linux-image-4.14.174-rtai-amd64' E: Couldn't find any package by regex 'linux-image-4.14.174-rtai-amd64' pi@raspberrypi:~ $

Please Log in to join the conversation.

More
5 years 10 months ago #190803 by rollfree
Replied by rollfree on topic Raspberry Pi 4 install
RTAI on a Raspberry Pi 4?
RTAI is available only for i386 or amd64 architecture, I think.

Please Log in to join the conversation.

More
5 years 10 months ago #190807 by dennis.lewis5

Please Log in to join the conversation.

More
5 years 10 months ago #190808 by rollfree
Replied by rollfree on topic Raspberry Pi 4 install
Yes. Debian Buster 10 with RTAI on amd64 architecture. No problem.
But no on the RPi4 with arm64 architecture.

Please Log in to join the conversation.

More
5 years 10 months ago #190815 by dennis.lewis5
I will give you that. My mistake on not reading that any closer than I did.

Please Log in to join the conversation.

More
5 years 10 months ago #190817 by PCW
Replied by PCW on topic Raspberry Pi 4 install
RTAI is x86 only, you need to use a RPI4 specific installation like:

www.linuxcnc.org/iso/linuxcnc-2.8.0-pi4.zip

Please Log in to join the conversation.

More
5 years 10 months ago #190931 by dennis.lewis5
I understand that I misread the posting. I confused amd64 with arm64.


Can anyone explain why prempt rt is used rather than RTAI ?

Please Log in to join the conversation.

More
5 years 10 months ago #190967 by elovalvo
Replied by elovalvo on topic Raspberry Pi 4 install
You can try 64-bit Preempt rt, as described here:

forum.linuxcnc.org/9-installing-linuxcnc...xcnc?start=10#181585

Please Log in to join the conversation.

More
5 years 10 months ago #190972 by dennis.lewis5
I have installed the 64 bit preempt rt. It may be able to meet my needs, that is to be determined. Unlike most others I intend to use the base thread for my i/o, a latency of < 20uS would be desirable but not obtainable on this platform, maybe not any platform. Not using Mesa. Plan to build my own 48 pin optically isolated i/o and using stepgen, a modified version of parport might be the best explanation of this system. Using this to run a 3 axis router with 10 tpi acme thread. Speed is not the highest priority.

Please Log in to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum