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.

[参考译文] AM4378:U-boot 的 Pinmux 源文件

Guru**** 2549100 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/600132/am4378-pinmux-source-files-for-u-boot

器件型号:AM4378

我们有定制板。 使用 pinmux 工具 dev.ti.com/.../app.html ,通过将 pinmux 文件作为输入生成 pinmux 源文件。
用于电路板的 U-boot 是2016、我已将 EVK 电路板引脚多路复用文件替换为 U-boot 源代码中生成的引脚多路复用文件。 生成的源文件中包含的头文件在 U-boot 源文件中不可用(例如 pinmux.h)。


我能否使用生成的源文件替换 U-boot 源代码中 EVK 板的 pinmux 文件、或者生成的源文件仅适用于 Linux 内核?

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

    当我在 U-boot 2016源代码中使用使用 pinmux 工具生成的 pinmux 源文件时、由于没有头文件(pinmux.h、type.h)、它会导致编译问题。

    使用 pinmux 工具生成的 pinmux 源文件是否仅与特定的 U-boot 版本兼容?

    我们是否需要对生成的 pinmux 源文件进行任何修改以与 U-boot 2016兼容、因为头文件 pinmux.h、types.h 不可用。 我尝试对头文件 pinmux.h 和 type.h 进行注释、但我遇到了更多编译问题。