linaro-image-tools bootargs broke panda LEB in revision 342
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Critical
|
Mouna SAID | ||
Linaro U-Boot |
Invalid
|
Undecided
|
John Rigby |
Bug Description
Problem
-------
l-m-c currently generates a boot.scr that contains too many arguments to "setenv bootargs".
This can be avoided by quoting some of the arguments in to groups, removing unneeded ones, or
building up the list in parts.
Workaround
----------
Use rev 341 of lp:linaro-image-tools.
Solution
--------
1) Identify any unneeded panda bootargs and drop them from linaro-media-create (and somewhere else
as consoleblank=0 doesn't seem to come from linaro-image-tools)
2) Use double quotes around the whole of bootargs, as that still allows variable expansion, but can contain
any number(?) of arguments
3) Build up the bootargs in parts
setenv bootargs1 some arguments
setenv bootargs2 some other arguments
setenv bootargs ${bootargs1} ${bootargs2}
To make this general we would have to decide how many to put in one line (N), and know what to do
if we exceed N^2 (can we go multiple levels deep?)
Related branches
- Guilherme Salgado (community): Approve
-
Diff: 63 lines (+21/-4)2 files modifiedlinaro_image_tools/media_create/boards.py (+11/-4)
linaro_image_tools/media_create/tests/test_media_create.py (+10/-0)
description: | updated |
description: | updated |
Changed in linaro-image-tools: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → James Westby (james-w) |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Changed in u-boot-linaro: | |
assignee: | nobody → John Rigby (jcrigby) |
Changed in u-boot-linaro: | |
status: | New → Invalid |
Changed in linaro-image-tools: | |
assignee: | James Westby (james-w) → Mouna SAID (medmouna) |
blocks 11.05