在做嵌入式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/目錄下即可。