Raspberry Pi 3 with mender zeus error "u-boot-1_2020.01-r0 do_configure: U-Boot configuration rpi_3_32b_config has setting...but Mender expects: CONFIG_ENV_OFFSET=0x400000"

Ks89
Fri, 23 Oct 2020 09:31:31 +0000
General Discussions

I’m trying mender with raspberry pi 3 on Zeus (latest version on zeus branch) but I’m receiving this error:

ERROR: u-boot-1_2020.01-r0 do_configure: U-Boot configuration rpi_3_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.
(...)
#
# configuration written to .config
#
make[1]: Leaving directory '/home/user/git/zeus/poky/build/tmp/work/my-image1-poky-linux-gnueabi/u-boot/1_2020.01-r0/build'
make: Leaving directory '/home/user/git/zeus/poky/build/tmp/work/my-image1-poky-linux-gnueabi/u-boot/1_2020.01-r0/git'
CONFIG_ENV_SIZE=0x4000
CONFIG_ENV_SIZE=0x4000
CONFIG_ENV_OFFSET=0x800000
WARNING: exit code 1 from a shell command.

The same of this discussion Raspberrypi cm3 zeus-test issues.

I applied the suggested config in meta-mender-raspberrypi readme.md fil,

bitbake -e my-image | grep ^MENDER_PARTITION_ALIGNMENT= returns MENDER_PARTITION_ALIGNMENT="4194304"

and

bitbake -e my-image | grep ^MENDER_BOOT_PART_SIZE_MB= returns
MENDER_BOOT_PART_SIZE_MB="40"

My configuration is:

RPI_USE_U_BOOT = "1"

IMAGE_INSTALL_append = " kernel-image kernel-devicetree"

IMAGE_FSTYPES_remove += " rpi-sdimg"
SDIMG_ROOTFS_TYPE = "ext4"

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""

MENDER_FEATURES_ENABLE_append = " mender-image mender-uboot mender-image-sd"
MENDER_FEATURES_DISABLE_append = " mender-grub mender-image-uefi"

MENDER_PARTITION_ALIGNMENT = "4194304"
MENDER_BOOT_PART_SIZE_MB = "40"

Do you have any suggestions?

7 posts - 3 participants