Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5

More
20 Jun 2024 23:21 #303453 by cakeslob
elovalvo, where can I find youre raspian12 bookworm image for the rpi4? is it the same as rpi5? I went searching through a bunch of threads but cannot find RPi4

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

More
21 Jun 2024 15:19 #303495 by elovalvo
No, the images are different.
If you wait a couple of days I can create updated ones for both versions of Raspberry
The following user(s) said Thank You: cakeslob

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

More
24 Jun 2024 14:40 - 25 Jun 2024 06:39 #303696 by elovalvo

No, the images are different.
If you wait a couple of days I can create updated ones for both versions of Raspberry


Here are the files I promised you

drive.google.com/file/d/1jBEO7Acl0C0t4id.../view?usp=drive_link  (Pi5 - kernel-6.6.32-v8-16k-elv.zip)

drive.google.com/file/d/1B58q4xJgBR4GnxI.../view?usp=drive_link  (Pi4, Pi400 - kernel-6.6.32-v8-elv.zip)

drive.google.com/file/d/1ltrkbEiI_BssNY0.../view?usp=drive_link (install-kernel)

Since for building the RT kernel I followed this procedure (forums.raspberrypi.com/viewtopic.php?t=343387), in the next post I describe the procedures for using.
Last edit: 25 Jun 2024 06:39 by elovalvo.
The following user(s) said Thank You: cakeslob

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

More
24 Jun 2024 15:01 - 24 Jun 2024 15:07 #303697 by elovalvo
To install raspian12 bookworm image, prepare an SD card with the RaspiOS version for the type of Raspberry you are interested in (pi4, Pi400, Pi5).
I find it comfortable
www.raspberrypi.com/software/
because it also allows you to select various options (ssh, wifi, locales, etc..).

Boot the SD and run these commands from the terminal to update the RaspiOS version

sudo apt-get update
sudo apt-get upgrade
sudo reboot

Upon reboot, copy the install-kernel files and the zip file to the /tmp directory

Then run these commands from terminal


cd /tmp
chmod +x ./install-kernel
sudo ./install-kernel ./kernel-6.6.32-v8-elv.zip
(in the case of Pi4 and PI400)

or
sudo ./install-kernel ./kernel-6.6.32-v8-16k-elv.zip
(in the case of Pi5)

So you need to edit the cmdline.txt with
sudo nano "/boot/firmware/cmdline.txt"
adding the following commands to the end of the line
isolcpus=2,3 rcu_nocbs=2,3 nohz_full=2,3 max.processor.cstate=1
Last edit: 24 Jun 2024 15:07 by elovalvo.
The following user(s) said Thank You: cakeslob, cornholio

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

More
24 Jun 2024 23:10 #303721 by cakeslob
alright, awesome thank you!

question, your previous images had the rt already installed, is there some limitation to why they arent this time, or is it so you can hit update before loading the kernel?

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

More
25 Jun 2024 14:37 #303752 by elovalvo

alright, awesome thank you!

question, your previous images had the rt already installed, is there some limitation to why they arent this time, or is it so you can hit update before loading the kernel?

I chose this procedure because it allows you to choose the best Raspbian configuration (user, password, ssh, wifi, locales, etc..), to update an already existing version, to install the version of LinuxCNC of your choice and other alternatives.

However, for those who don't want to, in these links there are the ready-to-user images with LinuxCNC 2.9.2
(user:pi  pwd:raspberry)

OS: Linux raspberrypi 6.6.32-rpi999-rpi-v8 #1 SMP PREEMPT_RT Mon Jun 24 15:56:31 CEST 2024 aarch64
( image_lcnc_pi4.zip )

OS: Linux raspberrypi 6.6.32-rpi999-rpi-2712 #2 SMP PREEMPT_RT Sun Jun  9 10:10:54 CEST 2024 aarch64
( image_lcnc_pi5.zip )
 
The following user(s) said Thank You: cakeslob, rdtsc

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

More
25 Jun 2024 16:35 #303761 by cornholio
Another note if you want\need to run Axis you’ll want to use raspi-config to change from wayland to x11. Or anything that depends on the X11 libs, I found the way land compatibility layer really really slow.
The following user(s) said Thank You: elovalvo, cakeslob, rdtsc

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

More
04 Jul 2024 09:34 #304364 by cornholio
Awesome used all of elovalo bits to setup an Rpi5 with Pineberry NVME hat, works great.
The following user(s) said Thank You: tommylight, elovalvo

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

More
05 Jul 2024 23:48 #304505 by COFHAL
I have the official version of Debian 12 installed on my PI4, and I use it with my Mesa 7c81, the only problem is that for some reason the SPI port is disabled from the kernel and therefore it is not possible to write a new firmware to that card . Is there a Debian 12 kernel used on the PI4 that has the SPI port enabled by default? . As the official version of the LCN page does not depend on RASPBIAN, it is not possible to enable it with raspi-config or by modifying the config file.

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

More
06 Jul 2024 00:58 #304510 by cornholio
The Linuxcnx version uses the raspbian kernel sources, so it is possible to enable the SPI interface on the RP4. The config.txt file is not in the same location as on a raspbian install, it's still under a sub directory of boot.
The raspbian kernel is patched to allow loading of overlays, the mainline is not.
Modify your config.txt file, reboot and look under the /dev folder for spidev.xx files and they will be there.
I've used rod images and made my own images using the same tools,for testing a diy mesa 7c81 and know that it does work.

We made sure that SPI did work, at least on the RPi4, the RPi5 is a different kettle of fish.
The following user(s) said Thank You: COFHAL

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

Time to create page: 0.125 seconds
Powered by Kunena Forum