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/AM3352:将 DP83867驱动程序向后移植到内核 v3.14

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/669371/linux-am3352-backporting-dp83867-driver-to-kernel-v3-14

器件型号:AM3352

工具/软件:Linux

大家好、TI 团队

如何将 DP83867驱动 程序移植到 Linux-3.14.26 (ti-SDK-AM335x-EVM-08.00.00.00)。

TI 是否有任何有关移植驱动程序的用户指南?

DP83867 Linux 驱动程序。
www.ti.com/.../ethernet-sw

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

    您好!

    没有从 TI 移植内核驱动程序的用户指南。 我建议您查看社区指南、例如:www.tldp.org/.../x121.html

    通常、您应该将以下行添加到 drivers/net/phy/Kconfig 中:
    + CONFIG DP83867_PHY
    +三态"Texas Instruments DP83867 Gigabit PHY"
    +--help --
    +目前支持 DP83867 PHY。

    修改 drivers/net/phy/Makefile、如 www.tldp.org/.../x121.html 中所述。 换言之、在 makefile 文件中添加以下行:
    + obj-$(CONFIG_DP83867_PHY)      += dp83867.o

    将驱动程序添加到 defconfig 文件(arch/arm/configs/tisdk_am335x-evm_defconfig):
    CONFIG_DP83867_PHY=y

    并重建您的内核。

    dp83867.c 驱动程序集成在最新的 TI 处理器 SDK Linux 中。 您可以参考它。

    此致、
    Yordan