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 modifiedREADME (+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 modifiedREADME (+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)
Changed in flash-kernel (Ubuntu): | |
status: | New → Fix Committed |
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/ PerformingSRUVe rification . Thank you in advance!