Files
pawlet_rpi4/boot/config.txt
oxmc 60ed00046c rpi4: recovery as a separate on-demand image; A/B on tryboot
- mkbootimg.mk: boot.img uses the normal ramdisk again; the recovery.img rule
  is guarded so it only builds when recovery is enabled (PAWLET_BUILD_RECOVERY=1)
  and carries the recovery ramdisk.
- config.txt [tryboot] back to boot_partition=2 (A/B trial); recovery enters
  via reboot,3.
- vendor.prop reboot reason back to reboot,tryboot.
- drop the no-op reserved-size lines (AOSP ignores RESERVED_SIZE for fixed
  non-dynamic partitions).
2026-07-17 05:11:07 -07:00

63 lines
1.2 KiB
Plaintext

# Kernel
arm_64bit=1
kernel=Image
# Ramdisk
initramfs ramdisk.img followkernel
# Audio
dtparam=audio=on
# Camera
camera_auto_detect=1
start_x=1
# CPU
arm_boost=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
disable_fw_kms_setup=1
dtoverlay=vc4-kms-v3d
# I2C
#dtparam=i2c_arm=on
# I2S
#dtparam=i2s=on
# Serial console
enable_uart=1
# SPI
#dtparam=spi=on
# USB
dtoverlay=dwc2,dr_mode=peripheral
[cm4]
# 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