Skip to content

fix: turn off SPI and the serial login console for the DPi bus - #9

Merged
ArnavVWadhwa merged 1 commit into
mainfrom
disable-spi-and-serial-console
Sep 1, 2026
Merged

ArnavVWadhwa merged 1 commit into
mainfrom
disable-spi-and-serial-console

Conversation

@ArnavVWadhwa

Copy link
Copy Markdown
Contributor

The DPi computer board uses GPIO7 (SPI0 CE1) as a digital input, so the enabled SPI overlay claimed the pin and GPIO.setup raised "GPIO busy". The board also talks over RS485 on /dev/serial0, which the default serial getty holds open, giving "device reports readiness to read but returned no data (multiple access on port?)".

Drop dtparam=spi=on, strip the console= token from cmdline.txt, and mask serial-getty@ttyAMA0 (enable_uart stays, so the UART hardware is still up). Update the smoke test, CI assertions, and README to match.

The DPi computer board uses GPIO7 (SPI0 CE1) as a digital input, so the
enabled SPI overlay claimed the pin and GPIO.setup raised "GPIO busy". The
board also talks over RS485 on /dev/serial0, which the default serial getty
holds open, giving "device reports readiness to read but returned no data
(multiple access on port?)".

Drop dtparam=spi=on, strip the console= token from cmdline.txt, and mask
serial-getty@ttyAMA0 (enable_uart stays, so the UART hardware is still up).
Update the smoke test, CI assertions, and README to match.
@ArnavVWadhwa
ArnavVWadhwa requested a review from a team as a code owner September 1, 2026 21:01
@ArnavVWadhwa
ArnavVWadhwa merged commit d0c493e into main Sep 1, 2026
2 checks passed
@ArnavVWadhwa
ArnavVWadhwa deleted the disable-spi-and-serial-console branch September 1, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant