Hello All,
This is my first time setting up Mender, so please be kind as I learn the process… thank you!
I’m using Yocto Project (Branch Kirkstone) and Building for Demo documentation (https://docs.mender.io/operating-system-updates-yocto-project/build-for-demo).
My target board is Microchip’s Sama7G54-EK which is running U-Boot and Linux4Sam OS (https://www.linux4sam.org/bin/view/Linux4SAM/Sama7g5EKMainPage#Build_Yocto_Poky_rootfs_from_sou).
Following all the steps as described in the documentation, I get following error:
Blockquote
$ MACHINE=sama7g5ek-sd bitbake microchip-headless-image
Loading cache: 100% | | ETA: --:–:–
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################| Time: 0:01:45
Parsing of 2726 .bb files complete (0 cached, 2726 parsed). 4230 targets, 423 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = “2.0.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “sama7g5ek-sd”
DISTRO = “poky-atmel”
DISTRO_VERSION = “4.0.8”
TUNE_FEATURES = “arm vfp cortexa7 neon vfpv4 callconvention-hard”
TARGET_FPU = “hard”
meta
meta-poky
meta-yocto-bsp = “kirkstone:85661be8ff3623faf05525bc9f27a2457381f8e9”
meta-oe
meta-networking
meta-webserver
meta-python
meta-initramfs = “kirkstone:9cf4ebeb3de524009a73f49722489dc4aa183adb”
meta-atmel = “kirkstone:772408b60c483e6157077699c42f10e1b817029d”
meta-multimedia = “kirkstone:9cf4ebeb3de524009a73f49722489dc4aa183adb”
meta-arm
meta-arm-toolchain = “kirkstone:a0216a41bde3f191037332a9238648bedfbc61bd”
meta-aws = “HEAD:3c62e017e5174abd689fc2e6042f053a950a7384”
meta-quectel = “master:15998a647c7fe4112cb5e21a2ab6f25ad250c422”
meta-mender-core
meta-mender-demo = “kirkstone:ab2a9f135979e5d6ec6bd431cbd4d43408112eeb”Initialising tasks: 100% |#############################################################################################################| Time: 0:00:09
Sstate summary: Wanted 348 Local 318 Mirrors 0 Missed 30 Current 2569 (91% match, 98% complete)
Removing 16 stale sstate objects for arch sama7g5ek_sd: 100% |#########################################################################| Time: 0:00:01
Removing 10 stale sstate objects for arch cortexa7hf-neon-vfpv4: 100% |################################################################| Time: 0:00:00
NOTE: Executing Tasks
WARNING: mender-client-3.5.0-r0 do_compile: You are building with the mender-demo layer, which is not intended for production use
ERROR: microchip-headless-image-1.0-r1 do_image_bootimg: ExecutionError(‘/home/nitesh/Projects/yocto/build-sama7-aws-2/tmp/work/sama7g5ek_sd-poky-linux-gnueabi/microchip-headless-image/1.0-r1/temp/run.do_image_bootimg.436412’, 1, None, None)
ERROR: Logfile of failure stored in: /home/nitesh/Projects/yocto/build-sama7-aws-2/tmp/work/sama7g5ek_sd-poky-linux-gnueabi/microchip-headless-image/1.0-r1/temp/log.do_image_bootimg.436412
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘/home/nitesh/Projects/yocto/poky/meta/recipes-core/glibc/cross-localedef-native_2.35.bb:do_populate_sysroot’, ‘/home/nitesh/Projects/yocto/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot’, ‘/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_populate_sysroot’, ‘/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot’, ‘/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot’, ‘/home/nitesh/Projects/yocto/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.16.2.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/mtools/mtools_4.0.38.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/opkg/opkg_0.5.0.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-extended/pigz/pigz_2.7.bb:do_populate_sysroot’, ‘virtual:native:/home/nitesh/Projects/yocto/poky/meta/recipes-support/bmap-tools/bmap-tools_git.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: [‘dosfstools-native’]
| NOTE: Skipping as already exists in sysroot: [‘cross-localedef-native’, ‘ldconfig-native’, ‘binutils-cross-arm’, ‘cdrtools-native’, ‘qemuwrapper-cross’, ‘depmodwrapper-cross’, ‘update-rc.d-native’, ‘btrfs-tools-native’, ‘e2fsprogs-native’, ‘makedevs-native’, ‘mtools-native’, ‘opkg-utils-native’, ‘opkg-native’, ‘pseudo-native’, ‘squashfs-tools-native’, ‘syslinux-native’, ‘pbzip2-native’, ‘pigz-native’, ‘bmap-tools-native’, ‘qemu-native’, ‘xz-native’, ‘shadow-native’, ‘systemd-systemctl-native’, ‘bzip2-native’, ‘perl-native’, ‘gdk-pixbuf-native’, ‘kmod-native’, ‘attr-native’, ‘util-linux-native’, ‘gettext-minimal-native’, ‘texinfo-dummy-native’, ‘libtool-native’, ‘shared-mime-info-native’, ‘openssl-native’, ‘debianutils-native’, ‘zlib-native’, ‘nasm-native’, ‘python3-setuptools-native’, ‘lzo-native’, ‘python3-native’, ‘coreutils-native’, ‘python3-six-native’, ‘python3-installer-native’, ‘python3-wheel-native’, ‘libsolv-native’, ‘libarchive-native’, ‘lz4-native’, ‘zstd-native’, ‘flex-native’, ‘gnu-config-native’, ‘nss-native’, ‘glib-2.0-native’, ‘make-native’, ‘gdbm-native’, ‘libjpeg-turbo-native’, ‘gobject-introspection-native’, ‘libpng-native’, ‘util-linux-libuuid-native’, ‘libcap-ng-native’, ‘ncurses-native’, ‘libpcre2-native’, ‘itstool-native’, ‘libxml2-native’, ‘groff-native’, ‘libnsl2-native’, ‘libtirpc-native’, ‘readline-native’, ‘sqlite3-native’, ‘libffi-native’, ‘python3-flit-core-native’, ‘unzip-native’, ‘cmake-native’, ‘expat-native’, ‘m4-native’, ‘nspr-native’, ‘gettext-native’, ‘libpcre-native’, ‘curl-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function set_image_size
| DEBUG: 522188.000000 = 522188 * 1.000000
| DEBUG: 32677888.000000 = max(522188.000000, 32677888)[32677888.000000] + 0
| DEBUG: 32677888.000000 = int(32677888.000000)
| DEBUG: 32677888 = aligned(32677888)
| DEBUG: returning 32677888
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_bootimg
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 2.5382e-05 s, 0.0 kB/s
| mkfs.fat: Warning: lowercase labels might not work properly on some systems
| mkfs.fat 4.2 (2021-01-31)
| Disk full
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/nitesh/Projects/yocto/poky/…/meta-atmel/recipes-atmel/images/microchip-headless-image.bb:do_image_bootimg) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 7328 tasks of which 7261 didn’t need to be rerun and 1 failed.Summary: 1 task failed:
/home/nitesh/Projects/yocto/poky/…/meta-atmel/recipes-atmel/images/microchip-headless-image.bb:do_image_bootimg
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.
I got no idea why it says “Disk full” while I have plenty of HDD space left. My goal is to just build a demo image so I can run on the board and demonstrate Mender.
Any help will be highly appreciated.
Cheers,
Nitesh