在编译uboot提醒我 device tree compiler 太老了,需要更新。
但是百度犯了错误,很难找到有用的信息。
SO~
可以使用apt-cache search dtc 用关键字dtc 来查询 可安装的包~
提示如下:
root@zl :/home/zhang/桌面/u-boot-2015.07# apt-cache search dtc
device-tree-compiler - Device Tree Compiler for Flat Device Trees
ddtc - Deal with ddts mails
dtc-xen - SOAP daemon and scripts to allow control panel management for Xen VMs
dtc-xen-firewall - small firewall script for your dom0
sbox-dtc - CGI chroot wrapper script for safer hosting environment
直接找到 apt-get install device-tree-compiler 就OK 了。!
但也许是因为Ubuntu我这样装的原因 device tree compiler是1.3版本的。oh shit 。!
受不了了, 果断发现 device tree compiler官方网站。然后下载源码包!
这里不贴具体网站。下来后,直接make 提示有些错误,看了一些, 仓库未安装,果断安装后。
生成了dtc 命令, 还有一个库文件。 然后 make install ,重新编译uboot~!~~~!!! 提示dtc不行。 为方便起见,直接编译成dtc命令,丢了 /bin 然后再跑。 OK !生成了。