[Bug 2073835] Re: Default kernel commandline options on Raspberry Pi

Dave Jones 2073835 at bugs.launchpad.net
Thu Sep 5 08:58:35 UTC 2024


Targetting this to focal (the last release where we used u-boot on the
Pi images) and setting devel to fix-released (as later releases just use
the cmdline.txt file for the Pi's bootloader).

** Also affects: flash-kernel (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: flash-kernel (Ubuntu Focal)
       Status: New => Confirmed

** Changed in: flash-kernel (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released
Status in flash-kernel source package in Focal:
  Confirmed

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