# AM5708 tisdk mender add

**URL:** <https://hub.mender.io/t/am5708-tisdk-mender-add/3874>\
**Category:** General Discussions\
**Tags:** yocto\
**Created:** [July 14, 2021, 9:25am UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874 "2021-07-14T09:25:05Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 21, 2021, 3:22pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/21 "2021-07-21T15:22:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 21, 2021, 3:22pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/22 "2021-07-21T15:22:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 21, 2021, 3:46pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/23 "2021-07-21T15:46:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 21, 2021, 4:01pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/24 "2021-07-21T16:01:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 21, 2021, 4:11pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/25 "2021-07-21T16:11:28Z")

</div>

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   
"

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 21, 2021, 5:33pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/26 "2021-07-21T17:33:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 22, 2021, 12:56am UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/27 "2021-07-22T00:56:04Z")

</div>

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:

- 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: 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

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 22, 2021, 1:09am UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/28 "2021-07-22T01:09:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 22, 2021, 1:19am UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/29 "2021-07-22T01:19:48Z")

</div>

Hi Here Attached My local.conf file. and Already set boot\_part\_size = 0. kindly check

```auto
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.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 22, 2021, 1:38pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/30 "2021-07-22T13:38:17Z")

</div>

What does the following command show?

`bitbake -e core-image-minimal | grep ^IMAGE_FSTYPES=`

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 22, 2021, 2:20pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/31 "2021-07-22T14:20:56Z")

</div>

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:

- 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.21020: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.21020: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: 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’

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 22, 2021, 2:38pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/32 "2021-07-22T14:38:53Z")

</div>

Use `bitbake -e` rather than `bitbake -k`.

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 22, 2021, 3:18pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/33 "2021-07-22T15:18:06Z")

</div>

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$

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 22, 2021, 4:56pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/34 "2021-07-22T16:56:33Z")

</div>

Try adding the following to local.conf:

`IMAGE_FSTYPES_remove = " tar.xz wic.xz "`

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [July 22, 2021, 5:43pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/35 "2021-07-22T17:43:44Z")

</div>

yes i tried But Same Error

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 22, 2021, 6:38pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/36 "2021-07-22T18:38:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vimal](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@vimal](https://hub.mender.io/u/vimal)\
**Post date:** [August 3, 2021, 12:33pm UTC](https://hub.mender.io/t/am5708-tisdk-mender-add/3874/37 "2021-08-03T12:33:34Z")

</div>

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:

- 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.21020: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.21020: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: 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’

[Previous page](https://hub.mender.io/t/am5708-tisdk-mender-add/3874.md?page=1)
