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.

[参考译文] J6EVM5777:如何通过以太网将 ADB 连接到 DRA742

Guru**** 2586505 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/633728/j6evm5777-how-to-connect-adb-over-ether-net-to-dra742

器件型号:J6EVM5777
主题中讨论的其他器件:DRA742

我已使用<a href="">">www.omappedia.org/.../6AO.1.0_Engineering_Drop""> "atomappedia.org/wiki/6AO.1.0_Engineering_Drop"指令启动了我的板 DRA742模型板(J6EVM5777XXX) 

/system/bin/sh:netcfg:找不到。 

我还尝试了它提供的"ifconfig"

ifconfig:socket 2 0:权限被拒绝。

我已经尝试了“netcfg eth0 dhcp”,提供
/system/bin/sh:netcfg:找不到。 



您能帮我解决这个问题吗?

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

    我已经尝试使用"netcfg"命令来查找板 IP 地址。

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

    您能否尝试先运行'ADB root'。

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

    我尝试在目标器件终端上运行"ADB root"命令、但它正在提供

    /system/bin/sh:ADB:未找到

    我还从 Android Studio 内的 Platform-tools 文件夹运行了此命令、但正在提供

    *守护程序未运行。 现在在端口5037上启动*
    *成功启动守护程序*
    错误:设备权限不足。

    当我运行"stop adbd"和" start adbd"时、它会给出

    stop:必须为 root
    start:必须分别为 root。

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

    我的意思是在使用'ADB shell'连接到设备之前在 Linux PC 上运行'ADB root'

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

    我已经在主机 Linux PC 上运行命令"AB root"、输出是

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

    您能否在 PC 的命令行上尝试以下操作:

    ADB kill 服务器
    sudo ADB start-server
    ADB 根目录
    ADB shell ifconfig

    此致、
    Yordan