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

U-Boot for vexpress-qemu (native U-Boot, no UEFI) does not compile on zeus

    XMLWordPrintable

    Details

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

      Description

      Make sure these are set:

      MACHINE = "vexpress-qemu"
      MENDER_FEATURES_ENABLE_append = " mender-image-sd mender-uboot"
      MENDER_FEATURES_DISABLE_append = " mender-image-uefi mender-grub"
      

      This leads to the following error:

      ERROR: u-boot-fw-utils-mender-auto-provided-1.0-r0 do_check_mender_defines: U-Boot configuration vexpress_ca9x4_config has setting:
      CONFIG_ENV_OFFSET=
      but Mender expects:
      CONFIG_ENV_OFFSET=0x800000
      Please fix U-Boot's configuration file.
      ERROR: u-boot-fw-utils-mender-auto-provided-1.0-r0 do_check_mender_defines: Execution of '/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/temp/run.do_check_mender_defines.997' failed with exit code 1:
      make: Entering directory '/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar'
      make -C /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar KBUILD_SRC=/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar \
      -f /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar/Makefile vexpress_ca9x4_config
      make[1]: Entering directory '/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar'
      make -f /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar/scripts/Makefile.build obj=scripts/basic
        gcc  -isystem/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/kristian/code/poky2/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11 -o scripts/basic/fixdep scripts/basic/fixdep.c  
      rm -f .tmp_quiet_recordmcount
      ln -fsn /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar source
      /bin/bash /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar/scripts/mkmakefile \
          /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar . 2020 01
      make -f /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar/scripts/Makefile.build obj=scripts/kconfig vexpress_ca9x4_config
        gcc  -isystem/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/kristian/code/poky2/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wp,-MD,scripts/kconfig/.conf.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11 -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c
        bison -oscripts/kconfig/zconf.tab.c -t -l scripts/kconfig/zconf.y
        flex -oscripts/kconfig/zconf.lex.c -L scripts/kconfig/zconf.l
        gcc  -isystem/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/kristian/code/poky2/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11 -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar/scripts/kconfig -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
        gcc  -isystem/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -L/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/kristian/code/poky2/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2  -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o  
      scripts/kconfig/conf  --defconfig=arch/../configs/vexpress_ca9x4_defconfig Kconfig
      #
      # configuration written to .config
      #
      make[1]: Leaving directory '/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar'
      make: Leaving directory '/home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/src-tar'
      CONFIG_ENV_SIZE=0x20000
      CONFIG_ENV_SIZE=0x20000
      CONFIG_ENV_OFFSET=
      WARNING: exit code 1 from a shell command.
      
      ERROR: Logfile of failure stored in: /home/kristian/code/poky2/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/u-boot-fw-utils-mender-auto-provided/1.0-r0/temp/log.do_check_mender_defines.997
      ERROR: Task (/home/kristian/code/poky2/meta-mender2/meta-mender-core/recipes-bsp/u-boot/u-boot-fw-utils-mender-auto-provided_1.0.bb:do_check_mender_defines) failed with exit code '1'
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel