Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Understanding the different kernels to compile

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
thegrind
n00b
n00b
Posts: 60
Joined: Sun Sep 22, 2024 2:56 am

Understanding the different kernels to compile

  • Quote

Post by thegrind » Sun Feb 09, 2025 8:15 pm

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+)?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56077
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Feb 09, 2025 8:37 pm

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: Select all

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

Code: Select all

]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.
Top
gentoo_ram
Guru
Guru
Posts: 528
Joined: Thu Oct 25, 2007 10:04 pm
Location: San Diego, California USA

  • Quote

Post by gentoo_ram » Tue Feb 11, 2025 1:13 am

For my RPi 4 and RPi 5's I'm using the Raspberry Pi kernel source from GitHub.

Code: Select all

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.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy