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

  • Cant do this anymore bye all
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 11 months ago #285614 by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5
if you use the commit we have been using it wont boot, if my experience is anything to go by. I'm trying to build natively with the 6.1.y branch

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

More
2 years 11 months ago - 2 years 11 months ago #285618 by rodw
I have uploaded an image for the Raspberry Pi 5 here:
drive.google.com/drive/folders/1B29ewKVL...0QJGj?usp=drive_link
The RT kernel and the headers are available in the kernel sub folder. You could try installing both with dpkg -i on an ordinary image.

Please let me know how you get on.
Note the Linuxcnc repos are set up in your sources. (I hope) 
so
sudo apt update
sudo apt upgrade 
should be valid and not break anything.
But there will be nothjing to upgrade unless one of these happens:
1. Debian releases an updated version of Bookworm
2. Debian releases som urgent security patches
3. Linuxcnc doeas an upgrade from version 2.9.1

Please give your feedback I don't have a Pi 5.
Last edit: 2 years 11 months ago by rodw.

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

More
2 years 11 months ago #285619 by rodw

if you use the commit we have been using it wont boot, if my experience is anything to go by. I'm trying to build natively with the 6.1.y branch
I hope it does now. There isn't a later PREEMPT_RT merged into their kernel.
Its possible if you accepted the defaults you built a 4b kernel
You have to run menuconfig as it was configured to build a kernel for the 4b/400 with a saved defconfig

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

  • Cant do this anymore bye all
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 11 months ago #285623 by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5
I used the kernel-builder script referenced earlier, no boot with the commit we've used for the rp4 (non-realtime), finally got it to boot with the 6.1.y branch.

One thing of note in the commit there is no arch/arm64/configs/bcm2712_defconfig but it is there in the 6.1.y branch.

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

More
2 years 11 months ago - 2 years 11 months ago #285625 by danielfmo

Cornholio post=285614 userid=35653
if you use the commit we have been using it wont boot, if my experience is anything to go by. I'm trying to build natively with the 6.1.y branch
I hope it does now. There isn't a later PREEMPT_RT merged into their kernel.
Its possible if you accepted the defaults you built a 4b kernel
You have to run menuconfig as it was configured to build a kernel for the 4b/400 with a saved defconfig
I tried that image and it does not boot in a rpi5, in fact there are no bcm2712-rpi-5-b.dtb file being generated, so I'd assume that 5_6.1.54-rt15 does not support the rpi5. 

I merged your master branch into the linuxcnc-2.9.1 and updated the kernel hash and patch to 5_6.1.59-rt16. 
Kernel gets into gets into a "running /scripts/local/block" loop and the rootfs fails to build.

chroot: failed to run command ‘/debootstrap/debootstrap’: Exec format error
make: *** [Makefile:157: rootfs] Error 126

Last edit: 2 years 11 months ago by danielfmo.

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

More
2 years 11 months ago #285640 by danielfmo
Kernel built with latest 6.1.y commit with rt16 patch does boot with previously shared bookwork image.

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

Time to create page: 0.145 seconds
Powered by Kunena Forum