support custom u-boot config
| 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-
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
- Adam Conrad: Pending requested
- Ubuntu branches: Pending requested
-
Diff: 251 lines (+66/-68) 11 files modifiedapiREADME (+14/-0)
bootscript/bootscr.keystone2 (+5/-31)
bootscript/bootscr.xgene (+4/-3)
bootscript/bootscr.xgene-mustang (+1/-0)
db/all.db (+0/-4)
debian/changelog (+16/-0)
debian/control (+1/-1)
debian/dirs (+2/-1)
debian/flash-kernel-installer.isinstallable (+3/-0)
debian/flash-kernel.install (+0/-1)
functions (+20/-27)
- dann frazier: Needs Resubmitting
- Adam Conrad (community): Needs Fixing
-
Diff: 171 lines (+72/-5) 10 files modifiedapiREADME (+14/-0)
bootscript/bootscr.keystone2 (+5/-0)
bootscript/bootscr.xgene (+4/-3)
bootscript/bootscr.xgene-mustang (+1/-0)
db/all.db (+7/-0)
debian/changelog (+12/-0)
debian/control (+1/-1)
debian/dirs (+2/-0)
debian/flash-kernel-installer.isinstallable (+3/-0)
functions (+23/-1)
Hello dann, or anyone else affected,
Accepted flash-kernel into trusty-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
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-
Further information regarding the verification process can be found at https:/
This bug was fixed in the package flash-kernel - 3.0~rc.4ubuntu49.1
---------------
flash-kernel (3.0~rc.
* 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> 2014年6月20日 17:09:02 -0600