i.MX8m Yocto项目下载imx_4.14.98-2.0.0_ga

i.MX8m Yocto项目下载imx_4.14.98-2.0.0_ga

在执行repo sync报Fetching: 0% (0/9) warming up
fatal: unable to access ‘https://github.com/Freescale/fsl-community-bsp-base/’: gnutls_handshake() failed: Error in the pull function.
经过下面方法处理解决,记录一下。

$ mkdir ~/bin $ curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo

$ chmod a+x ~/bin/repo

$ export PATH=${PATH}:~/bin

mkdir -p ~/work/imx8mmddr4evk-41498200
cd ~/work/imx8mmddr4evk-41498200

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 --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo

iptables -I INPUT -p tcp --dport 80 -j ACCEPT
export REPO_URL=“https://mirrors.tuna.tsinghua.edu.cn/git/git-repo”
git config --global url.“https://”.insteadOf git://

git config --global credential.helper store
git config --global http.proxy
git config --global https.proxy localhost:51525

sed -i ‘s#https://github.com#git://github.com#g’ .repo/repo/pycache/project.cpython-36.pyc
sed -i ‘s#https://github.com#git://github.com#g’ .repo/repo/completion.bash
sed -i ‘s#https://github.com#git://github.com#g’ .repo/repo/project.py
sed -i ‘s#https://github.com#git://github.com#g’ .repo/repo/platform_utils_win32.py
sed -i ‘s#https://github.com#git://github.com#g’ .repo/repo/README.md
sed -i ‘s#https://github.com#git://github.com#g’ .repo/manifests/imx-4.14.98-2.0.0_demo_mender.xml
sed -i ‘s#https://github.com#git://github.com#g’ .repo/repo/docs/windows.md
sed -i ‘s#https://github.com#git://github.com#g’ .repo/manifests/imx-4.14.78-1.0.0_demo_liridesktop.xml
sed -i ‘s#https://github.com#git://github.com#g’ .repo/manifests/README-Greengrass.md
sed -i ‘s#https://github.com#git://github.com#g’ .repo/projects/sources/meta-freescale-distro.git/FETCH_HEAD
sed -i ‘s#https://github.com#git://github.com#g’ .repo/projects/sources/base.git/FETCH_HEAD

repo sync -j 4

Fetching: 100% (9/9), done in 7m43.703s
Garbage collecting: 100% (9/9), done in 0.101s
Checking out: 100% (9/9), done in 1.329s
repo sync has finished successfully.
在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值