Hard to get android source(Android/kernel/U-boot)

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

Hard to get android source(Android/kernel/U-boot)

跳至解决方案
2,530 次查看
conteczxy
Contributor III

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,

标签 (2)
标记 (1)
0 项奖励
回复
1 解答
2,165 次查看
conteczxy
Contributor III

I found an article https://community.nxp.com/docs/DOC-340804  , it seems very helpful, I am going to have a try.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,166 次查看
conteczxy
Contributor III

I found an article https://community.nxp.com/docs/DOC-340804  , it seems very helpful, I am going to have a try.

0 项奖励
回复
2,165 次查看
b36401
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复