Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kirkstone: Add Raspberry Pi 5 #1271

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

leon-anavi
Copy link
Contributor

Backport Raspberry Pi 5 support to branch kirkstone.

This work was sponsored by GOVCERT.LU.

- What I did

Added Raspberry Pi 5 support to branch Kirstone.

- How I did it

Backported Raspberry Pi 5 support from the main branch to Kirstone and recipe for kernel 6.1. Tested core-image-minimal based on Kirkstone on Raspberry Pi 5:

raspberrypi5 login: root
[  161.675773] audit: type=1334 audit(1706265765.843:6): prog-id=9 op=LOAD
[  161.682481] audit: type=1334 audit(1706265765.851:7): prog-id=10 op=LOAD
[  161.793139] audit: type=1006 audit(1706265765.963:8): pid=207 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[  161.805486] audit: type=1300 audit(1706265765.963:8): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=7ffffde8a990 a2=1 a3=0 items=0 ppid=1 pid=207 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd" key=(null)
[  161.831255] audit: type=1327 audit(1706265765.963:8): proctitle="(systemd)"
[  161.838282] audit: type=1334 audit(1706265765.971:9): prog-id=11 op=LOAD
[  161.845025] audit: type=1300 audit(1706265765.971:9): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=7fffc81995b0 a2=78 a3=5555b8dac820 items=0 ppid=1 pid=207 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
[  161.871755] audit: type=1327 audit(1706265765.971:9): proctitle="(systemd)"
[  161.878754] audit: type=1334 audit(1706265765.975:10): prog-id=11 op=UNLOAD
[  161.885748] audit: type=1334 audit(1706265765.975:11): prog-id=12 op=LOAD
root@raspberrypi5:~# uname -a
Linux raspberrypi5 6.1.61-v8_16k #1 SMP PREEMPT Thu Nov  9 14:54:02 UTC 2023 aarch64 GNU/Linux

@leon-anavi leon-anavi changed the title Add Raspberry Pi 5 Kirkstone: Add Raspberry Pi 5 Jan 26, 2024
@kraj kraj self-requested a review January 26, 2024 17:35
Copy link
Collaborator

@kraj kraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok to me.

@agherzan
Copy link
Owner

agherzan commented Feb 1, 2024

CI builds fail on a dtb. Can you check it, @leon-anavi ?

Backport Raspberry Pi 5 support to branch kirkstone.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <[email protected]>
@leon-anavi
Copy link
Contributor Author

CI builds fail on a dtb. Can you check it, @leon-anavi ?

I fixed with two changes:

  • Set PREFERRED_VERSION_linux-raspberrypi = "6.1%" in the configuration for raspberrypi5
  • Left bcm2712-rpi-5-b.dtb in RPI_KERNEL_DEVICETREE only for raspberrypi5 because other machines by use older version of the kernel where the dts is not present.

Best regards,
Leon

@agherzan agherzan merged commit 9dc6673 into agherzan:kirkstone Feb 14, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants