diff options
| author | Cyril Brulebois <cyril@debamax.com> | 2021-10-21 16:47:55 +0200 |
|---|---|---|
| committer | Cyril Brulebois <cyril@debamax.com> | 2021-10-21 16:59:14 +0200 |
| commit | 6251ebfbe0808d5c792f12891f7d4f961cd6da8e (patch) | |
| tree | 559d43f3a432182b47503648d562691152986658 /rootfs/boot/firmware | |
| parent | f89f71560d2ca1bd60d97dbb26b89782657d56ae (diff) | |
Move the console= parameter for the serial console.
See https://salsa.debian.org/raspi-team/image-specs/-/issues/57 for
detailed background.
Summary, e.g. on the Pi 4:
- fresh build and first boot means:
console=ttyS1,115200 console=tty0
- after dpkg-reconfigure raspi-firmware has run, with the default
settings:
console=tty0 console=ttyS1,115200
Having some consistency across boots seems desirable (esp. when the Pi
fails to boot and the hints are on a serial console which might not be
wired), so insert the console= parameter for the serial console right
before the root= parameter.
Currently, the /etc/kernel/postinst.d/z50-raspi-firmware hook uses:
${pre_cmdline} root=$ROOTPART […]
and console= parameters are inserted via ${pre_cmdline}, so inserting
the serial console before root= should get us the same results.
Diffstat (limited to 'rootfs/boot/firmware')
0 files changed, 0 insertions, 0 deletions
