ubuntu11.10 安装mkimage工具

在做嵌入式Linux时通常使用uboot做为引导程序,这时就要求我们编译生成uboot形式的Linux内核映像文件uimage

在shell下执行make uImage命令,如果系统中未安装mkimage工具,将出现以下错误提示信息:

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


原因分析:

系统中未安装mkimage工具。

解决方法:

方法一:

安装mkimage工具,载ubuntu11.10下执行以下命令进行安装:

#sudo apt-get install uboot-mkimage

方法二:

编译uboot源码,编译成功后载uboot/tools目录下会生成mkimgage工具,将mkimage工具拷贝到/usr/bin/目录下即可。




版权声明:本文为love_life2011原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。