Part Number: AM3352
Hi
I followed the Processor SDK Linux user guide in the website ==> (Using the snapshot of the source packages in Processor SDK release) , and run the following commands:
1) For AM3352 without SGX, I inserted the following two command at the bottom of conf/local.conf
MACHINE_FEATURES_remove="sgx"
PACKAGECONFIG_remove="wayland-egl"
2) Run commands
After downloading all arago source packages from TI servers, I run the build commands :
$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=/(our SDK path)/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=/(our SDK_path)/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
However, it report ERROR while compiling, the compile fail log are listed below, we mark the error message with red color.
Can you please advise what's problem?
The compile fail log
=============================================================================
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |#######################################################################################| Time: 0:00:02
Loaded 4697 entries from dependency cache.
WARNING: No recipes available for:
/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_2.0.0.bbappend
/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend
/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime python-bson (python-bson, python-pymongo)
Consider defining a PREFERRED_RPROVIDER entry to match python-bson
Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am335x-evm"
DISTRO = "arago"
DISTRO_VERSION = "2019.05"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:e5b633c0aa6d924ab6bea15906e3790c01c86633"
meta-ros = "HEAD:72068b17e4192b51e09c8dc633805a35edac8701"
meta-arago-distro
meta-arago-extras = "HEAD:9373674c699c8ad98f8b6b3eac45473448f55e94"
meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5 = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-virtualization = "HEAD:bbc38dc9d6d02e73c08df289bb22a292c2264e9b"
meta-networking
meta-python
meta-oe
meta-gnome
meta-multimedia
meta-filesystems = "HEAD:9b3b907f30b0d5b92d58c7e68289184fda733d3e"
meta-ti = "HEAD:28a2f128fbadd37463060eb5ee40c7c9a47cc530"
meta-linaro-toolchain
meta-optee = "HEAD:b30036d4ef7ce9fe746833fc54de6ac7b0e00638"
meta = "HEAD:f162d5bfe6eaeca24f441c83c87252c8d05744fc"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:51
Sstate summary: Wanted 473 Found 0 Missed 473 Current 6085 (0% match, 92% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: arago-tiny-image-1.0-r0 do_image_ubi: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463)
ERROR: Logfile of failure stored in: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 72248.800000 = 55576 * 1.300000
| DEBUG: 72248.800000 = max(72248.800000, 65536)[72248.800000] + 1
| DEBUG: 72249.000000 = int(72248.800000)
| DEBUG: 72249 = aligned(72249)
| DEBUG: returning 72249
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'mklibs-native', 'depmodwrapper-cross', 'opkg-utils-native', 'mtd-utils-native', 'qemuwrapper-cross', 'ldconfig-native', 'update-rc.d-native', 'opkg-native', 'prelink-native', 'pigz-native', 'makedevs-native', 'pseudo-native', 'xz-native', 'quilt-native', 'automake-native', 'gnu-config-native', 'libtool-native', 'autoconf-native', 'systemd-systemctl-native', 'debianutils-native', 'openssl-native', 'qemu-native', 'shadow-native', 'gettext-minimal-native', 'kmod-native', 'lzo-native', 'util-linux-native', 'zlib-native', 'e2fsprogs-native', 'acl-native', 'pkgconfig-native', 'nss-native', 'libsolv-native', 'libarchive-native', 'elfutils-native', 'binutils-native', 'texinfo-dummy-native', 'm4-native', 'dtc-native', 'pixman-native', 'glib-2.0-native', 'alsa-lib-native', 'python3-native', 'gtk-doc-native', 'ncurses-native', 'attr-native', 'sqlite3-native', 'nspr-native', 'cmake-native', 'ninja-native', 'rpm-native', 'expat-native', 'bzip2-native', 'flex-native', 'libpng-native', 'util-macros-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'gdbm-native', 'readline-native', 'curl-native', 're2c-native', 'db-native', 'dbus-native', 'popt-native', 'file-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_ubi
| ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191015150730.rootfs.ubifs" referred from section "ubifs"
| error 2 (No such file or directory)
| WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/run.do_image_ubi.3463:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191015150730${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-arago-tiny-image-am335x-evm-20191015150730.cfg'
| ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463)
ERROR: Task (/home/ym-pc/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_image_ubi) failed with exit code '1'
ERROR: tisdk-docker-rootfs-image-1.0-r0 do_image_ubi: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460)
ERROR: Logfile of failure stored in: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 949202.800000 = 730156 * 1.300000
| DEBUG: 949202.800000 = max(949202.800000, 65536)[949202.800000] + 1
| DEBUG: 949203.000000 = int(949202.800000)
| DEBUG: 949203 = aligned(949203)
| DEBUG: returning 949203
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'depmodwrapper-cross', 'opkg-utils-native', 'qemuwrapper-cross', 'ldconfig-native', 'opkg-native', 'prelink-native', 'makedevs-native', 'pseudo-native', 'xz-native', 'mklibs-native', 'mtd-utils-native', 'update-rc.d-native', 'pigz-native', 'autoconf-native', 'quilt-native', 'automake-native', 'libtool-native', 'gnu-config-native', 'systemd-systemctl-native', 'kmod-native', 'qemu-native', 'shadow-native', 'nss-native', 'libsolv-native', 'libarchive-native', 'pkgconfig-native', 'elfutils-native', 'binutils-native', 'gettext-minimal-native', 'debianutils-native', 'openssl-native', 'lzo-native', 'util-linux-native', 'zlib-native', 'e2fsprogs-native', 'acl-native', 'm4-native', 'texinfo-dummy-native', 'python3-native', 'gtk-doc-native', 'dtc-native', 'pixman-native', 'glib-2.0-native', 'alsa-lib-native', 'sqlite3-native', 'nspr-native', 'cmake-native', 'ninja-native', 'rpm-native', 'expat-native', 'bzip2-native', 'flex-native', 'ncurses-native', 'attr-native', 'gdbm-native', 'readline-native', 'libpng-native', 'util-macros-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'curl-native', 're2c-native', 'db-native', 'dbus-native', 'popt-native', 'file-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_ubi
| ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191015150730.rootfs.ubifs" referred from section "ubifs"
| error 2 (No such file or directory)
| WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/run.do_image_ubi.3460:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191015150730${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-tisdk-docker-rootfs-image-am335x-evm-20191015150730.cfg'
| ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460)
ERROR: Task (/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-core/images/tisdk-docker-rootfs-image.bb:do_image_ubi) failed with exit code '1'
NOTE: Tasks Summary: Attempted 17216 tasks of which 15988 didn't need to be rerun and 2 failed.
Summary: 2 tasks failed:
/home/ym-pc/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_image_ubi
/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-core/images/tisdk-docker-rootfs-image.bb:do_image_ubi
Summary: There were 6 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
the error log file log.do_image_ubi.3460 and log.do_image_ubi.3463 are attached.
(Please visit the site to view this file)
(Please visit the site to view this file)