Just a note that this patch was changed afterwards, so you might want to apply the new one instead. It has been merged to the master branch, so it should find its way to zeus soon.
Any update on this for the dunfell branch? I see the u-boot error:
u-boot-1_2020.01-r0 do_configure: Execution of '/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/temp/run.do_configure.8845' failed with exit code 1:
+ cd /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build
@ikkysleepy I’m using dunfell branch for cm3 and it works perfectly fine. Can you pls try to make clean build maybe? Thanks.
it’s a new build but on raspberry pi 4. Not sure if related but I had to mv the libubootenv_0.2.bbappend to libubootenv_0.3.bbappend as well to make the build even run.
There was fix for that see PR Please pull latest dunfell branch for meta-mender and it should work
I switched to the 1086 branch / tried git fetch origin pull/1086/head:drunfell
you mentioned and I still have that same error:
ERROR: u-boot-1_2020.01-r0 do_configure: Execution of '/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/temp/run.do_configure.22858' failed with exit code 1:
+ cd /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build
+ do_configure
+ [ ! -e /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build/.config ]
+ oe_runmake -C /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git O=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build rpi_4_32b_config
+ oe_runmake_call -C /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git O=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build rpi_4_32b_config
+ bbnote make CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot V=1 HOSTCC=gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 STAGING_INCDIR=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -C /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git O=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build rpi_4_32b_config
+ [ -p /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/temp/fifo.22858 ]
+ printf %b\0 bbnote make CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot V=1 HOSTCC=gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 STAGING_INCDIR=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -C /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git O=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build rpi_4_32b_config
+ make CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot V=1 HOSTCC=gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 STAGING_INCDIR=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -C /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git O=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build rpi_4_32b_config
make: Entering directory '/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git'
make -C /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build KBUILD_SRC=/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git \
-f /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/Makefile rpi_4_32b_config
make[1]: Entering directory '/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build'
make -f /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/Makefile.build obj=scripts/basic
gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/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 /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/basic/fixdep.c
rm -f .tmp_quiet_recordmcount
ln -fsn /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git source
/bin/bash /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/mkmakefile \
/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git . 2020 01
GEN ./Makefile
make -f /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/Makefile.build obj=scripts/kconfig rpi_4_32b_config
gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/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="<curses.h>" -DLOCALE -c -o scripts/kconfig/conf.o /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/kconfig/conf.c
bison -oscripts/kconfig/zconf.tab.c -t -l /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/kconfig/zconf.y
flex -oscripts/kconfig/zconf.lex.c -L /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/kconfig/zconf.l
gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/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="<curses.h>" -DLOCALE -I/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/scripts/kconfig -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
gcc -isystem/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -L/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/yocto/poky/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/rpi_4_32b_defconfig Kconfig
#
# configuration written to .config
#
make[1]: Leaving directory '/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build'
make: Leaving directory '/yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git'
+ IFS=
+ cat /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/git/mender_Kconfig_fragment
+ + sed -e s/=.*//
echo CONFIG_ENV_SIZE=0x4000
+ key=CONFIG_ENV_SIZE
+ egrep ^(CONFIG_ENV_SIZE=|# CONFIG_ENV_SIZE is not set$) /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build/.config
CONFIG_ENV_SIZE=0x4000
+ fgrep CONFIG_ENV_SIZE=0x4000 /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build/.config
CONFIG_ENV_SIZE=0x4000
+ echo CONFIG_ENV_OFFSET=0x400000
+ sed -e s/=.*//
+ key=CONFIG_ENV_OFFSET
+ egrep ^(CONFIG_ENV_OFFSET=|# CONFIG_ENV_OFFSET is not set$) /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build/.config
CONFIG_ENV_OFFSET=0x800000
+ fgrep CONFIG_ENV_OFFSET=0x400000 /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build/.config
+ fgrep CONFIG_ENV_OFFSET /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/build/.config
+ wrong_entry=CONFIG_ENV_OFFSET=0x800000
CONFIG_ENV_OFFSET_REDUND=0x1000000
+ printf U-Boot configuration %s has setting:\n%s\nbut Mender expects:\n%s\nPlease fix U-Boot's configuration file. rpi_4_32b_config CONFIG_ENV_OFFSET=0x800000
CONFIG_ENV_OFFSET_REDUND=0x1000000 CONFIG_ENV_OFFSET=0x400000
+ msg=U-Boot configuration rpi_4_32b_config has setting:
CONFIG_ENV_OFFSET=0x800000
CONFIG_ENV_OFFSET_REDUND=0x1000000
but Mender expects:
CONFIG_ENV_OFFSET=0x400000
Please fix U-Boot's configuration file.
+ bbfatal U-Boot configuration rpi_4_32b_config has setting:
CONFIG_ENV_OFFSET=0x800000
CONFIG_ENV_OFFSET_REDUND=0x1000000
but Mender expects:
CONFIG_ENV_OFFSET=0x400000
Please fix U-Boot's configuration file.
+ [ -p /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/temp/fifo.22858 ]
+ printf %b\0 bbfatal U-Boot configuration rpi_4_32b_config has setting:
CONFIG_ENV_OFFSET=0x800000
CONFIG_ENV_OFFSET_REDUND=0x1000000
but Mender expects:
CONFIG_ENV_OFFSET=0x400000
Please fix U-Boot's configuration file.
+ exit 1
+ bb_exit_handler
+ ret=1
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1
ERROR: Logfile of failure stored in: /yocto/poky/build/tmp/work/raspberrypi4-poky-linux-gnueabi/u-boot/1_2020.01-r0/temp/log.do_configure.22858
ERROR: Task (/yocto/poky/meta/recipes-bsp/u-boot/u-boot_2020.01.bb:do_configure) failed with exit code '1'
I should mention that I use MENDER_STORAGE_TOTAL_SIZE_MB = “1224” flag on my local.conf