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.

[参考译文] TDA4VM:ethfw 在 BIOS_start 后挂起

Guru**** 2539500 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/984790/tda4vm-ethfw-hangs-after-bios_start

器件型号:TDA4VM

您好、主器件、

    我使用了 SDK 07_01_00

   首先、当我在 SDK 中使用预编译映像制作 SD 卡时。 启动后,我可以在 ttyUSB2中看到 ethfw 日志;

   然后、我编译了一个新的 ethfw、没有任何更改、然后将  debug/app_remotesmugcfg_server_strip.xer5f 复制 到 /lib/firware/ethfw;

    启动后、我在 ttyUSB2中看不到任何 ethfw 日志;

   因此我在 ethfw 主函数中添加了相同的日志、我发现在 BIOS_start 函数之前日志是正确的、在调用 BIOS_start 函数之后 、不会输出更多的日志;

   你能给我一些建议吗?

谢谢。

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

    您好!

    请参阅此 常见问题解答

    您需要在 SDK 中的 vision_apps 下构建 EthFW 应用程序。 请参阅此 用户指南 、然后将该应用程序复制到 lib/固件中

    您还可以使用中的 make vx_app_tirtos_linux_MCU2_0命令 /vision_apps,它将在 vision_apps/out 文件夹下生成二进制文件。

    此致

    葡萄园

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

    您好、Vineet

      感谢您的回复;

      我已尝试在 vision_apps 中启用 ethfw、请遵循用户指南;  

      但是、当我打开 EVM 的电源并启动操作系统时、我仍然找不到 eth1;

      我跟踪驱动程序代码、发现驱动程序正在等待  RPMSG_KDRV_TP_ETHSWITCH_ATE_EXT 的响应;

      我只能在 ttyUSB2中看到一个日志

        

     [NIMU_NDK] ENET has been started successfully

       

       操作系统启动后,我还 运行./vision_apps_init.sh 脚本。  Linux 日志是  

       

    [MCU2_0]     18.633945 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     18.635382 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     18.635447 s: ETHFW: Init ... !!!
    [MCU2_0]     18.668782 s: CPSW_9G Test on MAIN NAVSS
    [MCU2_0]     18.686270 s: EnetPhy_bindDriver: PHY 12: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
    [MCU2_0]     18.686506 s: EnetPhy_bindDriver: PHY 0: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
    [MCU2_0]     18.686741 s: EnetPhy_bindDriver: PHY 3: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
    [MCU2_0]     18.686953 s: EnetPhy_bindDriver: PHY 15: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
    [MCU2_0]     18.687011 s: PHY 0 is alive
    [MCU2_0]     18.687040 s: PHY 3 is alive
    [MCU2_0]     18.687063 s: PHY 12 is alive
    [MCU2_0]     18.687081 s: PHY 15 is alive
    [MCU2_0]     18.687101 s: PHY 23 is alive
    [MCU2_0]     18.688821 s: ETHFW: Version   : 0.01.01
    [MCU2_0]     18.688902 s: ETHFW: Build Date: Mar 19, 2021
    [MCU2_0]     18.688933 s: ETHFW: Build Time: 14:29:20
    [MCU2_0]     18.688952 s: ETHFW: Commit SHA: 
    [MCU2_0]     18.689015 s: ETHFW: Init ... DONE !!!
    [MCU2_0]     18.689036 s: ETHFW: Remote server Init ... !!!
    [MCU2_0]     18.690288 s: Remote demo device (core : mcu2_0) .....
    [MCU2_0]     18.690347 s: ETHFW: Remote server Init ... DONE !!!
    [MCU2_0]     18.710180 s: Host MAC address: 70:ff:76:1d:92:c2
    [MCU2_0]     18.740884 s: DSS: Init ... !!!
    [MCU2_0]     18.740942 s: DSS: Display type is eDP !!!
    [MCU2_0]     18.740965 s: DSS: SoC init ... !!!
    [MCU2_0]     18.740983 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]     18.742382 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     18.742426 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2
    [MCU2_0]     18.744525 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     18.744556 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2
    [MCU2_0]     18.746006 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     18.746037 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11
    [MCU2_0]     18.746494 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]     18.746521 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0]     18.747065 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]     18.747093 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0]     18.747504 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]     18.747534 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0]     18.767028 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]     18.767058 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0]     18.767503 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0]     18.767532 s: DSS: SoC init ... Done !!!
    [MCU2_0]     18.767555 s: DSS: Board init ... !!!
    [MCU2_0]     18.767574 s: DSS: Turning on DP_PWR pin for eDP adapters ... !!!
    [MCU2_0]     20.201587 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6
    [MCU2_1]      3.830788 s: CIO: Init ... Done !!!
    [MCU2_1]      3.830858 s: ### CPU Frequency <ORG = 1000000000 Hz>, <NEW = 1000000000 Hz>
    [MCU2_1]      3.830905 s: APP: Init ...test123 !!!
    [MCU2_1]      3.830929 s: SCICLIENT: Init ... !!!
    [MCU2_1]      3.832061 s: SCICLIENT: DMSC FW version [20.8.5--v2020.08b (Terrific Lla]
    [MCU2_1]      3.832107 s: SCICLIENT: DMSC FW revision 0x14  
    [MCU2_1]      3.832137 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      3.832162 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      3.832185 s: UDMA: Init ... !!!
    [MCU2_1]      3.843529 s: UDMA: Init ... Done !!!
    

      1.如何在 RTOS 端看到更多日志信息?

      为什么 RTOS 侧没有响应  RPMSG_KDRV_TP_ETHSWITCH_ATE_EXT 请求?

    谢谢