完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
本帖最后由 一只耳朵怪 于 2018-6-5 14:52 编辑
平台beaglebone black 系统:ubuntu14.04LTS 操作:我先加载交叉编译工具进来 source /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/environment-setup 然后 ARM-linux-gnueabihf-gcc -v 有信息输出(版本为gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02))那么我就认为交叉编译工具链安装好了 我echo $PATH [linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd> echo $PATH /home/jipolun/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qt5:/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/usr/local/***in:/usr/local/bin:/usr/***in:/usr/bin:/***in:/bin:/usr/games:/usr/local/games 说明交叉编译工具链已经加入到环境变量中去了 然后我按http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide 文章里说的 make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm O=boneblack_out am335x_evm_defconfig 于是就出现如下错误 [linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd> make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm O=boneblack_out am335x_evm_defconfig make[1]: Entering directory '/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd/boneblack_out' HOSTCC scripts/basic/fixdep In file included from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/netinet/in.h:22:0, from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/arpa/inet.h:22, from ../scripts/basic/fixdep.c:116: /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/stdint.h:148:0: warning: "__INT64_C" redefined [enabled by default] # define __INT64_C(c) c ## LL ^ In file included from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/netinet/in.h:22:0, from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/arpa/inet.h:22, from ../scripts/basic/fixdep.c:116: /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/stdint.h:149:0: warning: "__UINT64_C" redefined [enabled by default] # define __UINT64_C(c) c ## ULL ^ fixdep: error fstat'ing depfile: scripts/basic/.fixdep.d: Invalid argument scripts/Makefile.host:94: recipe for target 'scripts/basic/fixdep' failed make[2]: *** [scripts/basic/fixdep] Error 2 /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd/Makefile:397: recipe for target 'scripts_basic' failed make[1]: *** [scripts_basic] Error 2 make[1]: Leaving directory '/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd/boneblack_out' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 google了半天,我找到解决办法,board-support里面的uboot我第一次编译,代码还没有去改过。希望大家能帮忙解决一下这个问题。谢谢 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
1871 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3613 浏览 4 评论
5019 浏览 0 评论
请问如何用DM368对RGB格式的图片数据进行编码生成JPEG格式图片?
1725 浏览 1 评论
9309 浏览 8 评论
CC3100BOOST使用CC3200lunchXL进行烧录
653浏览 2评论
694浏览 1评论
TMS320F28034: 利用C2prog通过SCI给TMS320F28034烧录程序,出现错误提示:Bootloading... failed (invalid echo)!
651浏览 1评论
1178浏览 1评论
求DLPC350 Programmer’s Guide User's Guide 中文版说明书
1174浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-3-28 17:23 , Processed in 0.836510 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号