[Bug 2073835] Re: Default kernel commandline options on Raspberry Pi
Heinrich Schuchardt
2073835 at bugs.launchpad.net
Tue Jul 23 07:01:00 UTC 2024
boot.scr is only relevant when booting via U-Boot. In this case
/boot/firmware/cmdline.txt is not considered.
We still need a place to define the default command line. As you already
described this is /usr/share/flash-kernel/default/flash-kernel when
booting via flash-kernel's boot.scr. Documenting this file in the flash-
kernel man-page would be helpful.
When booting via U-Boot and GRUB the kernel command line is set in
/etc/default/grub*. Here cmdline.txt is ignored, too.
The suggested documentation fix should be introduced via
salsa.debian.org.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/2073835
Title:
Default kernel commandline options on Raspberry Pi
Status in flash-kernel package in Ubuntu:
New
Bug description:
This is Pi specific. The problem is that in older releases where we
use u-boot in the Ubuntu raspi images, flash-kernel uses default
kernel commandline options 'quiet splash' (from /usr/share/flash-
kernel/default/flash-kernel) which end up hard-coded in
/boot/firmware/boot.scr, specifically this line:
setenv bootargs " ${bootargs} quiet splash"
This line basically extends the kernel commandline options specified
in /boot/firmware/cmdline.txt. On Pi, there should only be one place
to specify kernel options and that's cmdline.txt, u-boot/flash-kernel
should not modify or extend these options.
We recently had a customer issue where we needed to enable kernel
logging over the serial console which required modification of
cmdline.txt *and* rebuilding boot.scr to drop 'quiet splash'. We
should not have to touch boot.scr for this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2073835/+subscriptions
More information about the foundations-bugs
mailing list