That seems to indicate that the Mender classes are not inherited. It may be an ordering thing; I’ve never tried putting that setting in the machine config file. You may try moving that setting into your local.conf file instead.
Drew
That seems to indicate that the Mender classes are not inherited. It may be an ordering thing; I’ve never tried putting that setting in the machine config file. You may try moving that setting into your local.conf file instead.
Drew
what is reason mender feature Enable but not defined
ERROR: ExpansionError during parsing /home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-arago/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2019.01.bb-
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding expression ${@mender_feature_is_enabled(“mender-uboot”,“u-boot-mender-helpers.inc”,"",d)} which triggered exception NameError: name ‘mender_feature_is_enabled’ is not defined
yes i did in local.conf but same issue
ERROR: ExpansionError during parsing /home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-arago/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2019.01.bb-
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding expression ${@mender_feature_is_enabled(“mender-uboot”,“u-boot-mender-helpers.inc”,"",d)} which triggered exception NameError: name ‘mender_feature_is_enabled’ is not defined
That is strange. The function mender_feature_is_enabled
is defined in meta-mender-core/classes/mender-maybe-setup.bbclass
which is automatically included by meta-mender-core/conf/layer.conf
. Can you post your bblayers.conf file?
Drew
BBLAYERS += "
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-processor-sdk
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-mender/meta-mender-core
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-mender/meta-mender-demo
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-aws
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-ros
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-arago/meta-arago-distro
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-arago/meta-arago-extras
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-browser
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-qt5
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-virtualization
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-openembedded/meta-networking
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-openembedded/meta-python
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-openembedded/meta-oe
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-openembedded/meta-gnome
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-openembedded/meta-multimedia
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-openembedded/meta-filesystems
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-ti
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-linaro/meta-linaro-toolchain
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/meta-linaro/meta-optee
/home/admins/40012121_backup/Ti_AM5708/mender-fota/sources/oe-core/meta
"
I’m stumped. You’ll need to dig through the Yocto metadata to understand why the meta-mender-core layer.conf is not defining that function.
Drew
Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 1 Found 0 Missed 1 Current 1758 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: core-image-base-1.0-r0 do_image_sdimg: Execution of ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21649’ failed with exit code 1:
ERROR: Logfile of failure stored in: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/log.do_image_sdimg.21649
Log data follows:
| DEBUG: Executing python function prepare_excluded_directories
| DEBUG: ‘IMAGE_ROOTFS_EXCLUDE_PATH’ is set but ‘respect_exclude_path’ variable flag is 0 for this image type, so ignoring it
| DEBUG: Python function prepare_excluded_directories finished
| DEBUG: Executing python function set_image_size
| DEBUG: 104424.000000 = 104424 * 1.000000
| DEBUG: 3407872.000000 = max(104424.000000, 3407872)[3407872.000000] + 0
| DEBUG: 3407872.000000 = int(3407872.000000)
| DEBUG: 3407872 = aligned(3407872)
| DEBUG: returning 3407872
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/meta/wic-tools.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-connectivity/openssl/openssl_1.1.1k.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/python/python3_3.8.11.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/coreutils/coreutils_8.31.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/meta-mender/meta-mender-core/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘xz-native’, ‘dtc-native’, ‘opkg-native’, ‘bc-native’, ‘lzop-native’, ‘ldconfig-native’, ‘makedevs-native’, ‘e2fsprogs-native’, ‘pbzip2-native’, ‘gcc-cross-arm’, ‘wic-tools’, ‘squashfs-tools-native’, ‘cross-localedef-native’, ‘quilt-native’, ‘prelink-native’, ‘glibc’, ‘openssl-native’, ‘gptfdisk-native’, ‘python3-native’, ‘depmodwrapper-cross’, ‘pseudo-native’, ‘btrfs-tools-native’, ‘patch-native’, ‘parted-native’, ‘swig-native’, ‘mtools-native’, ‘update-rc.d-native’, ‘opkg-utils-native’, ‘flex-native’, ‘gcc-runtime’, ‘pigz-native’, ‘kern-tools-native’, ‘coreutils-native’, ‘mklibs-native’, ‘bison-native’, ‘dosfstools-native’, ‘qemuwrapper-cross’, ‘bmap-tools-native’, ‘syslinux-native’, ‘cdrtools-native’, ‘gettext-minimal-native’, ‘gnu-config-native’, ‘libtool-native’, ‘automake-native’, ‘autoconf-native’, ‘pkgconfig-native’, ‘libarchive-native’, ‘libsolv-native’, ‘systemd-systemctl-native’, ‘kmod-native’, ‘lzo-native’, ‘shadow-native’, ‘util-linux-native’, ‘texinfo-dummy-native’, ‘attr-native’, ‘bzip2-native’, ‘zlib-native’, ‘libmpc-native’, ‘gmp-native’, ‘mpfr-native’, ‘linux-libc-headers’, ‘binutils-cross-arm’, ‘readline-native’, ‘lz4-native’, ‘elfutils-native’, ‘binutils-native’, ‘qemu-native’, ‘popt-native’, ‘ncurses-native’, ‘sqlite3-native’, ‘gdbm-native’, ‘libffi-native’, ‘libtirpc-native’, ‘libnsl2-native’, ‘python3-setuptools-native’, ‘acl-native’, ‘libpcre-native’, ‘shared-mime-info-native’, ‘perl-native’, ‘m4-native’, ‘libgcc’, ‘debianutils-native’, ‘python3-six-native’, ‘nasm-native’, ‘expat-native’, ‘ninja-native’, ‘cmake-native’, ‘gtk-doc-native’, ‘libcap-ng-native’, ‘libpcre2-native’, ‘glib-2.0-native’, ‘unzip-native’, ‘itstool-native’, ‘libxml2-native’, ‘db-native’, ‘groff-native’, ‘re2c-native’, ‘curl-native’, ‘meson-native’, ‘gettext-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_sdimg
| + mkdir -p /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0
| + true
| + install -m 0644 /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/
| install: cannot stat ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env’: No such file or directory
| + bb_exit_handler
| + ret=1
| + case $ret in
| + case $BASH_VERSION in
| + echo ‘WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21649:1 exit 1 from ‘’‘install -m 0644 “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env” “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/”’’’’
| WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21649:1 exit 1 from ‘install -m 0644 “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env” “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/”’
| + exit 1
| ERROR: Execution of ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21649’ failed with exit code 1:
| + mkdir -p /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0
| + true
| + install -m 0644 /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/
| install: cannot stat ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env’: No such file or directory
| + bb_exit_handler
| + ret=1
| + case $ret in
| + case $BASH_VERSION in
| + echo ‘WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21649:1 exit 1 from ‘’‘install -m 0644 “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env” “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/”’’’’
| WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21649:1 exit 1 from ‘install -m 0644 “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/deploy/images/am57xx-evm/uboot.env” “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/”’
| + exit 1
|
ERROR: Task (/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/images/core-image-base.bb:do_image_sdimg) failed with exit code ‘1’
ERROR: core-image-base-1.0-r0 do_image_wic: Execution of ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_wic.21652’ failed with exit code 1:
INFO: Creating image(s)…
WARNING: bootloader config not specified, using defaults
ERROR: No boot files defined, IMAGE_BOOT_FILES unset for entry #1
WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_wic.21652:1 exit 1 from ‘BUILDDIR="/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build" PSEUDO_UNLOAD=1 wic create “$wks” --vars “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/sysroots/am57xx-evm/imgdata/” -e “core-image-base” -o “$build_wic/” -w “$tmp_wic”’
ERROR: Logfile of failure stored in: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/log.do_image_wic.21652
Log data follows:
| DEBUG: Executing python function prepare_excluded_directories
| DEBUG: Python function prepare_excluded_directories finished
| DEBUG: Executing python function set_image_size
| DEBUG: 104392.000000 = 104392 * 1.000000
| DEBUG: 3407872.000000 = max(104392.000000, 3407872)[3407872.000000] + 0
| DEBUG: 3407872.000000 = int(3407872.000000)
| DEBUG: 3407872 = aligned(3407872)
| DEBUG: returning 3407872
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-connectivity/openssl/openssl_1.1.1k.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/python/python3_3.8.11.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/meta-mender/meta-mender-core/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot’, ‘virtual:native:/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot’, ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘xz-native’, ‘dtc-native’, ‘opkg-native’, ‘bc-native’, ‘linux-ti-staging’, ‘u-boot-tools-native’, ‘lzop-native’, ‘ldconfig-native’, ‘makedevs-native’, ‘e2fsprogs-native’, ‘pbzip2-native’, ‘gcc-cross-arm’, ‘kmod-native’, ‘squashfs-tools-native’, ‘cross-localedef-native’, ‘quilt-native’, ‘prelink-native’, ‘glibc’, ‘openssl-native’, ‘gptfdisk-native’, ‘python3-native’, ‘depmodwrapper-cross’, ‘pseudo-native’, ‘btrfs-tools-native’, ‘patch-native’, ‘parted-native’, ‘swig-native’, ‘mtools-native’, ‘binutils-cross-arm’, ‘update-rc.d-native’, ‘opkg-utils-native’, ‘flex-native’, ‘gcc-runtime’, ‘pigz-native’, ‘kern-tools-native’, ‘mklibs-native’, ‘bison-native’, ‘dosfstools-native’, ‘qemuwrapper-cross’, ‘bmap-tools-native’, ‘syslinux-native’, ‘cdrtools-native’, ‘gettext-minimal-native’, ‘gnu-config-native’, ‘libtool-native’, ‘automake-native’, ‘autoconf-native’, ‘pkgconfig-native’, ‘libarchive-native’, ‘libsolv-native’, ‘systemd-systemctl-native’, ‘lzo-native’, ‘shadow-native’, ‘util-linux-native’, ‘texinfo-dummy-native’, ‘attr-native’, ‘bzip2-native’, ‘zlib-native’, ‘libmpc-native’, ‘gmp-native’, ‘mpfr-native’, ‘linux-libc-headers’, ‘readline-native’, ‘gtk-doc-native’, ‘lz4-native’, ‘elfutils-native’, ‘binutils-native’, ‘qemu-native’, ‘popt-native’, ‘ncurses-native’, ‘sqlite3-native’, ‘gdbm-native’, ‘libffi-native’, ‘libtirpc-native’, ‘libnsl2-native’, ‘acl-native’, ‘python3-setuptools-native’, ‘libpcre-native’, ‘shared-mime-info-native’, ‘perl-native’, ‘m4-native’, ‘libgcc’, ‘debianutils-native’, ‘python3-six-native’, ‘nasm-native’, ‘expat-native’, ‘ninja-native’, ‘cmake-native’, ‘libcap-ng-native’, ‘libpcre2-native’, ‘glib-2.0-native’, ‘unzip-native’, ‘itstool-native’, ‘libxml2-native’, ‘db-native’, ‘groff-native’, ‘re2c-native’, ‘curl-native’, ‘meson-native’, ‘gettext-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)…
|
| WARNING: bootloader config not specified, using defaults
|
| ERROR: No boot files defined, IMAGE_BOOT_FILES unset for entry #1
|
| WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_wic.21652:1 exit 1 from ‘BUILDDIR="/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build" PSEUDO_UNLOAD=1 wic create “$wks” --vars “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/sysroots/am57xx-evm/imgdata/” -e “core-image-base” -o “$build_wic/” -w “$tmp_wic”’
| ERROR: Execution of ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_wic.21652’ failed with exit code 1:
| INFO: Creating image(s)…
|
| WARNING: bootloader config not specified, using defaults
|
| ERROR: No boot files defined, IMAGE_BOOT_FILES unset for entry #1
|
| WARNING: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_wic.21652:1 exit 1 from ‘BUILDDIR="/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build" PSEUDO_UNLOAD=1 wic create “$wks” --vars “/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/sysroots/am57xx-evm/imgdata/” -e “core-image-base” -o “$build_wic/” -w “$tmp_wic”’
|
ERROR: Task (/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/images/core-image-base.bb:do_image_wic) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4491 tasks of which 4489 didn’t need to be rerun and 2 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
Summary: 2 tasks failed:
/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/images/core-image-base.bb:do_image_sdimg
/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/images/core-image-base.bb:do_image_wic
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
@drewmoseley u-boot issue solved. now Rootfs Creation only issue. kindly give me solution
It sounds like you may need to set MENDER_BOOT_PART_SIZE_MB to 0 since there are no files to go into the boot partition. That’s very board specific though so I cannot confirm that.
Drew
Hi Here Attached My local.conf file. and Already set boot_part_size = 0. kindly check
INHERIT += "mender-full"
MENDER_ARTIFACT_NAME = "starship-discovery"
#MENDER_FEATURES_ENABLE_append = " mender-uboot"
#DISTRO_FEATURES_append = " systemd"
#VIRTUAL-RUNTIME_init_manager = "systemd"
#DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
#VIRTUAL-RUNTIME_initscripts = ""
# Enable systemd
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
# Example: Memory card storage
#MENDER_STORAGE_DEVICE = "/dev/mmcblk0"
# Example: Memory card with 2GiB of storage.
#MENDER_STORAGE_TOTAL_SIZE_MB = "2048"
MENDER_FEATURES_ENABLE_append = " mender-uboot mender-image-sd"
MENDER_FEATURES_DISABLE_append = " mender-grub mender-image-uefi"
# Example: Memory card storage
#MENDER_STORAGE_DEVICE = "/dev/mmcblk0"
# Example: Memory card with 2GiB of storage.
#MENDER_STORAGE_TOTAL_SIZE_MB = "2048"
ARTIFACTIMG_FSTYPE = "ext4"
MENDER_FEATURES_ENABLE_append = " mender-uboot"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
#PREFERRED_PROVIDER_u-boot = "u-boot-my-fork"
#IMAGE_BOOT_FILES = "u-boot.ti"
MENDER_UBOOT_AUTO_CONFIGURE = "1"
IMAGE_FSTYPES=" mender mender.bmap sdimg sdimg.bmap "
IMAGE_FSTYPES_DEBUGFS="tar.gz"
MENDER_STORAGE_TOTAL_SIZE_MB = "7580"
# Mender configuration
#MENDER_ARTIFACT_NAME = "${DISTRO_NAME}-${DISTRO_VERSION}"
#ARTIFACTIMG_FSTYPE = "ext4"
# This will make sure that our SPL + u-boot.img is embedded in the sdimg at
# a 1kb offset.
MENDER_IMAGE_BOOTLOADER_FILE = "u-boot-spl.img"
MENDER_IMAGE_BOOTLOADER_BOOTSECTOR_OFFSET = "2"
# Remove the unneeded VFAT boot partition
#IMAGE_BOOT_FILES = ""
MENDER_BOOT_PART_SIZE_MB = "0"
# Standard partition alignment from upstream wks file
MENDER_PARTITION_ALIGNMENT = "4194304"
#MENDER_STORAGE_DEVICE = "/dev/mmcblk1"
#MENDER_UBOOT_STORAGE_DEVICE = "0"
# Memory card with 16GiB of storage.
MENDER_STORAGE_TOTAL_SIZE_MB = "14305"
MENDER_DATA_PART_SIZE_MB = "7629"
#MENDER_FEATURES_ENABLE_append = " mender-image mender-install mender-image-sd mender-uboot "
#MENDER_FEATURES_DISABLE_append = " mender-grub mender-image-uefi"
# Fix size due to sdimg added to rootfs
IMAGE_ROOTFS_MAXSIZE = "12000000"
MENDER_STORAGE_TOTAL_SIZE_MB = "2048"
MENDER_DATA_PART_SIZE_MB = "1024"
@drewmoseley - edited to add formatting.
What does the following command show?
bitbake -e core-image-minimal | grep ^IMAGE_FSTYPES=
i tried image type command . i got the below error
admins@admins-OptiPlex-7050:~/40012121_backup/Ti_AM5708/dunfull-fota/build$ MACHINE=am57xx-evm bitbake -k core-image-base | grep ^IMAGE_FSTYPES=
ERROR: core-image-base-1.0-r0 do_image_sdimg: Execution of ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21020’ failed with exit code 1:
ERROR: Logfile of failure stored in: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/log.do_image_sdimg.21020
ERROR: Task (/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/images/core-image-base.bb:do_image_sdimg) failed with exit code ‘1’
Use bitbake -e
rather than bitbake -k
.
Sorry i made Mistake.Now Correct
admins@admins-OptiPlex-7050:~/40012121_backup/Ti_AM5708/dunfull-fota/build$ MACHINE=am57xx-evm bitbake -e core-image-base | grep ^IMAGE_FSTYPES=
IMAGE_FSTYPES=" mender mender.bmap sdimg sdimg.bmap tar.xz wic.xz mender mender.bmap sdimg sdimg.bmap sdimg.bz2 "
admins@admins-OptiPlex-7050:~/40012121_backup/Ti_AM5708/dunfull-fota/build$
Try adding the following to local.conf:
IMAGE_FSTYPES_remove = " tar.xz wic.xz "
yes i tried But Same Error
At this point I’m out of ideas. You’ll need to troubleshoot a bit more and post some findings so we have a direction.
Drew
hi i tried but same error
admins@admins-OptiPlex-7050:~/40012121_backup/Ti_AM5708/dunfull-fota/build$ MACHINE=am57xx-evm bitbake -k core-image-base | grep ^IMAGE_FSTYPES=
ERROR: core-image-base-1.0-r0 do_image_sdimg: Execution of ‘/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/run.do_image_sdimg.21020’ failed with exit code 1:
ERROR: Logfile of failure stored in: /home/admins/40012121_backup/Ti_AM5708/dunfull-fota/build/arago-tmp/work/am57xx_evm-poky-linux-gnueabi/core-image-base/1.0-r0/temp/log.do_image_sdimg.21020
ERROR: Task (/home/admins/40012121_backup/Ti_AM5708/dunfull-fota/sources/poky/meta/recipes-core/images/core-image-base.bb:do_image_sdimg) failed with exit code ‘1’