您尚未登录。

楼主 #1 2020-02-03 11:20:32

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

lichee缺rootfs.cpio.gz
buildroot后
无法定位"rootfs.cpio.gz"
泽畔大大说可以自己包一个 我从H3的SDK里扒了一个出来 目前为止没有出错 放到linux内核目录下

离线

#2 2020-02-03 12:22:22

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

buildroot 编译一个就可以了.





离线

楼主 #3 2020-02-03 13:07:28

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

晕哥,咋编译来

离线

#4 2020-02-03 13:10:03

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

参考这个帖子, http://whycan.cn/t_561.html

或者搜索别的 buildroot 帖子都可以的.





离线

楼主 #5 2020-02-03 23:05:58

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

一下午,没结果,主要要github登不上去,好多下载都要与它有关,感谢

离线

楼主 #6 2020-02-06 09:40:44

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

晕哥, 我编译成功buildroot 。可是没有找到rootfs.cpio.gz,他在那个目录下,还需要更改文件名吗?

离线

#7 2020-02-06 10:23:37

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

/opt/buildroot-2019.08-sf/.config
> Filesystem images
    [ ] cpio the root filesystem


QQ截图20200206102210.png





离线

楼主 #8 2020-02-06 11:47:38

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

感谢晕哥,也编译出‘rootfs.cpio.gz这个文件了,我实在没招,可是放在那里了,我尝试几个地方了,没用

离线

#9 2020-02-06 12:05:50

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

参考这个帖子: https://whycan.cn/t_2449.html





离线

楼主 #10 2020-02-06 16:16:07

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

晕哥,你给我的帖子,跟这个帖子,没看出有啥关系啊
我现在是根据https://www.kancloud.cn/lichee/lpi0/340992编译出现的问题
三、lichee缺rootfs.cpio.gz
buildroot后
无法定位"rootfs.cpio.gz"
泽畔大大说可以自己包一个 我从H3的SDK里扒了一个出来 目前为止没有出错 放到linux内核目录下


test make install
make: Leaving directory `/home/qinlj/lichee-v3s/buildroot/external-packages/example'
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
Building kernel
/home/qinlj/lichee-v3s/linux-3.4/output/lib/modules/3.4.39
cp: cannot stat ‘rootfs.cpio.gz’: No such file or directory
ERROR: build kernel Failed
root@ubuntu:/home/qinlj/lichee-v3s# find / -name 'rootfs.cpio.gz'
/home/qinlj/buildroot-2018.08.2/output/images/rootfs.cpio.gz
root@ubuntu:/home/qinlj/lichee-v3s# ls -a linux-3.4/output/lib/modules/3.4.39/

离线

楼主 #11 2020-02-19 22:56:36

qljqlj
会员
注册时间: 2020-02-03
已发帖子: 7
积分: 7

Re: v3s linux内核 编译 rootfs.cpio.gz 在哪里 晕哥能提供下吗

已经生成了,还是要根据提示,修改脚本,让后把生成的rootfs.cpio.gz拷贝进去,再编译

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn