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.