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.

[参考译文] AM5728:如何在 AM5728 Uboot 中使用 eth1而不是 eth0

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

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/998190/am5728-how-to-use-eth1-instead-of-eth0-in-am5728-uboot

器件型号:AM5728

我使用的 BSP 是"PROCESSOR-SDK-LINUX-AM57X 06_03_00_106"、我现在想在 uboot 下实现 tftp 以在服务器上加载 zImage、但当我尝试 ping Ubuntu 时、uboot 将自动选择 eth0 (RGMII0)网卡、 但是、我们的产品只会引出 eth1 (RGMII1)、如何在 uboot 中修改它以切换到 AM5728的 eth1网卡

谢谢你

-小

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

    您好!

    您能否尝试:

    setenv ethact eth1

    看看这对您的案例是否有帮助? 如果是、请解决问题。

    此致、
    基尔西

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

    您好、Keerty

    我根据您的建议设置环境变量"ethact"、但它无效、uboot 显示如下

    此致、

    => print ethact
    ethact=eth1
    => ping 192.168.1.111
    uclass_find_device_by_seq: 0 0
    - -1 0 'ethernet@48484000'
    - found
    uclass_find_device_by_seq: 0 0
    - -1 0 'ethernet@48484000'
    - found
    link up on port 0, speed 1000, full duplex
    Using ethernet@48484000 device

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

    您好、Xiao、

    您能否共享完整日志? 您是否还添加了 u-boot 中的 eth0和 eth1 dts 实例?

    此致、
    基尔西

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



    如果是 u-boot、如果像 cpsw 这样的 IP 具有2个端口、则无法在 eth0和 eth1之间切换。 它是一个框架限制。
    如果确实如此,我们就会发现不能使用 eth1。

    此致、
    基尔西