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

Found more than one dtb specified in KERNEL_DEVICETREE. Only one should be specified

    XMLWordPrintable

    Details

      Description

      In our Yocto integration we have the following entry:

      MENDER_DTB_NAME=$(mender_get_clean_kernel_devicetree)
      

      Link to the location.

      The value of MENDER_DTB_NAME is only relevant when "auto-patching" is used, but regardless of what is used our current logic will print the following warning:

      WARNING: u-boot-2018.03-r0 do_provide_mender_defines: Found more than one dtb specified in KERNEL_DEVICETREE. Only one should be specified. Choosing the last one.
      

      And this can cause confusion.

      Suggested improvements:

      • The warning should print which "dtb" was actually choosen
      • The warning should be disabled if MENDER_UBOOT_AUTO_CONFIGURE = "0" (actually, it's used in either case)
      • The warning should provide a hint on to get rid of the warning (e.g set KERNEL_DEVICETREE to the actual desired dtb file)

        Attachments

          Activity

            People

            • Assignee:
              pacpowmatthew Matthew Beckler
              Reporter:
              mirzak Mirza Krak
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel