最終更新:2024-10-17 (木) 07:03:08 (50d)
Raspberry Pi/Linuxカーネル
Top / Raspberry Pi / Linuxカーネル
ドキュメント
Raspberry Pi/Linuxカーネル/ビルド
- https://www.raspberrypi.com/documentation/computers/linux_kernel.html#build-the-kernel
- https://www.raspberrypi.org/documentation/linux/kernel/building.md
設定
パッチ
ツール
パッケージ
GitHub
Raspberry Pi OS/バージョン
Linux 6.6 Raspberry Pi OS/2024-03-12?~ Linux 6.1 2023/03/18~ Raspberry Pi OS/2023-05-03? Linux 5.15 Raspberry Pi OS/2022-04-04~ Linux 5.10 Raspberry Pi OS/2021-03-04~Raspberry Pi OS/2022-01-28? Linux 5.4 Raspberry Pi OS/2020-08-20~Raspberry Pi OS/2021-01-11? Linux 4.19 Raspbian/2019-06-20~Raspberry Pi OS/2020-05-27?
img
- ビルドできたzImageをKERNEL?で指定した名前にリネームしている
- https://www.raspberrypi.com/documentation/computers/linux_kernel.html#for-32-bit-2
sudo cp arch/arm64/boot/Image mnt/fat32/$KERNEL.img
kernel8.img 64bit v8 bcmrpi3_defconfig?/bcm2711_defconfig Raspberry Pi 4, 3, 2B rev 1.2 kernel7l.img? 32bit v7l bcm2711_defconfig Raspberry Pi 4 kernel7.img? 32bit v7 bcm2709_defconfig Raspberry Pi 2, Raspberry Pi 3, Raspberry Pi 3+, and Compute Module 3? kernel.img 32bit bcmrpi_defconfig Raspberry Pi, Raspberry Pi Zero, Raspberry Pi Zero W, and Compute Module?
Raspberry Pi/.config
defconfig SoC KERNEL?(環境変数) 対応機種 bcm2835_defconfig BCM2835 (BCM2708) (RPi 1) - bcmrpi_defconfig BCM2835 (BCM2708) (RPi 1) kernel Raspberry Pi, Raspberry Pi Zero, Raspberry Pi Zero W, and Compute Module? bcm2709_defconfig (kernel7) BCM2836 (BCM2709) kernel7? Raspberry Pi 2, Raspberry Pi 3, Raspberry Pi 3+,Raspberry Pi Zero 2 W , and Compute Module 3? and Compute Module 3+? bcm2711_defconfig BCM2711 (RPi 4) kernel7l? Raspberry Pi 4/Raspberry Pi 400/Compute Module 4? (32bit) bcm2711_defconfig kernel8 For Raspberry Pi 3, 3+, 4, 400 and Zero 2 W, and Raspberry Pi Compute Modules 3, 3+ and 4 default 64-bit build configuration bcm2712_defconfig BCM2712 (RPi 5) kernel8 Raspberry Pi 5 (64bit)
- むかし
bcm2711_defconfig BCM2711 (RPi 4) Raspberry Pi 4 (32bit/64bit) bcmrpi3_defconfig? 64-bit configs Raspberry Pi 3, Raspberry Pi 3+ or Compute Module 3?