Hi,
I have recently purchased imx8mini board.
I have installed ubuntu16.04 in the vmware
I have download the yocto project by using "repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml".
Then I run the commond:
->"DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-xwayland"
->"bitbake fsl-image-qt5-validation-imx"
but there are some errors:
ERROR: ExpansionError during parsing /home/fushi/imx-yotoc-bsp/sources/poky/meta/recipes-graphics/images/core-image-weston.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable create_shar, expression was # copy in the template shar extractor script
cp /home/fushi/imx-yotoc-bsp/sources/poky/meta/files/toolchain-shar-extract.sh /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.sh
rm -f /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/pre_install_command /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/post_install_command
if [ 1 -eq 1 ] ; then
cp /home/fushi/imx-yotoc-bsp/sources/poky/meta/files/toolchain-shar-relocate.sh /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/post_install_command
fi
cat << "EOF" >> /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/pre_install_command
EOF
cat << "EOF" >> /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/post_install_command
EOF
sed -i -e '/@SDK_PRE_INSTALL_COMMAND@/r /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/pre_install_command' \
-e '/@SDK_POST_INSTALL_COMMAND@/r /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/temp/post_install_command' \
/home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.sh
# substitute variables
sed -i -e 's#@SDK_ARCH@#x86_64#g' \
-e 's#@SDKPATH@#/opt/fsl-imx-wayland/4.14-sumo#g' \
-e 's#@SDKEXTPATH@#~/fsl-imx-wayland_sdk#g' \
-e 's#@OLDEST_KERNEL@#3.2.0#g' \
-e 's#@REAL_MULTIMACH_TARGET_SYS@#cortexa9hf-neon-poky-linux-gnueabi#g' \
-e 's#@SDK_TITLE@#${@d.getVar("SDK_TITLE").replace('&', '\&')}#g' \
-e 's#@SDK_VERSION@#4.14-sumo#g' \
-e '/@SDK_PRE_INSTALL_COMMAND@/d' \
-e '/@SDK_POST_INSTALL_COMMAND@/d' \
-e 's#@SDK_GCC_VER@#${@oe.utils.host_gcc_version(d)}#g' \
/home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.sh
# add execution permission
chmod +x /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.sh
# append the SDK tarball
cat /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.tar.xz >> /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.sh
# delete the old tarball, we don't need it anymore
rm /home/fushi/imx-yotoc-bsp/imx6dl-wayland-qt5/tmp/work/imx6dlsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/x86_64-deploy-core-image-weston-populate-sdk/fsl-imx-wayland-glibc-x86_64-core-image-weston-cortexa9hf-neon-toolchain-4.14-sumo.tar.xz
which triggered exception OSError: [Errno 12] Cannot allocate memory
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.