← Back to team overview

linaro-pkg team mailing list archive

[Bug 788765] Re: linaro-image-tools bootargs broke panda LEB in revision 342

 

** Changed in: u-boot-linaro
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Linaro
Maintainers, which is the registrant for Linaro U-Boot.
https://bugs.launchpad.net/bugs/788765

Title:
  linaro-image-tools bootargs broke panda LEB in revision 342

Status in Linaro Image Tools:
  Fix Released
Status in Linaro U-Boot:
  Invalid

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?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/788765/+subscriptions