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/processor-SDK-AM335X:apt-get 更新失败

Guru**** 2540720 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/602431/linux-processor-sdk-am335x-apt-get-update-failed

器件型号:PROCESSOR-SDK-AM335X

工具/软件:Linux


我已经安装了 ti-processor-sdk-linux-am335x-evm-03.03.00.04-linux-x86-Install.bin、当我构建 uboot 时、我想更新源代码以便我可以安装器件树。

但它失败了,我不知道。

请提供几种修复方法!

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

    您能否详细描述一下您不会做什么? 能否在命令行上发布执行的命令? 您是否在 PC 上执行"sudo apt-get update"?

    BR
    Tsvetolin Shulev
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    当我构建 uboot 时,我在 PC 上执行 apt-get 更新,然后出现错误。
    我这样做是因为当我散发出时:
    将 cross_compile=arm-linux-gnueabihf- O=AM335x_EVM AM335x_EVM_config 全部设置为"全部"
    错误:
    /scripts/dtc-version.sh:第17行:DTC:未找到命令
    /scripts/dtc-version.sh:第18行:DTC:未找到命令
    ***您的 DTC 太旧,请升级至 DTC 1.4或更新版本
    ./Makefile: 1380:目标'checkdtc'的配方失败

    似乎我没有安装器件树、因此我 ex可爱 的 apt-get install device-tree 编译器、它说找不到器件树、然后我显式 apt-get 更新。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Nancy、

    是否可以使用命令"DTC -v"检查设备树编译器版本。 如果版本太旧、请尝试手动安装较新版本、并从以下位置下载该工具:
    launchpad.net/.../device-tree-compiler
    或检查:
    installion.co.uk/.../index.html
    此外、请检查您是否使用了 U-boot 用户指南中所述的正确工具链:
    processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide

    BR
    Tsvetolin Shulev