"mkimage" command not found
2013-04-29 17:00
295 查看
UIMAGE arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
Image arch/arm/boot/uImage is ready
cp: 无法获取"arch/arm/boot/uImage" 的文件状态(stat): 没有那个文件或目录
使用make uImage编译生成的内核能由uboot引导,编译时会用到mkimage工具,出现这种错误是因为编译器无法找到mkimage工具,该工具在uboot/tools目录下,以下两种方法可以解决问题:
方法一:在/etc/bashrc的末行加入以下语句:
export PATH:=$PATH:[uboot所在目录]/tools
方法二:将uboot/tools目录下的mkimage文件拷备到交叉编译环境的BIN目录:
cd [uboot所在目录]/tools
cp mkimage /usr/local/arm/3.4.1/bin
如果使用的是Ubuntu可以使用下面的命令安装mkimage:
#apt-get install uboot-mkimage
"mkimage" command not found - U-Boot images will not be built
Image arch/arm/boot/uImage is ready
cp: 无法获取"arch/arm/boot/uImage" 的文件状态(stat): 没有那个文件或目录
使用make uImage编译生成的内核能由uboot引导,编译时会用到mkimage工具,出现这种错误是因为编译器无法找到mkimage工具,该工具在uboot/tools目录下,以下两种方法可以解决问题:
方法一:在/etc/bashrc的末行加入以下语句:
export PATH:=$PATH:[uboot所在目录]/tools
方法二:将uboot/tools目录下的mkimage文件拷备到交叉编译环境的BIN目录:
cd [uboot所在目录]/tools
cp mkimage /usr/local/arm/3.4.1/bin
如果使用的是Ubuntu可以使用下面的命令安装mkimage:
#apt-get install uboot-mkimage
相关文章推荐
- "mkimage" command not found - U-Boot images will not be built
- fedora编译uImage是出现"mkimage" command not found - U-Boot images will not be built 错误
- "mkimage" command not found - U-Boot images will not be built
- "mkimage" command not found
- "mkimage" command not found - U-Boot images will not be built
- "mkimage" command not found - U-Boot images will not be built
- "mkimage" command not found - U-Boot images will not be built
- 编译内核 mkimage" command not found - U-Boot images will not be buil
- 编译linux内核时出现"mkimage" command not found - U-Boot images will not be built错误的解决办法
- "adb"不是内部命令和sudo: adb: command not found
- 解决ubuntu编译内核uImage出现问题"mkimage" command not found - U-Boot images will not be built问题
- Ubuntu下编译linux内核,报"mkimage" command not found错的解决
- "mkimage" command not found - U-Boot images will not be built
- 解决内核编译时产生 "mkimage" command not found - U-Boot images will not be built 错误
- "mkimage" command not found - U-Boot images will not be built
- 海思3518编译sdk时出现"mkimage" command not found
- "mkimage" command not found - U-Boot images will not be built
- "mkimage" command…
- mkimage" command not found - U-Boot images will not (
- Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”