This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux:http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK

Guru**** 2039030 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/570637/linux-http-processors-wiki-ti-com-index-php-processor_sdk_building_the_sdk

工具/软件:Linux

  • 日期:2017年1月28日。
  • 操作系统:Ubuntu 16:0:Linux HP 4.4.4.0-59-generic #80-Ubuntu SMP 星期五1月6日17:47:47 UTC 2017 x86_64 x86_64 x86_64 x86_64 x86_64 x86_64 GNU/Linux
  • distrib_description="Ubuntu 16.04.1 LTS "
  • GCC (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
  • Arm-linux-gnueabihf-gcc (Linaro GCC 5.3-2016.02) 5.3.1 20160113 、如 wiki 中的 toolcahin 所示
  • CSS 手动添加到下载中:CCS6.1.3.00034_linux.tar.gz



我正在关注 wiki 以构建 Arago 图像。 我在最后几天去了一次痛苦的调整工具的过程
而是推特问题、但我到达了一个无法通过的步骤。

|/usr/bin/ld:/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/llvm-3.6.build/Release/lib/libLLVMARMCodeGen.a (ARMISelLging.o):`.rodata._ZL20getExtensionTo64BitsRKN4lvm3EVTE'段中偏移量0x100的错误重新定位符号索引(0x40000120 >= 0x627)
|/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/llvm-3.6.build/Release/lib/libLLVMARMCodeGen.a (ARMISelLing.o):添加符号时出错:错误值
| collect2:错误:LD 返回1退出状态
|/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/git/Makefile.rules:1199:目标'/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/llvm-3.6.build/Release/lib/libLLVM-3.6.so 的配方失败
|制造[1]:***[/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/llvm-3.6.build/Release/lib/libLLVM-3.6.so ]错误1.
| make[1]:离开目录'/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/llvm-3.6.build/tools/llvm-shlib
|/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/git/Makefile.rules:873:目标"全部"配方失败
|制造:***[全部]错误1.
|错误:OE_runmake 失败
|错误:函数失败:DO 编译(日志文件位于/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-llvm3.6-native/3.6-r5/temp/log.do_compile.6627)
错误:任务6478 (虚拟:本机:/home/marius/APPS/BOARDS/TI/SDK_Processor/tisdk/sources/meta-arago/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb、DO 编译)失败、退出代码为"1"


 谢谢你。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    请检查此答案:
    e2e.ti.com/.../1836745

    希望这对您有所帮助。

    BR
    玛格丽塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我已经去过软管柱。 问题仍然存在。 从 bitbake 构建 ARM Linux 是否有任何替代方案? 工具确实需要花费太多时间、太多时间。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    如果我的理解是正确的、那么您只想正确地构建内核?
    如果是、请查看以下指南:
    processors.wiki.ti.com/.../Linux_Kernel_Users_Guide
    processors.wiki.ti.com/.../Processor_Linux_SDK_Top-Level_Makefile



    CD 板支持/Linux...

    使 arch=arm cross_compile=/.../bin/arm-linux-gnueabihf- tisdk_am57xx-evm_defconfig
    使 arch=arm cross_compile=/.../bin/arm-linux-gnueabihf- menuconfig
    (笑声)
    等等

    BR
    玛格丽塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢你。 那是可行的。 古典优雅的方式:)
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我很高兴这个问题得到解决。


    BR
    玛格丽塔