RK3399编译linux_sdk时出现错误
PC:Ubuntu 16.04 LTSlinux_sdk:Firefly_Linux_SDK_V1.0.7
出错log:
>>> linux HEAD Downloading
Doing shallow clone
Cloning into 'linux-HEAD'...
fatal: '/home/mm/Firefly_RK3399/linux_sdk/Firefly_Linux_SDK_v1.0/buildroot/../kernel' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Shallow clone failed, falling back to doing a full clone
Doing full clone
Cloning into 'linux-HEAD'...
fatal: '/home/mm/Firefly_RK3399/linux_sdk/Firefly_Linux_SDK_v1.0/buildroot/../kernel' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
--2020-05-07 10:56:59--http://sources.buildroot.net/linux-HEAD.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 104.26.0.37, 2606:4700:20::681a:25, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-05-07 10:57:01 ERROR 404: Not Found.
package/pkg-generic.mk:166: recipe for target '/home/mm/Firefly_RK3399/linux_sdk/Firefly_Linux_SDK_v1.0/buildroot/output/rockchip_rk3399/build/linux-HEAD/.stamp_downloaded' failed
make: *** Error 1
/home/mm/Firefly_RK3399/linux_sdk/Firefly_Linux_SDK_v1.0/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
make: *** Error 2
我看了http://sources.buildroot.net/下的确没有linux-HEAD.tar.gz,这个有人解决了么,求告知!! http://dev.t-firefly.com/thread-101808-1-2.html 这个大佬解决了 可以修改buildroot下面的参数信息,不使用git来更新,使用本地拷贝就可以了
错误原因:git的远程url是发布者机器的本地路径,导致git操作失败了 可以在kernel目录下执行git init && git add ./* && git commit -m "debug"然后再编译,编译成功后可以删除掉kernel文件夹下的.git文件夹。
页:
[1]