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.

PROCESSOR-SDK-J721E: sdk-rtos-09-010-00-06 Ethfw / Client, Server example with J721E QSGMII

Other Parts Discussed in Thread: PROCESSOR-SDK-J721E

  • Part Number: PROCESSOR-SDK-J721E

hello every one,

I am tying to run the above mentioned example and I am facing some problems, please help if you can , thanks :-)  

Ethfw Client , Server example for J721E QSGMII

 

Client Error message:

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

CpswProxy: CpswProxy_connect: Failed to get ETHFW command service endpt : -4

 

 

Cause of the error :                   

On the server side :

 

/* Step 5a. Wait for remote_device to be initialized on the server side */

do

  {

      status = CpswProxy_connect();

  }

  while (status != IPC_SOK)

  CpswProxy_connect is defined in :   cpsw_proxy.c

   

  int32_t CpswProxy_connect(void)

{

    CpswProxy_CmdService *cmdSvc = &gCpswProxy.cmdSvc;

    CpswProxy_NotifyService *notifySvc = &gCpswProxy.notifySvc;

    int32_t status = CPSWPROXY_SOK;

 

    /* Wait for ETHFW's command service to be active */

    status = RPMessage_getRemoteEndPt(RPMESSAGE_ANY,

                                      ETHREMOTECFG_FRAMEWORK_SERVICE_NAME,

                                      &cmdSvc->masterCoreId,

                                      &cmdSvc->masterEndpt,

                                      CPSWPROXY_LOCATE_TIMEOUT);

    ETHFWTRACE_ERR_IF((status != IPC_SOK), status,

                      "Failed to get ETHFW command service endpt "); <<<<-------- Error message mentioned above ???? why is this happening?!?!

thanks.

  • Hi,

    Can you please share Ethernet Firmware Debug log from MAIN UART2?

    We think EthFw is not running some assertion might happened.
    Can you conform have you connected GESI Card? If not EthFw will fail for opening Port-1 as it is from GESI Expansion card.

    If you are not using GESI expansion card please disable the ports on GESI.
    You can connect GESI and use all 8 Ports, Or you can disable Ports mapped to GESI from "gEthAppPorts" array from server main.c file.


    Best Regards,
    Sudheer