RPI4 Raspbian 64 bit & LinuxCNC

More
5 years 5 months ago #210543 by cakeslob

Doogie wrote: Just to confirm, I loaded 64bit LinuxCNC 2.9.0pre0( lcnc_2.9.0pre0_rt64a.zip ) to a uSD, installed Remora and my Remora Ender 3 configuration and it works as usual. Except that I noticed all 4GB of RAM is now accessible as opposed to 3GB previously.

I've only run an operational test to validate it at least works as previously on the 32bit 2.8.1 image.

yeah sounds about right

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

More
5 years 2 months ago - 5 years 2 months ago #217552 by elovalvo
To continue experimenting with using LinuxCNC with a 64-bit kernel on Raspberry Pi 4 I have updated the SD image.
The image, downloadable at the following link:

drive.google.com/file/d/1WhEeqCz0PC6oucp...XUs/view?usp=sharing

is based on Linux raspberrypi 5.10.52-rt47-v8 with PREEMPT_RT and is precharged with the LinuxCNC 2.9.0~pre0 version.

Can be installed with Raspberry Pi Imager
www.raspberrypi.org/software

that in the latest version allows you to modify some startup parameters by using hidden commands that can be accessed with the CTRL+SHIFT+X key combination.

This is latency test obtained from command:

latency-histogram --nobase --sbinsize 1000 --show

 
Last edit: 5 years 2 months ago by elovalvo.
The following user(s) said Thank You: jnp1968

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

More
5 years 2 months ago #217595 by tommylight
What happens when adding some glxgears and minimise/maximise them ?
The following user(s) said Thank You: seuchato, snowgoer540

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

More
5 years 2 months ago #217767 by cakeslob
Trying to test out the new image elovalvo, your work is appreciated, but just a few comments
For some reason, every image I download from you (this is the 4th so far), it says the image is corrupted when I unpack the rar files. Ive even redownloaded and it still says corrupted but images appear to load fine.
Unpacked, this image is 8gb so it takes a long time to load it to sd card, I think it took me like 3-4 hours or something.
Lastly, what power supply/setup are you using? When I load the 2.9pre_rt64a on my setup it is incredibly power hungry. it boots the os, but trying to do anything causes huge latency spikes related to not enough voltage. I can assume the improved latency is related to the power draw, but ive only been able to successfully run these images on a CM4 with 12v power supply. this newest one with even latency improved even more(2.9pre_rt64b), I cannot fully boot to os on 2 of my setups so far(normal RPI4). I will try a few more later today, and report back.
That being said, I have had unwavering success with the 32bit 5.4 images you posted some time ago, and have it loaded on several of my setups without issue. Thank you for your work.
The following user(s) said Thank You: elovalvo

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

More
5 years 2 months ago #217996 by elovalvo

Trying to test out the new image elovalvo, your work is appreciated, but just a few comments
For some reason, every image I download from you (this is the 4th so far), it says the image is corrupted when I unpack the rar files. Ive even redownloaded and it still says corrupted but images appear to load fine.
Unpacked, this image is 8gb so it takes a long time to load it to sd card, I think it took me like 3-4 hours or something.
Lastly, what power supply/setup are you using? When I load the 2.9pre_rt64a on my setup it is incredibly power hungry. it boots the os, but trying to do anything causes huge latency spikes related to not enough voltage. I can assume the improved latency is related to the power draw, but ive only been able to successfully run these images on a CM4 with 12v power supply. this newest one with even latency improved even more(2.9pre_rt64b), I cannot fully boot to os on 2 of my setups so far(normal RPI4). I will try a few more later today, and report back.
That being said, I have had unwavering success with the 32bit 5.4 images you posted some time ago, and have it loaded on several of my setups without issue. Thank you for your work.
Dear cakeslob,
I preferred to use a complete image (and therefore inevitably large) to avoid having to redo a series of commands that are reported in the first post of the topic and that allow you to change the 64-bit operating system with the Preempt_rt and load the version of LinuxCNC compatible with this.

In any case, the image is ZIP-ped and not RAR-red, so as to be able to use the Raspberry Pi Imager directly without unpacking the archive.

Even for the installation I did not have the problems that you report.
I used a common PC with the Raspberry Pi Imager using a USB 3.0 card reader with an SD card at least class 10.
The procedure in this case takes about 10-15 min.

The power supply, as reported in
www.raspberrypi.org/products/raspberry-p...el-b/specifications/
must provide a power of at least 3 Amps.
Check your power supply.
 

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

More
5 years 2 months ago #218101 by cakeslob
My power supplies are alright, its just a noticeable difference from 32bit images so I was curious , but it appears Ive been wasting a lot of time unziping these images, thank you

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

Time to create page: 0.467 seconds
Powered by Kunena Forum