|
1 | 1 | # BES Linux — Raspberry Pi 5 boot config. |
2 | | -# Read by the Pi 5 firmware (in EEPROM) at boot. flash-kernel populates the |
3 | | -# kernel image, initramfs, DTB and overlays into this same FAT partition |
4 | | -# (/boot/firmware) on every kernel update. |
| 2 | +# r[image.boot.pi-firmware] |
5 | 3 |
|
6 | | -# r[image.boot.pi-firmware] r[image.boot.pi-uart] r[image.boot.pi-peripherals] |
7 | | -# r[image.boot.pi-tpm-overlay] r[image.boot.pi-pcie-gen3] |
8 | | -# enable_uart=1 tells the firmware to initialise the primary UART so the |
9 | | -# kernel can inherit it as a console. On Pi 5 this is the dedicated 3-pin |
10 | | -# debug UART connector (not GPIO 14/15 on the 40-pin header — that is a |
11 | | -# different UART), and `console=serial0,115200` in cmdline.txt resolves |
12 | | -# to it via the device-tree alias. HDMI may not be attached. |
13 | | -# I2C and SPI are enabled for sensor / peripheral attach, paired with the |
14 | | -# i2c-tools userspace package. |
15 | | -# The tpm-slb9670 overlay enables the Infineon SLB9670 SPI TPM 2.0 module |
16 | | -# on SPI0 CE1, for shipments that include a TPM HAT. With no TPM attached, |
17 | | -# the kernel probes SPI, sees no response, and skips — boot is unaffected. |
18 | | -# pciex1_gen=3 raises the Pi 5's onboard PCIe x1 lane from gen 2 to gen 3, |
19 | | -# which roughly doubles sequential throughput for NVMe HATs. Older or |
20 | | -# marginal drives may need to be flipped back to gen 2. |
21 | | -# disable_splash=1 skips the rainbow splash on boot — cosmetic, but keeps |
22 | | -# the console clean for headless servers. |
23 | 4 | [all] |
24 | 5 | disable_splash=1 |
| 6 | +kernel=vmlinuz |
| 7 | +initramfs initrd.img followkernel |
| 8 | + |
| 9 | +# r[image.boot.pi-uart] r[image.boot.pi-peripherals] |
25 | 10 | enable_uart=1 |
| 11 | + |
| 12 | +# r[image.boot.pi-pcie-gen3] |
| 13 | +dtparam=pciex1_gen=3 |
| 14 | + |
| 15 | +# r[image.boot.pi-peripherals] |
26 | 16 | dtparam=i2c_arm=on |
27 | 17 | dtparam=spi=on |
28 | | -dtparam=pciex1_gen=3 |
| 18 | + |
| 19 | +# TPM on SPI0 r[image.boot.pi-tpm-overlay] |
29 | 20 | dtoverlay=tpm-slb9670 |
30 | | -kernel=vmlinuz |
31 | | -initramfs initrd.img followkernel |
| 21 | + |
| 22 | +# LCD on SPI1 CE2 |
| 23 | +dtoverlay=fbtft,spi1-3,st7789v,width=240,height=280,rotate=90,dc_pin=5,reset_pin=6,led_pin=26 |
0 commit comments