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.

[参考译文] SK-AM62:如何在 U-Boot 中启用 GPIO 命令?

Guru**** 2547890 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1197017/sk-am62-how-to-enable-gpio-command-in-u-boot

器件型号:SK-AM62

您好!

我从 https://www.ti.com/tool/PROCESSOR-SDK-AM62X 下载了 SDK、可以在/board-support/u-boot/cmd.中看到 GPIO.c 命令文件 为了在 U-boot 控制台中启用该命令、我在用于构建 uboot.img 的配置文件中设置了"CONFIG_CMD_GPIO=y"、即 am62x_EVM_A53_defconfig。 完成此操作后、我可以看到 GPIO.c 在我的构建中被编译、但这里是我发现的错误:

在本例中、我认为 出现了上述错误、因为我在这个构建中遗漏了驱动程序 GPIO.c。 因此、我前往驱动程序/GPIO 看看文件夹中有许多不同的 GPIO 驱动程序、我不知道哪一个是我应该使用的确切 GPIO 驱动程序。 有人能提供一些建议吗?  

谢谢。

Koon Kee