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

Fix broken U-Boot/UEFI support in poky/zeus -> U-Boot v2019.07



    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: yocto-3.0-zeus
    • Labels:


      The symptom is that enabling the mender-grub feature on vexpress-qemu does not work.

      This is the key commit:

      commit f95b8a4b5f64fd43e88c756662e77330dce8c007
      Author: Heinrich Schuchardt <xypron.glpk@gmx.de>
      Date:   Mon Apr 22 00:06:20 2019
          efi_loader: disable EFI_LOADER on vexpress_ca15_tc2 and ca9x4
          vexpress_ca15_tc2_defconfig and vexpress_ca9x4_defconfig do not provide
          device trees (as $fdtcontroladdr) as needed to pass our Travis CI tests.
          As we are on the move to requiring block devices to be based on the driver
          model these boards either will have to be converted to use device trees or
          will be kicked out of U-Boot.
          So let's disable CONFIG_EFI_LOADER on these boards until the device tree
          issue is resolved.
          Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

      However, it is not as easy as simply adding it back. There are several restructurings in U-Boot, and it doesn't appear to be possible to load GRUB without a device tree as it previously was.

      The problem is exclusive to QEMU, but because of our heavy reliance on it for testing, it is very important.

      It's related to, but not the same, as MEN-2404.


          Issue Links



              • Assignee:
                a10040 Kristian Amlie
                a10040 Kristian Amlie
              • Votes:
                1 Vote for this issue
                3 Start watching this issue


                • Created:

                  Summary Panel