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...
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:
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!
-----------------------------------------------------------------------------------------------------------------------