打印
[i.MX]

Build U-Boot and Kernel in Standalone的指令问题

[复制链接]
2214|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
lqland|  楼主 | 2014-5-5 16:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lqland 于 2014-5-5 16:06 编辑

Build U-Boot and Kernel in Standalone的文档中,提及命令:
./ltib -m prep -p u-boot
cd rpm/BUILD/u-boot-2009.08
make ARCH=arm
CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsllinaro-toolchain/bin/arm-none-linux-gnueabi- distclean
请问最后的指令是arm-none-linux-gnueabi-  distclean 还是arm-none-linux-gnueabi-distclean ?(有无空格)

我执行arm-none-linux-gnueabi-  distclean的方式,
提示错误:
ubuntu@ubuntu:~/ltib/410/ltib/rpm/BUILD/u-boot-2009.08$ CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- distclean
distclean: command not found

相关帖子

沙发
FSL_TICS_Rita| | 2014-5-5 17:00 | 只看该作者
./ltib -m prep -p u-boot
cd rpm/BUILD/u-boot-2009.08
设置环境参数:
> export ARCH=arm
> export CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsllinaro-
toolchain/bin/arm-none-linux-gnueabi-
清楚已经编译好的uboot.bin等文件
> make distclean
编译你需要使用的板子
> make mx6qsabresd_config
> make


使用特权

评论回复
板凳
lqland|  楼主 | 2014-5-5 17:49 | 只看该作者
本帖最后由 lqland 于 2014-5-5 17:50 编辑

谢谢解答!

i.MX_6Dual6Quad_SABRE-SD_Linux_User's_Guide.pdf
其中 3.7 How to Build U-Boot and Kernel in Standalone Environment
  make ARCH=arm
CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsllinaro-toolchain/bin/arm-none-linux-gnueabi- mx6q_sabresd_config

上述是两条指令,还是一条指令 ?
  make ARCH=arm
以及
  CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsllinaro-toolchain/bin/arm-none-linux-gnueabi-      mx6q_sabresd_config
为何这样无法执行 ?

使用特权

评论回复
地板
FSL_TICS_Rita| | 2014-5-6 14:17 | 只看该作者
lqland 发表于 2014-5-5 17:49
谢谢解答!

i.MX_6Dual6Quad_SABRE-SD_Linux_User's_Guide.pdf

楼上我已经给出要如何使用了:)。如有疑问再联系~~

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

78

主题

387

帖子

1

粉丝