# Kernel
kernel=Image

# Ramdisk
initramfs ramdisk.img followkernel

# Camera
camera_auto_detect=1

# Display
disable_overscan=1

# Display panel
#dtoverlay=vc4-kms-dsi-7inch
#dtoverlay=vc4-kms-dsi-ili79600-10-1inch
#dtoverlay=vc4-kms-dsi-ili9881-5inch
#dtoverlay=vc4-kms-dsi-ili9881-7inch

# Graphics acceleration
dtoverlay=vc4-kms-v3d
dtoverlay=cma,cma-320

# I2C
#dtparam=i2c_arm=on

# I2S
#dtparam=i2s=on

# SPI
#dtparam=spi=on

# USB
dtoverlay=dwc2,dr_mode=peripheral

[cm5]
# USB
dtoverlay=dwc2,dr_mode=otg

[all]

# A/B boot slot selection via RPi tryboot.
# Slot A = partition 1 (boot_a) — normal boot, no override needed.
# Slot B = partition 2 (boot_b) — booted once via `reboot tryboot` (the updater)
#          to trial an update; the firmware reverts to slot A if the trial fails
#          to confirm, so a bad update can't wedge the device. On success the app
#          copies boot_b -> boot_a (via /dev/block/by-name/misc) to make it
#          permanent.
# Recovery is a separate image on partition 3, entered via `reboot,3`
# (pawlet-recoveryboot.sh) — not tryboot.
[tryboot]
boot_partition=2
