USDPAA Application Hello_Reflector

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USDPAA Application Hello_Reflector

879 Views
astony
Contributor I

Hello friends, i got a problem when i using the usdpaa application: hello_reflector.

according to the sdk info center, i had modified the dts file just like the following :

ethernet@1 {

  compatible = "fsl,t1040-dpa-ethernet-init", "fsl,dpa-ethernet-init";

  fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;

  fsl,qman-frame-queues-rx = <0x52 1 0x53 1>;

  fsl,qman-frame-queues-tx = <0x72 1 0x73 1>;

  };

after system  ready,  i input "ifconfig" command  to ensure the ethernet configuration, none ethernet inerface shown but loopback interface. the driver "fsl,dpa-ethernet-init" may be wrong found nothing in source code, so how can i do for the question? thanks much more for your help. thanks...

0 Kudos
Reply
1 Reply

682 Views
bpe
NXP Employee
NXP Employee

The behaviour you are observing is as expected. When you specify

the interface property "dpa-ethernet-init", Linux does only the

basic intitialization for the interface, leaving everything else

to USDPAA.  The kernel cannot exchange any data through this interface

and ifconfig does not see it. If you are going to work with reflector,

this is correct.  Details can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-26672C29-DF94-4EF5-9EFF-C...

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-FA9433C9-E581-440F-9DAA-1...

Note, the SDK provides a ready Device Tree file for USDPAA applications

for your processor, t1040d4rdb-usdpaa.dts

Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------