您尚未登录。

楼主 #1 2019-05-24 11:25:45

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

有谁遇到 linux的dtb不管怎么编译都不会编译出来

就是我修改了配置文件  dts 和dtsi  然后去编译make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs
发现dtb没有编译出来 、
吧dtb文件删除再去编译还是一样的没有编译出来

离线

#2 2019-05-24 11:50:51

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

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

从重新克隆开始





离线

楼主 #3 2019-05-24 12:01:05

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

这个是昨天重新下载了一个  我刚才
make clean
make distclean



  scripts/sign-file
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: 没有那个文件或目录
compilation terminated.
scripts/Makefile.host:101: recipe for target 'scripts/sign-file' failed
make[1]: *** [scripts/sign-file] Error 1
Makefile:561: recipe for target 'scripts' failed
make: *** [scripts] Error 2
root@ubuntu:/opt/yscTwoScr/linux3/linux#

离线

#4 2019-05-24 12:42:55

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 841
积分: 721

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

无情一刀 说:

这个是昨天重新下载了一个  我刚才
make clean
make distclean



  scripts/sign-file
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: 没有那个文件或目录
compilation terminated.
scripts/Makefile.host:101: recipe for target 'scripts/sign-file' failed
make[1]: *** [scripts/sign-file] Error 1
Makefile:561: recipe for target 'scripts' failed
make: *** [scripts] Error 2
root@ubuntu:/opt/yscTwoScr/linux3/linux#

执行sudo apt-get install libssl-dev安装

离线

楼主 #5 2019-05-24 15:04:53

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

那个ssl也安装了  还是不出来dtb    无语了

离线

#6 2019-05-24 15:27:04

smartcar
会员
注册时间: 2018-02-19
已发帖子: 735
积分: 735

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

find . | grep dtb$

离线

楼主 #7 2019-05-24 16:23:55

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

smartcar 说:

find . | grep dtb$


显示就是不管你改了配置文件还是dts 都不生成dtb

离线

#8 2019-05-25 00:24:22

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 841
积分: 721

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

无情一刀 说:
smartcar 说:

find . | grep dtb$


显示就是不管你改了配置文件还是dts 都不生成dtb

环境问题最烦人了,试试docker吧。我刚试的官方的docker环境没问题的。

离线

#9 2019-05-25 20:36:04

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

Re: 有谁遇到 linux的dtb不管怎么编译都不会编译出来

最后搞定了吗





离线

页脚

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

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