野火mx6ull开发板,
1、git失败
问题:error: RPC failed; curl 18 transfer closed with outstanding read data remaining
laseine@laseine-virtual-machine:~/arm-linux/linux$ git clone https://github.com/Embedfire/ebf-buster-linux.git --depth 1
Cloning into 'ebf-buster-linux'...
remote: Enumerating objects: 67616, done.
remote: Counting objects: 100% (67616/67616), done.
remote: Compressing objects: 100% (61295/61295), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方法:两种方法一起使用了,可以成功,具体是那个生效的不确定。
git config --global http.postBuffer 524288000
git config --list
git clone git clone https://github.com/Embedfire/ebf-buster-uboot.git --depth 1
在下载内核的时候又出现下载不动、下载失败的情况,网上找了一圈没有解决方法。
最终能够下载下来是因为我换了个时间,早上起来下载,10s就下完了。
2、uboot编译失败
问题:recipe for target 'scripts/kconfig/zconf.tab.c' failed
laseine@laseine-virtual-machine:~/arm-linux/uboot/ebf-buster-uboot$ make mx6ull_npi_defconfig
YACC scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
scripts/Makefile.lib:226: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 127
Makefile:503: recipe for target 'mx6ull_npi_defconfig' failed
make: *** [mx6ull_npi_defconfig] Error 2
解决方法:sudo apt-get install bison -y
laseine@laseine-virtual-machine:~/arm-linux/uboot/ebf-buster-uboot$ sudo apt-get install bison -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libbison-dev libsigsegv2 m4
Suggested packages:
bison-doc m4-doc
The following NEW packages will be install