[Bug 2101104] Re: Raspberry Pi 5 serial console device changes with EEPROM upgrade
Jürg Häfliger
2101104 at bugs.launchpad.net
Fri Apr 18 20:42:45 UTC 2025
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rpi-eeprom in Ubuntu.
https://bugs.launchpad.net/bugs/2101104
Title:
Raspberry Pi 5 serial console device changes with EEPROM upgrade
Status in linux-raspi package in Ubuntu:
Invalid
Status in rpi-eeprom package in Ubuntu:
New
Bug description:
Sorry if I'm reporting this against the wrong package.
The default `/boot/firmware/config.txt` file in `noble` server
contains the directive `enable_uart=1` in a section for `[all]`
Raspberry Pi versions. The documentation at
https://www.raspberrypi.com/documentation/computers/config_txt.html#enable_uart
says:
`enable_uart=1` (in conjunction with `console=serial0,115200` in
`cmdline.txt`) requests that the kernel creates a serial console,
accessible using GPIOs 14 and 15 (pins 8 and 10 on the 40-pin header).
Editing `cmdline.txt` to remove the line `quiet` enables boot messages
from the kernel to also appear there.
This makes sense for Ubuntu Server on the Raspberry Pi 4, but the
Raspberry Pi 5 has a dedicated UART connector for the console that's
not on the GPIO header. Up until now it appears that `enable_uart=1`
actually did nothing on the Raspberry Pi 5, but as of EEPROM version
2025-02-12 this directive *does* move the console from the dedicated
UART and `/dev/ttyAMA10` to the GPIO pins and `/dev/ttyAMA0`.
So a problem arises if one is already using `/dev/ttyAMA0` on the GPIO
pins for some reason and then upgrades the EEPROM. To work around this
problem one can comment out `enable_uart=1` or add `enable_uart=0` to
the bottom of `config.txt`.
Ubuntu should consider moving `enable_uart=1` out of `[all]` so that
it doesn't apply to the `[pi5]`. It probably should be applied to more
than just the `[pi4]`, though.
See also: https://github.com/raspberrypi/rpi-eeprom/issues/673
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2101104/+subscriptions
More information about the foundations-bugs
mailing list