pandaboard安装ubuntu14.04系统遇到的问题

时间:2023-03-10 06:05:56
pandaboard安装ubuntu14.04系统遇到的问题

按照该网址步骤安装https://www.eewiki.net/display/linuxonarm/PandaBoard

在linux kernel的./build_kernel.sh时,自动安装交叉编译器,然后自动检测到"scripts/git: LINUX_GIT not defined in system.sh,然后自动下载scripts/git: [url=https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]
下载过程中出现以下错误:remote: Compressing objects: 100% (664300/664300), done.
                                       error: RPC failed; result=56, HTTP code = 200.28 MiB | 1024 bytes/s   //下载到200M时,报错.
                                       fatal: The remote end hung up unexpectedly
                                       fatal: early EOF
                                       fatal: index-pack failed
解决办法:因为自己的git库上面放了一些数据,所以整个库较大.google了一下,发现是curl的postBuffer 默认值较小的原因,配置下个这个值,就不会出现该错误了

参考博客:blog.****.net/ijibu/article/details/10830853

https://confluence.atlassian.com/pages/viewpage.action?pageId=301663284

git config --global http.postBuffer 524288000 或 git config --global http.postBuffer 500M

git config --list (查看http.postBuffer)

备注: curl是利用URL语法在命令行方式下工作的开源文件传输工具。它被广泛应用在Unix、多种Linux发行版中,并且有DOS和Win32、Win64下的移植版本。