sh: 1: dtc: not found
报错:
bl31.bin size:
41632
u-boot-nodtb.bin size:
815816
ai_robot.dtb size:
30552
./mkimage_uboot -E -p 0x3000 -f u-boot-ai-robot.its u-boot-ai-robot.itb
sh: 1: dtc: not found
./mkimage_uboot: Can't open u-boot-ai-robot.itb.tmp: No such file or directory
soc.mak:205: recipe for target 'u-boot-ai-robot.itb' failed
make[1]: *** [u-boot-ai-robot.itb] Error 255
Makefile:22: recipe for target 'flash_ai_robot' failed
make: *** [flash_ai_robot] Error 2
解决办法:
sudo apt-get install device-tree-compiler
报错处理(会报错不需要)
我安装的时候还报错了:
根据提示,执行:
sudo apt --fix-broken install
再次执行安装,成功啦:
总结
安装完毕后,完美解决编译报错问题