Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1483 LAVA features and enhancements
  3. SPEC-1418

LAVA: rpi3 u-boot setenv has maximum arguments

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • None
    • CIAT

      The AGL jobs end up using a very long command-line, and uboot seems to have a limit of the number of arguments you pass to "setenv".

      So AGL jobs like this one are failing to "setenv bootargs".    Search for "setenv bootargs" here: and you'll see that uboot fails to set bootargs: http://lava-baylibre.baylibre:10080/scheduler/job/179#bottom

      The fix is to have double quotes around all the options sent to "setenv bootargs".  e.g.:

      setenv bootargs "verbose console=ttyS0,115200n8 rw ${nbdbasekargs} ${nbdkbootargs}"

      This should be fixed in the LAVA device-type (base-uboot) and submitted upstream.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            clabbe Corentin Labbe
            khilman Kevin Hilman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: