"mkimage" command not found - U-Boot images will not be built
2013-04-22 22:24
453 查看
"mkimage" command not found - U-Boot images will not be built
/***********************************************有时候用不到可以不考虑**************************
如果使用make uImage 则能生成由uboot 引导的内核文件, 需要用到
uboot/tools/mkimage,可以在/etc/bashrc 文件末加入一下语句:
export PATH:=$PATH:/usr/src/arm/u-boot-1.1.5/tools
这样就能直接引用mkimage 命令。
前提是uboot/tools目录下有mkimage这个工具,需要编译才能生成:
修改Makefile
找到
ifeq($(ARCH),arm)
CROSS_COMPILE =
改成
ifeq($(ARCH),arm)
CROSS_COMPILE = arm-softfloat-linux-gnu-
(CROSS_COMPILE = #arm-none-linux-gnueabi- 经测试也可以)
make distclean
make at91sam9260ek_config
make
/******************************************************************************/
生成的工具在uboot的tools里面,把这个mkimage考到/usr/bin下就行了:
#cp mkimage /usr/bin/mkimage
如果使用的是Ubuntu 9.10可以使用下面的命令安装mkimage:
#apt-get install uboot-mkimage
/***********************************************有时候用不到可以不考虑**************************
如果使用make uImage 则能生成由uboot 引导的内核文件, 需要用到
uboot/tools/mkimage,可以在/etc/bashrc 文件末加入一下语句:
export PATH:=$PATH:/usr/src/arm/u-boot-1.1.5/tools
这样就能直接引用mkimage 命令。
前提是uboot/tools目录下有mkimage这个工具,需要编译才能生成:
修改Makefile
找到
ifeq($(ARCH),arm)
CROSS_COMPILE =
改成
ifeq($(ARCH),arm)
CROSS_COMPILE = arm-softfloat-linux-gnu-
(CROSS_COMPILE = #arm-none-linux-gnueabi- 经测试也可以)
make distclean
make at91sam9260ek_config
make
/******************************************************************************/
生成的工具在uboot的tools里面,把这个mkimage考到/usr/bin下就行了:
#cp mkimage /usr/bin/mkimage
如果使用的是Ubuntu 9.10可以使用下面的命令安装mkimage:
#apt-get install uboot-mkimage
相关文章推荐
- 编译内核出现"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 built 错误
- "mkimage" command not found - U-Boot images will not be built
- &quo 4000 t;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 built
- "mkimage" command not found - U-Boot images will not be
- "mkimage" command not found - U-Boot images will not be built
- ubuntu16.04编译内核出现 "mkimage" command not found - U-Boot images will not be built
- 解决ubuntu编译内核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 - U-Boot images will not be built 错误
- Hi3531 ERROR:"mkimage" command not found - U-Boot images will not be built
- fedora编译uImage是出现"mkimage" command not found - U-Boot images will not be built 错误
- 编译linux内核时出现"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解决办法