#FRDM-IMX93 #YOCTO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

#FRDM-IMX93 #YOCTO

633 Views
yejx
Contributor I

I recently purchased an FRDM iMX93 development board. I followed the instructions at https://www.nxp.com/document/guide/getting-started-with-frdm-imx93:GS-FRDM-IMX93?_gl=1*zkk08q*_ga* MTUyMTQ0MDk5NS4xNzgwNTY1MTg4*_ga_WM5LE0KMSH*czE3ODA2Mzk2ODgkbzQkZzEkdDE3ODA2NDAzMDgkajQwJGwwJGg1MzYwMjA4MTc.&section=build-and-run

When following the tutorial and running the command “$ bitbake imx-image-full”, the following error appears. How can I resolve this?

Thank you!

ERROR: linux-imx-headers-6.6-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/998/bus"; export PATH="/home/yejx/imx93/frdm-imx93/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/yejx/imx93/sources/poky/scripts:/home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/recipe-sysroot/usr/bin/crossscripts:/home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/usr/sbin:/home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/usr/bin:/home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/sbin:/home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/bin:/home/yejx/imx93/sources/poky/bitbake/bin:/home/yejx/imx93/frdm-imx93/tmp/hosttools"; export HOME="/home/yejx"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/yejx/imx93/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, see logfile for output
ERROR: linux-imx-headers-6.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y')
ERROR: Logfile of failure stored in: /home/yejx/imx93/frdm-imx93/tmp/work/armv8a-mx93-poky-linux/linux-imx-headers/6.6/temp/log.do_fetch.2202373
ERROR: Task (/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx-headers_6.6.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3099 tasks of which 1313 didn't need to be rerun and 9 failed.

Summary: 9 tasks failed:
/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb:do_fetch
/home/yejx/imx93/sources/meta-imx/meta-imx-ml/recipes-nnstreamer/nnstreamer/nnstreamer_2.2.0.bb:do_fetch
virtual:native:/home/yejx/imx93/sources/meta-imx/meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite-host-tools_2.16.2.bb:do_fetch
/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb:do_fetch
/home/yejx/imx93/sources/meta-freescale-distro/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb:do_fetch
/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_fetch
/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-atf/imx-atf_2.10.bb:do_fetch
/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb:do_fetch
/home/yejx/imx93/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx-headers_6.6.bb:do_fetch
Summary: There were 30 WARNING messages.
Summary: There were 18 ERROR messages, returning a non-zero exit code.

0 Kudos
Reply
1 Reply

593 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Bitbake do_fetch errors can be related to network and proxy configurations on every host and fetch tools.

1. Install host packages from 3.2 Host packages 

2. Confirm Proxy and firewall blocking configuration, look for TLS/SSL issues as well,

3. Review https://medium.com/@pitchaimuthu321/common-yocto-build-failures-and-how-to-fix-them-embedded-bsp-deb... 

Try again with:

$ bitbake -c cleansstate imx-image-full
$ bitbake imx-image-full

Regards

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2377363%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%23FRDM-IMX93%20%23YOCTO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377363%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20recently%20purchased%20an%20FRDM%20iMX93%20development%20board.%20I%20followed%20the%20instructions%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fgetting-started-with-frdm-imx93%3AGS-FRDM-IMX93%3F_gl%3D1*zkk08q*_ga*%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fgetting-started-with-frdm-imx93%3AGS-FRDM-IMX93%3F_gl%3D1*zkk08q*_ga*%3C%2FA%3E%20MTUyMTQ0MDk5NS4xNzgwNTY1MTg4*_ga_WM5LE0KMSH*czE3ODA2Mzk2ODgkbzQkZzEkdDE3ODA2NDAzMDgkajQwJGwwJGg1MzYwMjA4MTc.%26amp%3Bsection%3Dbuild-and-run%3C%2FP%3E%3CP%3EWhen%20following%20the%20tutorial%20and%20running%20the%20command%20%E2%80%9C%24%20bitbake%20imx-image-full%E2%80%9D%2C%20the%20following%20error%20appears.%20How%20can%20I%20resolve%20this%3F%3C%2FP%3E%3CP%3EThank%20you%EF%BC%81%3C%2FP%3E%3CP%3EERROR%3A%20linux-imx-headers-6.6-r0%20do_fetch%3A%20Fetcher%20failure%3A%20Fetch%20command%20export%20PSEUDO_DISABLED%3D1%3B%20export%20DBUS_SESSION_BUS_ADDRESS%3D%22unix%3Apath%3D%2Frun%2Fuser%2F998%2Fbus%22%3B%20export%20PATH%3D%22%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fsysroots-uninative%2Fx86_64-linux%2Fusr%2Fbin%3A%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fpoky%2Fscripts%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Frecipe-sysroot-native%2Fusr%2Fbin%2Faarch64-poky-linux%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Frecipe-sysroot%2Fusr%2Fbin%2Fcrossscripts%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Frecipe-sysroot-native%2Fusr%2Fsbin%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Frecipe-sysroot-native%2Fusr%2Fbin%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Frecipe-sysroot-native%2Fsbin%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Frecipe-sysroot-native%2Fbin%3A%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fpoky%2Fbitbake%2Fbin%3A%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fhosttools%22%3B%20export%20HOME%3D%22%2Fhome%2Fyejx%22%3B%20LANG%3DC%20git%20-c%20gc.autoDetach%3Dfalse%20-c%20core.pager%3Dcat%20-c%20safe.bareRepository%3Dall%20clone%20--bare%20--mirror%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%3C%2FA%3E%20%2Fhome%2Fyejx%2Fimx93%2Fdownloads%2F%2Fgit2%2Fgithub.com.nxp-imx.linux-imx.git%20--progress%20failed%20with%20exit%20code%20128%2C%20see%20logfile%20for%20output%3CBR%20%2F%3EERROR%3A%20linux-imx-headers-6.6-r0%20do_fetch%3A%20Bitbake%20Fetcher%20Error%3A%20FetchError('Unable%20to%20fetch%20URL%20from%20any%20source.'%2C%20'git%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%3Bprotocol%3Dhttps%3Bbranch%3Dlf-6.6.y')%3CBR%20%2F%3EERROR%3A%20Logfile%20of%20failure%20stored%20in%3A%20%2Fhome%2Fyejx%2Fimx93%2Ffrdm-imx93%2Ftmp%2Fwork%2Farmv8a-mx93-poky-linux%2Flinux-imx-headers%2F6.6%2Ftemp%2Flog.do_fetch.2202373%3CBR%20%2F%3EERROR%3A%20Task%20(%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-kernel%2Flinux%2Flinux-imx-headers_6.6.bb%3Ado_fetch)%20failed%20with%20exit%20code%20'1'%3CBR%20%2F%3ENOTE%3A%20Tasks%20Summary%3A%20Attempted%203099%20tasks%20of%20which%201313%20didn't%20need%20to%20be%20rerun%20and%209%20failed.%3C%2FP%3E%3CP%3ESummary%3A%209%20tasks%20failed%3A%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-multimedia%2Fgstreamer%2Fgstreamer1.0-plugins-base_1.24.0.imx.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-ml%2Frecipes-nnstreamer%2Fnnstreamer%2Fnnstreamer_2.2.0.bb%3Ado_fetch%3CBR%20%2F%3Evirtual%3Anative%3A%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-ml%2Frecipes-libraries%2Ftensorflow-lite%2Ftensorflow-lite-host-tools_2.16.2.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-multimedia%2Fgstreamer%2Fgstreamer1.0-plugins-bad_1.24.0.imx.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-freescale-distro%2Frecipes-graphics%2Fimx-gpu-sdk%2Flibxdg-shell.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-kernel%2Flinux%2Flinux-imx_6.6.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-bsp%2Fimx-atf%2Fimx-atf_2.10.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-bsp%2Fimx-secure-enclave%2Fimx-secure-enclave_git.bb%3Ado_fetch%3CBR%20%2F%3E%2Fhome%2Fyejx%2Fimx93%2Fsources%2Fmeta-imx%2Fmeta-imx-bsp%2Frecipes-kernel%2Flinux%2Flinux-imx-headers_6.6.bb%3Ado_fetch%3CBR%20%2F%3ESummary%3A%20There%20were%2030%20WARNING%20messages.%3CBR%20%2F%3ESummary%3A%20There%20were%2018%20ERROR%20messages%2C%20returning%20a%20non-zero%20exit%20code.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2377721%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%23FRDM-IMX93%20%23YOCTO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377721%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20NXP%20Semiconductor%20products%2C%3C%2FP%3E%0A%3CP%3EBitbake%20do_fetch%20errors%20can%20be%20related%20to%20network%20and%20proxy%20configurations%20on%20every%20host%20and%20fetch%20tools.%3C%2FP%3E%0A%3CP%3E1.%20Install%20host%20packages%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2FUG10164.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E3.2%20Host%20packages%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.%20Confirm%20Proxy%20and%20firewall%20blocking%20configuration%2C%20look%20for%26nbsp%3BTLS%2FSSL%20issues%20as%20well%2C%3C%2FP%3E%0A%3CP%3E3.%20Review%20%3CA%20href%3D%22https%3A%2F%2Fmedium.com%2F%40pitchaimuthu321%2Fcommon-yocto-build-failures-and-how-to-fix-them-embedded-bsp-debugging-guide-fcd20e133add%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmedium.com%2F%40pitchaimuthu321%2Fcommon-yocto-build-failures-and-how-to-fix-them-embedded-bsp-debugging-guide-fcd20e133add%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETry%20again%20with%3A%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%24%20bitbake%20-c%20cleansstate%20imx-image-full%0A%24%20bitbake%20imx-image-full%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E