[Bug 1328597] [NEW] support custom u-boot config

dann frazier dann.frazier at canonical.com
Tue Jun 10 16:22:36 UTC 2014


Public bug reported:

An upcoming platform (keystone2) has a need to be able to set a u-boot
environment variable, but the appropriate setting needs to be controlled
by software running in Ubuntu (pre-boot memory configuration changes).
Right now bootscripts provided by flash-kernel are immutable - the end
user can't go in and add settings without creating a custom flash-kernel
package. We should provide packages and users with an interface to add
custom settings to platform bootscripts.

[Impact]
Users of the keystone2 platform will have no supported way to configure u-boot settings necessary to make use of features of their hardware.
[Test Case]
echo "setenv foo bar" > /etc/flash-kernel/ubootenv.d/foo
sudo flash-kernel
Confirm that /boot/boot.scr includes the "setenv foo bar" command
[Regression Risk]
The proposed change requires explicit opt-in support for a given platform, and currently we're only adding it to not-yet-released platforms.

** Affects: flash-kernel (Ubuntu)
     Importance: Undecided
         Status: New

** Branch linked: lp:~dannf/ubuntu/utopic/flash-kernel/ubootenv-support

-- 
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/1328597

Title:
  support custom u-boot config

Status in “flash-kernel” package in Ubuntu:
  New

Bug description:
  An upcoming platform (keystone2) has a need to be able to set a u-boot
  environment variable, but the appropriate setting needs to be
  controlled by software running in Ubuntu (pre-boot memory
  configuration changes). Right now bootscripts provided by flash-kernel
  are immutable - the end user can't go in and add settings without
  creating a custom flash-kernel package. We should provide packages and
  users with an interface to add custom settings to platform
  bootscripts.

  [Impact]
  Users of the keystone2 platform will have no supported way to configure u-boot settings necessary to make use of features of their hardware.
  [Test Case]
  echo "setenv foo bar" > /etc/flash-kernel/ubootenv.d/foo
  sudo flash-kernel
  Confirm that /boot/boot.scr includes the "setenv foo bar" command
  [Regression Risk]
  The proposed change requires explicit opt-in support for a given platform, and currently we're only adding it to not-yet-released platforms.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1328597/+subscriptions



More information about the foundations-bugs mailing list