Skip to main content

Rpi Boot Config

@aaronge/rpi-boot-configv2026.08.26.1· 1mo agoMODELS
01README

Raspberry Pi boot configuration drift detection — EEPROM bootloader settings (BOOT_ORDER, PSU_MAX_CURRENT, etc.), config.txt, and cmdline.txt as a typed, versioned Swamp model, built to catch boot-breaking drift before/after the NVMe SSD migration.

02Models1
@aaronge/rpi-boot-configv2026.08.26.1rpi_boot_config.ts

Global Arguments

ArgumentTypeDescription
bootFilesBasePathstringDirectory containing config.txt and cmdline.txt. Override for older
rpiEepromConfigPathstringPath to the rpi-eeprom-config binary. Override for odd installs.
fn readEeprom()
Run rpi-eeprom-config, parse BOOT_ORDER/BOOT_UART/
fn readConfigTxt()
Read config.txt verbatim, parse [section]/key=value structure,
fn readCmdline()
Read cmdline.txt verbatim, parse whitespace-separated params,

Resources

eeprom(infinite)— rpi-eeprom-config bootloader settings: BOOT_ORDER (decoded),
configTxt(infinite)— /boot/firmware/config.txt, raw and parsed, sections preserved.
cmdline(infinite)— /boot/firmware/cmdline.txt, raw and parsed, root= hoisted.
03Stats
A
100 / 100
Downloads
14
Archive size
13.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms