您的位置:首页 > 产品设计 > UI/UE

"mkimage" command not found - U-Boot images will not be built

2017-06-23 21:45 453 查看
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2
ERROR: build kernel Failed
INFO: use a fake rootfs.ext4.
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00136172 s, 770 MB/s
mke2fs 1.42.9 (4-Feb-2014)

Filesystem too small for a journal
INFO: ----------------------------------------

INFO: build sun8iw7p1 linux  lichee OK

INFO: ----------------------------------------

装好了Ubuntu,买好了开发板,开始逐个测试接口,发现这块板子的CAN是SPI转的,根据开发板手册要求,还需要自己编译Linux内核去启用。
好吧,反正都没玩过,一个个来呗,跟着手册step by step的配置好了编译内核的环境,然后开始调整菜单,最后执行:
#make uImage
好吧,开始漫长的等待,信息刷屏。
许久之后,居然提示我:
"mkimage" command not found - U-Boot images will not be built
make[1]: *** [arch/arm/boot/uImage] 错误 1
make: *** [uImage] 错误 2
什么情况!怎么还会缺少mkimage的?

简单说,解决方法就是:
#sudo apt-get install uboot-mkimage
嗯,对了,装的过程看了下信息,发现最终安装的是:
u-boot-tools
所以估计,直接执行:
#sudo apt-get install u-boot-tools
可能更直接一点?

1. WiX安装工具的使用

http://edu.csdn.net/course/detail/5207

2. 俄罗斯方块游戏开发
http://edu.csdn.net/course/detail/5110
3. boost库入门基础
http://edu.csdn.net/course/detail/5029
4.Arduino入门基础
http://edu.csdn.net/course/detail/4931
5.Unity5.x游戏基础入门
http://edu.csdn.net/course/detail/4810
6. TensorFlow API攻略
http://edu.csdn.net/course/detail/4495
7. TensorFlow入门基本教程
http://edu.csdn.net/course/detail/4369
8. C++标准模板库从入门到精通 
http://edu.csdn.net/course/detail/3324
9.跟老菜鸟学C++
http://edu.csdn.net/course/detail/2901
10. 跟老菜鸟学python
http://edu.csdn.net/course/detail/2592
11. 在VC2015里学会使用tinyxml库
http://edu.csdn.net/course/detail/2590
12. 在Windows下SVN的版本管理与实战 
 http://edu.csdn.net/course/detail/2579
13.Visual Studio 2015开发C++程序的基本使用 
http://edu.csdn.net/course/detail/2570
14.在VC2015里使用protobuf协议
http://edu.csdn.net/course/detail/2582
15.在VC2015里学会使用MySQL数据库
http://edu.csdn.net/course/detail/2672

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐