Yocto for iMX8MP if giving fetch error.

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

Yocto for iMX8MP if giving fetch error.

跳至解决方案
3,116 次查看
shravankumaralugala
Contributor II

The sourceaurora repository(for iMX8MP) is now working , due to which I are not able to generate the binaries.

Can any one help to resolve this issue.

 

Below is error log: 

ERROR: u-boot-imx-tools-native-2022.04-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/yocto-layers/poky/scripts/native-intercept:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/yocto-layers/poky/scripts:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/bin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/sbin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/bin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/sbin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/bin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/yocto-layers/poky/bitbake/bin:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/hosttools"; export HOME="/home/cmd"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://source.codeaurora.org/external/imx/uboot-imx.git /home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/downloads/git2/source.codeaurora.org.external.imx.uboot-imx.git --progress failed with exit code 128, no output

ERROR: u-boot-imx-tools-native-2022.04-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https;branch=lf_v2022.04')

ERROR: Logfile of failure stored in: /home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/temp/log.do_fetch.538226

ERROR: Task (virtual:native:/home/cmd/u01/es_yocto_master_merge/es-yocto-configuration/build/../yocto-layers/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx-tools_2022.04.bb:do_fetch) failed with exit code '1'

标签 (1)
0 项奖励
回复
1 解答
3,104 次查看
joanxie
NXP TechSupport
NXP TechSupport

the Linux BSP from CodeAurora to Github, the app team is still work on it, try to change the repo command to repo init -u https://github.com/nxp-imx/imx-manifest -b <branch name> [ -m <release manifest>]

在原帖中查看解决方案

4 回复数
3,105 次查看
joanxie
NXP TechSupport
NXP TechSupport

the Linux BSP from CodeAurora to Github, the app team is still work on it, try to change the repo command to repo init -u https://github.com/nxp-imx/imx-manifest -b <branch name> [ -m <release manifest>]

1,954 次查看
dkprashant
Contributor II

Hi,

I am still facing this error. I am trying to download imx8-kirkstone-5.15 kernel. But the kernel fetch always fails. I have tried in multiple systems with good network connections. Below are the steps followed

 

$: repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.52-2.1.0.xml

$ repo sync

$ MACHINE=imx8mpevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland

$  bitbake imx-image-full

 

ERROR: linux-imx-5.15.52+gitAUTOINC+36363d8623-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/ametek/pkulkarni/imx8_rel/sources/poky/scripts:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0/recipe-sysroot/usr/bin/crossscripts:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0/recipe-sysroot-native/usr/sbin:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0/recipe-sysroot-native/usr/bin:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0/recipe-sysroot-native/sbin:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0/recipe-sysroot-native/bin:/home/ametek/pkulkarni/imx8_rel/sources/poky/bitbake/bin:/home/ametek/pkulkarni/imx8_rel/bld-xwayland/tmp/hosttools"; export HOME="/home/ametek"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/ametek/pkulkarni/imx8_rel/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, no output
ERROR: linux-imx-5.15.52+gitAUTOINC+36363d8623-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-5.15.y')

0 项奖励
回复
1,885 次查看
dkprashant
Contributor II

The problem got resolved after re-installing certificates.

sudo apt install --reinstall ca-certificates

 

0 项奖励
回复
1,854 次查看
davisroman3
Contributor III

Worked for me as well. Thanks!

0 项奖励
回复