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.

[参考译文] AM3356:在 U-Boot 中设置 GPIO 并将其保留在 Linux 中

Guru**** 2396115 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1491638/am3356-set-gpio-in-u-boot-and-keep-it-in-linux

器件型号:AM3356

工具与软件:

我设法在 U-Boot 中设置了一个 GPIO 端口。 但在引导 Linux 时、系统会清除并再次设置状态。 第一种方法是找到一种在设备树中禁用复位的方法。 第二个是在设备树中使用"GPIO-LED"。 但间隙较小、GPIO 在大约1s 后复位和置位。不复位 GPIO 的正确解决方案是什么?  

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

    您好!

    您使用的 Linux SDK 版本是什么?

    您能解释一下如何在 U-Boot 中设置 GPIO 吗? 这是通过命令行还是通过电路板初始化完成的?

    谢谢!

    Anshu