LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-28-2022, 10:42 AM   #1
pingu123
LQ Newbie
 
Registered: Sep 2022
Posts: 5

Rep: Reputation: 0
Rebuilding Linux Kernel with Pagesize 16kb for Raspberry Pi 4


Hi everybody,

I'm currently trying to rebuild the Linux Kernel with a pagesize of 16kb. But when booting the Raspberry Pi after adding the updated files to the SD card, nothing shows up on the screen.

The Hardware and Software I use:
- Raspberry Pi 4 Model B (https://www.raspberrypi.com/products...pecifications/) with 8GB of RAM
- I crosscompile it on a Ubuntu Machine (OS Jammy Jellyfish) following the instructions on this page: https://www.raspberrypi.com/document...ing-the-kernel
- The OS I originally flashed to the SD card for the Raspberry is "Raspberry PI OS (64-bit)". I also tried with "Raspberry PI OS Lite (64-bit)" but didn't make a difference in the final outcome.

For changing the config I call make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig as described here: https://www.raspberrypi.com/document...ing-menuconfig. Then I choose Kernel Features -> Page size -> 16KB and save it and start the building process afterwards.

Are some further configuration modifications necessary for the modified kernel to work? As far as I've read the Arm Architecture should cope with pagesizes of 4kb, 16kb and 64kb.

Thanks for your help!
 
Old 11-07-2022, 06:23 AM   #2
IsaccBarker
LQ Newbie
 
Registered: Nov 2022
Location: Generalized in equations, without escape!
Distribution: Arch
Posts: 14

Rep: Reputation: 0
I don't know why the compiler didn't complain about this, but according to the Technical Reference Manual, only 4K, 64K, 1M and 16MB are acceptable. OSDev's reference on ARM paging doesn't mention 16KB pages, nor do many other online sources. Maybe I'm misunderstanding.

May I ask where you got your 16KB figure from?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rebuilding Linux Kernel with Pagesize 16kb for Raspberry Pi 4 pingu123 Linux - Kernel 6 10-07-2022 03:19 PM
rebuilding a failed portion of a SlackBuilds build, instead of rebuilding everything Geremia Slackware 26 01-21-2015 05:56 PM
why is cpuinfo showing 16KB cache size on HT 3ghz xeon? chronic397 Linux - Hardware 2 08-01-2005 12:57 AM
a way to Compile linuxant 2.6.10 16kb kernel the_one2003a Fedora 1 02-10-2005 10:13 PM
Getting Pagesize before downloading the page balanagireddy Linux - Networking 2 09-04-2004 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration