agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
505 stars 396 forks source link

Kirkstone: Add Raspberry Pi 5 #1271

Closed leon-anavi closed 4 months ago

leon-anavi commented 5 months ago

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
agherzan commented 5 months ago

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

leon-anavi commented 5 months ago

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

I fixed with two changes:

Best regards, Leon