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/AM5728:U-boot 自定义

Guru**** 2595770 points
Other Parts Discussed in Thread: AM5728

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/642687/linux-am5728-u-boot-customization

器件型号:AM5728

工具/软件:Linux

你好

这是客户提出的问题。
他们正在制作 am5728的定制板、并希望从 U-Boot 中删除 SATA 驱动程序。
我尝试搜索 bitbake 食谱、但我不知道。
如何更改它们?

此致、
库吉·西加塔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    软件团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你好、Koji、

    要不使用 SATA 驱动程序,请将 u-boot-中的状态更改为"disabled"(已禁用) /arch/arm/dts/am57xx-beagle-x15-common.dtsi 文件。

    SATA{(&S)
    STATUS ="禁用";
    };

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

    感谢您的回答。

    此环境如下所示网页所示。
    processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK
    我在交叉编译工具链中找到了相同的文件。
    ~/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared.am57xx-evm/kernel-source/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi

    在本例中为
    ~/tisdk/build $ machine=am57xx-beagle-x15 bitbake u-boot-ti-staging
    此构建是否使用 am57xx-beagle-x15.dts 设置?

    此外、如果 machine=am57xx-evm、是否使用了 am57xx-evm.dts 设置?

    am57xx-evm.dts 文件中没有 SATA 说明。
    am57xx-EVM 的 u-boot 中是否不会包含 SATA 驱动程序?

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

    我的意思是~/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/u-boot-ti-staging/2017.01 +gitAUTOINC+590c7d7fe1-R12/git/arch/arm/dts/am57xx-beagle-x15-common.dtsi 文件。 您会将其与内核的器件树混淆。 有两个独立的器件树状结构、一个用于 U-Boot、另一个用于 Linux。

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

    感谢您的回答。
     我确认了以下文件"~/tisdk/build/arago-tmp-external-linaro-toolchain/work。
    U-Boot 的 DTS 文件包括了 beagle-x15的设置、即使目标是 am57xx-EVM 也是如此。
    这些文件似乎是通过 bitbake 生成的、但它们是否会被 DO 配置覆盖或由 clean 或 cleanall 擦除?

    此致、
    库吉·西加塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的。 首先执行 machine=am57xx-evm bitbake u-boot-ti-staging -c do _clean machine=am57xx-evm bitbake u-boot-ti-staging -c do _unpacke 更改源代码、然后执行 machin=am57xx-evm bitbake u-boot-ti-staging -c do compile。 否则、请创建一个补丁来更改此器件树文件并将其附加到 u-boot-ti-staging _2017.01.bb 配方中、或使用 Processor SDK 编译 U-Boot 源。