Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”

时间:2021-08-15 12:45:10

所用的linux系统是ubuntu16.04 32位系统,在编译内核时,出现

mkimage“command notfound - U-Boot images will not be built”的错误,如图1所示:

Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”

图1 编译错误

上网上查了一下,需要安装uboot-mkimage这个软件包

于是输入命令:

mark@ubuntu:sudo apt-get installuboot-mkimage

但是提示下面信息:

Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”

图2 安装uboot-mkimage失败

就是说这个包已废弃了,于是按提示信息安装u-boot-tools

Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”

图3 安装u-boot-tools

再次编译内核,一次OK

Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”

图4 再次编译内核,生成uImage

OK问题解决,继续下一步学习^_^


最后,再吼一下俺的口号:

每天进步一点点,开心多一点^_^

--2017年3月10日 14:36:21