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

本文介绍了在Ubuntu14.04环境下编译内核时遇到的mkimage命令未找到的问题,并详细记录了从尝试安装uboot-mkimage到最终通过安装u-boot-tools成功解决问题的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ubuntu14.04编译内核报错:

"mkimage" command not found - U-Boot images will not be built
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2

按照错误提示安装uboot-mkimage

# apt-get install uboot-mkimage


Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package uboot-mkimage is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  u-boot-tools
E: Package 'uboot-mkimage' has no installation candidate


此时依然报错了,uboot-mkimage不可用,提示去安装  u-boot-tools

# apt-get install u-boot-tools


Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdumbnet1 zerofree
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  u-boot-tools
0 upgraded, 1 newly installed, 0 to remove and 558 not upgraded.
Need to get 59.7 kB of archives.
After this operation, 197 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main u-boot-tools i386 2013.10-3 [59.7 kB]
Fetched 59.7 kB in 11s (5,283 B/s)      
Selecting previously unselected package u-boot-tools.
(Reading database ... 211369 files and directories currently installed.)
Preparing to unpack .../u-boot-tools_2013.10-3_i386.deb ...
Unpacking u-boot-tools (2013.10-3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up u-boot-tools (2013.10-3) ...

至此,安装成功!



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值