Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1388

Provide our own bootcmd instead of merging with existing

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Define our own bootcmd instead of integrating with the existing one. Will definitely require some semi-advanced logic to get both bootcmd and CONFIG_BOOTCOMMAND entries out of the existing header files in the U-Boot build automatically.

      bootargs are important though, and may be set using setenv bootargs instead of being defined directly, so this will require some scanning.

      This automation won't be perfect, but hopefully we can catch at least 80% of cases.

      Acceptance criteria:

      • Script that modifies U-Boot source code so that no manual patch for integrating with bootcmd is necessary for at least 80% of the boards that currently compile in U-Boot (u-boot/configs/*_defconfig). We won't run all of these, but they should compile
      • Integration of this script into our meta-mender layer
      • Ability to turn it off via Yocto PACKAGECONFIG mechanism.
      • Off by default in pyro, on by default in master

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel