Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4397

Raspberry Pi OS • install custom kernel RPi5, cross compile using RPi5

$
0
0
I am trying to install a custom kernel on 6.6.31+rpt-rpi-2712 distribution.
I have compiled the KERNEL_2712 plus changes.
I am using an RPi5 with PCIe SSD as the host and plug a new fresh imaged SD as /dev/sda1 and sda2 as the target.
I have read the documentation on compiling a new kernel.
The difference between native and cross is cross is that native stores the new stuff in firmware while the cross just in boot.
I mount the SD card in mnt/boot and mnt/root under the linux build


when I look at the mnt/root/boot directory is see firmware directory, with vmlinuz, initrd, and config 6.6.31+rpt-rpi-2712,
The is no firmware directory in mnt/boot

How do I make the mnt/root/boot/ vmlinuz, initrd, config, System.map from the new kernel?

Statistics: Posted by crmep — Sun Aug 25, 2024 9:05 pm — Replies 1 — Views 37



Viewing all articles
Browse latest Browse all 4397

Trending Articles