I want to download i.MX6q Android O release source code.
I had Android proprietary source code package imx-o8.0.0_1.0.0 under the ~/. directory, and follow the steps below.
$mkdir ~/bin
$curl https://storage.googleapis.com/git-repo-downloads/repo
$chmod a+x ~/bin/repo
$export PATH=${PATH}:~/bin
$ source ~/imx-o8.0.0_1.0.0_ga/imx_android_setup.sh
During this process, it always stop continuing when output following messages.
Fetching project platform/external/mdnsresponder
Fetching project platform/packages/apps/SpareParts 10.00 KiB/s
Fetching project platform/packages/apps/ProtipsiB | 5.00 KiB/s
Fetching project device/generic/x86
Fetching projects: 28% (168/597)
Fetching project platform/external/toybox
Fetching project platform/external/libedit47 MiB | 10.00 KiB/s
Fetching project platform/external/trappy79 MiB | 11.00 KiB/s
Fetching project platform/external/ipsec-toolsiB | 10.00 KiB/s
Fetching project platform/external/eigen
Fetching project aosp/platform/system/extras MiB | 10.00 KiB/s
remote: Counting objects: 29086, done. B | 7.00 KiB/s
remote: Compressing objects: 100% (695/695), done. /s
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 2923145, done.
remote: Compressing objects: 100% (11444/11444), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 29086, done. KiB | 8.00 KiB/s
remote: Counting objects: 226078, done. KiB | 8.00 KiB/s
remote: Compressing objects: 100% (695/695), done. KiB/s
remote: Compressing objects: 100% (158/158), done.
remote: Counting objects: 614728, done.
remote: Compressing objects: 100% (662/662), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch uboot-imx from https://source.codeaurora.org/external/imx/uboot-imx
Fetching project platform/hardware/qcom/msm8996
Fetching projects: 29% (174/597)
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch aosp/platform/packages/inputmethods/LatinIME from https://source.codeaurora.org/external/imx/aosp/platform/packages/inputmethods/LatinIME
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch aosp/platform/frameworks/base from https://source.codeaurora.org/external/imx/aosp/platform/frameworks/base
I am not sure what to do, has anyone met the same problem?
Thanks,
已解决! 转到解答。
I found an article https://community.nxp.com/docs/DOC-340804 , it seems very helpful, I am going to have a try.
It seems there is some issue with gnutls library.
Please update openssl and gnutls packages.
Also please try to reinstall git.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------