Errors building L4.14.78_1.0.0 Yocto Linux for i.MX 8M Mini EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Errors building L4.14.78_1.0.0 Yocto Linux for i.MX 8M Mini EVK

跳至解决方案
2,522 次查看
stephen_eng
Contributor III

Hi Folks, i

I need some help, as it seems that I'm getting errors when I'm trying to build the 4.14.78_1.0.0 Linux image for my i.MX 8M Mini EVK board.

I ran through this process to get to where I'm at:

  1. repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx_4.14.78_1.0.0_ga.xml

  2. repo sync

  3. MACHINE=imx8mmevk DISTRO=fsl-imx-wayland source setup-environment build

  4. MACHINE=imx8mmevk DISTRO=fsl-imx-wayland source ./fsl-setup-release.sh -b build

  5. bitbake -k fsl-image-machine-test

First off, I'm not sure if 'fsl-image-machine-test' is the image that I want... I just want to be able to recreate the default Linux build that is mentioned here: Get Started with the i.MX 8M Mini EVK | NXP 

The error that I have so far is this:

| ...failed updating 1 target...
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/boost/1.66.0-r0/temp/log.do_compile.58076)
ERROR: Task (/home/steve/repos/imx-yocto-bsp/sources/poky/meta/recipes-support/boost/boost_1.66.0.bb:do_compile) failed with exit code '1'
WARNING: gstreamer1.0-plugins-bad-1.14.0.imx-r0 do_fetch: Failed to fetch URL gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https;branch=MM_04.04.04_1811_L4.14.78_GA, attempting MIRRORS if available
ERROR: gstreamer1.0-plugins-bad-1.14.0.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1858"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/home/steve/repos/imx-yocto-bsp/sources/poky/scripts:/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot-native/usr/sbin:/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot-native/usr/bin:/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot-native/sbin:/home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/recipe-sysroot-native/bin:/home/steve/repos/imx-yocto-bsp/sources/poky/bitbake/bin:/home/steve/repos/imx-yocto-bsp/build/tmp/hosttools"; export HOME="/home/steve"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://source.codeaurora.org/external/imx/gst-plugins-bad.git /home/steve/repos/imx-yocto-bsp/downloads//git2/source.codeaurora.org.external.imx.gst-plugins-bad.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/steve/repos/imx-yocto-bsp/downloads//git2/source.codeaurora.org.external.imx.gst-plugins-bad.git'...
remote: Enumerating objects: 1732, done.
remote: Counting objects: 100% (1732/1732), done.
remote: Compressing objects: 100% (678/678), done.
remote: Total 211126 (delta 1149), reused 1576 (delta 1052)
Receiving objects: 100% (211126/211126), 42.40 MiB | 316.00 KiB/s, done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Resolving deltas: 100% (168134/168134), done.

ERROR: gstreamer1.0-plugins-bad-1.14.0.imx-r0 do_fetch: Fetcher failure for URL: 'gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https;branch=MM_04.04.04_1811_L4.14.78_GA'. Unable to fetch URL from any source.
ERROR: gstreamer1.0-plugins-bad-1.14.0.imx-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/steve/repos/imx-yocto-bsp/build/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-bad/1.14.0.imx-r0/temp/log.do_fetch.74116
ERROR: Task (/home/steve/repos/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb:do_fetch) failed with exit code '1'

My Host OS is Ubuntu 18.04.

Any help would be much appreciated. Thanks.

0 项奖励
1 解答
2,381 次查看
stephen_eng
Contributor III

OK, so I definitely needed to build 'fsl-image-validation-imx'. Also, my build problems were essentially due to having a shoddy internet connection, and trying to do this from behind a corporate firewall/VPN. There's a lot of package downloading taking place, and almost all of the errors had to deal with not being able to get what Yocto needs.

I've gotten it built (about 18 hours) and it runs.

在原帖中查看解决方案

0 项奖励
3 回复数
2,382 次查看
stephen_eng
Contributor III

OK, so I definitely needed to build 'fsl-image-validation-imx'. Also, my build problems were essentially due to having a shoddy internet connection, and trying to do this from behind a corporate firewall/VPN. There's a lot of package downloading taking place, and almost all of the errors had to deal with not being able to get what Yocto needs.

I've gotten it built (about 18 hours) and it runs.

0 项奖励
2,381 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good!!

0 项奖励
2,381 次查看
stephen_eng
Contributor III

I think I figured out the image that I want... It's probably 'fsl-image-validation-imx'. Well, I'll start building that instead...

0 项奖励