Re: FW: P4080 device tree problems with fsl dpaa ... RESOLVED.

2011-10-19 Thread Thomas De Schampheleire
Hi Robert,

On Tue, Oct 18, 2011 at 11:38 PM, Robert Sciuk robert.sc...@exfo.com wrote:


 [snip]


 How and what type of packets are you sending? Raw MAC frames, IP? Are
 you using custom code, or can you try things like ping?
 If you are using IP, I trust you checked the Linux configuration (like
 assigning a valid IP address to the interface and making sure the
 routing table is correct).

 Best regards,
 Thomas

 Thomas,

 I would like to thank you for your very kind assistance on the DPAA problem.  
 We traced the problem to the connection between MAC and PHY, and we have 
 resolved it by instrumenting code and comparing the TBI and PHY 
 initialization from u-boot to the Linux DPA code, and replacing some of the 
 magic numbers we found in the driver with magic numbers we know to work.  
 OUCH!

 We spent an inordinate amount of effort in trying to understand the 
 undocumented code/tree, but I am convinced that the device-tree approach to 
 embedded boards is a very valuable approach, and will ultimately solve many 
 more problems than it creates short term.

 Again, your information was of great assistance, and I look forward to being 
 able to pay forward the same kind of assistance in the future.

I'm very glad you found the issue (I was running out of ideas ;-) and
that I was able to help you in some way.
Thanks for posting back.

Good luck with the rest of your project!

Best regards,
Thomas


 Cheers,
 Rob Sciuk.


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


RE: FW: P4080 device tree problems with fsl dpaa ... RESOLVED.

2011-10-18 Thread Robert Sciuk


[snip]

 
 How and what type of packets are you sending? Raw MAC frames, IP? Are
 you using custom code, or can you try things like ping?
 If you are using IP, I trust you checked the Linux configuration (like
 assigning a valid IP address to the interface and making sure the
 routing table is correct).
 
 Best regards,
 Thomas

Thomas,

I would like to thank you for your very kind assistance on the DPAA problem.  
We traced the problem to the connection between MAC and PHY, and we have 
resolved it by instrumenting code and comparing the TBI and PHY initialization 
from u-boot to the Linux DPA code, and replacing some of the magic numbers we 
found in the driver with magic numbers we know to work.  OUCH!

We spent an inordinate amount of effort in trying to understand the 
undocumented code/tree, but I am convinced that the device-tree approach to 
embedded boards is a very valuable approach, and will ultimately solve many 
more problems than it creates short term.  

Again, your information was of great assistance, and I look forward to being 
able to pay forward the same kind of assistance in the future.

Cheers,
Rob Sciuk.

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev