View previous topic :: View next topic |
Author |
Message |
thegrind n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Sep 2024 Posts: 29
|
Posted: Sun Feb 09, 2025 8:15 pm Post subject: Understanding the different kernels to compile |
|
|
I went to the github for the Rpi kernel and it takes you to version 6.6.y. I assume this is what is released with the Raspberry Pi OS.
I compiled and I am using 6.12.0-rc4-v8-16k+. I noticed that there is 6.6.y up to 6.14.y. I did a git pull on 6.12.0-rc4-v8-16k+ but it gave me the same kernel as it said something about a merge mismatch. Is there a newer version of 6.12 that I should compile or should I just go straight to 6.14 or stay where I am at (6.12.0-rc4-v8-16k+)? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Sun Feb 09, 2025 8:37 pm Post subject: |
|
|
thegrind,
6.6.y is the current LTS support kernel.
6.12,y will be the next one. It will become the default on the Pi when its ready
6.12.0-rc4-v8-16k+tells me that's a Pi5 :)
kernel.org has released 6.13.1. It will take while for the Raspberry Pi ratch set to be added.
6.14 has just started its rc stage.
Personally, I would use 6.6.y or 6.12.y ... well i do :)
You should not be using a 6.12 release candidate now.
In my 6.12.y branch Code: | git pull --depth 1 --ff-onlyremote: Enumerating objects: 882, done.
remote: Counting objects: 100% (882/882), done.
remote: Compressing objects: 100% (397/397), done.
remote: Total 444 (delta 425), reused 62 (delta 46), pack-reused 0 (from 0)
Receiving objects: 100% (444/444), 75.41 KiB | 2.43 MiB/s, done.
Resolving deltas: 100% (425/425), completed with 415 local objects.
From https://github.com/raspberrypi/linux
+ f42ab2179...1f193661c rpi-6.12.y -> origin/rpi-6.12.y (forced update)
error: Could not read a725d68aa7d68d89e4b1688166d703c58387fe57
error: could not parse commit a725d68aa7d68d89e4b1688166d703c58387fe57 |
Gets me Makefile: | ]VERSION = 6
PATCHLEVEL = 12
SUBLEVEL = 12 | so that's 6.12.12 as af a few minutes ago.
See bug 930063 too there are performance improvements in the Pi5 SPI EEPROM but they are not yet in ::gentoo. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo_ram Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 25 Oct 2007 Posts: 515 Location: San Diego, California USA
|
Posted: Tue Feb 11, 2025 1:13 am Post subject: |
|
|
For my RPi 4 and RPi 5's I'm using the Raspberry Pi kernel source from GitHub.
Code: | host /usr/src/linux # git remote -v
origin https://github.com/raspberrypi/linux.git (fetch)
origin https://github.com/raspberrypi/linux.git (push)
host /usr/src/linux # git status
On branch rpi-6.13.y
Your branch is up to date with 'origin/rpi-6.13.y'.
host /usr/src/linux # uname -a
Linux host 6.13.1-v8+ #24 SMP PREEMPT Mon Feb 3 11:36:21 PST 2025 aarch64 GNU/Linux |
I'm using the same 4k page size kernel for both RPi4 and RPi5. I created a custom config based on the bcm2711_defconfig. I removed some features I knew I wasn't going to use and added a few others.
I had bad luck trying to use the 16k page size on the RPi5. I had issues with the ZRam feature not working and some strange errors trying to use filesystems I had originally created under a 4k page size machine. So I'm staying with 4k pages sizes on the RPi5. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|