"mkimage" command not found - U-Boot images will not be built
2016-07-26 16:19
435 查看
"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
相关文章推荐
- 关于LayoutInflater类inflate(intresource, ViewGroup root, boolean attachToRoot)方法三个参数的含义
- ueditor UEditor的setContent的时候报错
- Fragment简单入门
- iOS流布局UICollectionView系列二——UICollectionView的代理方法
- sudo: must be setuid root解决办法
- iOS UITableViewCell滑动删除
- 图片渲染问题
- 美工 UI尺寸规范总结-iphone,android,ipad
- 异步消息处理机制(Handler 、 Looper 、MessageQueue)源码解析
- 新建了个用户 结果还sudo报错:sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
- UltraEdit (UEStudio)使用技巧
- EasyUI数据表格之二
- EasyUI数据表格之二
- EasyUI数据表格之二
- java.lang.IllegalArgumentException: Control character in cookie value or attribute.
- Vrui 增加自定义事件
- CodeForces 289B Polo the Penguin and Matrix
- UITableView 的多选删除
- 利用Druid实现应用和SQL监控
- Building Block 并查集