support custom u-boot config

Bug #1328597 reported by dann frazier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Related branches

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello dann, or anyone else affected,

Accepted flash-kernel into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/flash-kernel/3.0~rc.4ubuntu49.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Mathew Hodson (mhodson)
Changed in flash-kernel (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 3.0~rc.4ubuntu49.1

---------------
flash-kernel (3.0~rc.4ubuntu49.1) trusty; urgency=medium

  * Add U-Boot environment configuration support (LP: #1328597)
  * Explicitly lower the console speed for HP ProLiant m400 cartridges to 9600
    and enable hardware flow control as required by the HP moonshot chassis
    (LP: #1328280)
  * Enable U-Boot environment support for X-Gene platforms
  * Use filesystem agnostic "load" command instead of assuming ext4
  * Add support for HP ProLiant m800 cartridges (LP: #1326437)
 -- dann frazier <email address hidden> Fri, 20 Jun 2014 17:09:02 -0600

Changed in flash-kernel (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.