Thanks for the follow-up. It's useful for people searching the archives.


On 11-01-25 12:29 PM, Joseph Hickman wrote:
We got this working, at long last. Turns out it was a pretty serious hardware problem. Our hardware guy put a DVIULC6-2P6 down for ESD protection on the TPI/TPO lines where the Tobi has a DVIULC6-4SC6, and wired it the same. The end result was the + and - lines on both Tx and Rx being shorted together, making it impossible for the 9221 to generate any kind of differential signal over the Ethernet lines.

Thanks for the software-side suggestions, though.

On Wed, Jan 19, 2011 at 9:38 PM, Ben Johnson <myalphabetfamily@gmail.com> wrote:
Well all of these ideas are things that I used to debug my Ethernet problem, which as is turns out is not very similar to yours.  To put the module in debug mode you can edit:

drivers/net/smsc911x.c 

add

#define USE_DEBUG 1

before 

 #if USE_DEBUG > 0
static int debug = 16;
#else
static int debug = 3;
#endif

If you rebuild your kernel(I don't use bitbake so I can't help you) then it should have addition debug statements when the driver comes up.  You can see those on the serial console or you can type dmesg after your system boots to view those.


On Wed, Jan 19, 2011 at 12:10 PM, Joseph Hickman <joseph.e.hickman@gmail.com> wrote:
Yes, we can use ethtool to manipulate the controller, so I assume the read/write lines are fine, as well as the oscillator. (The oscillator would have to be correct for digital interaction to the processor, yes? The chip and data needs to be clocked, and there's no other clock source provided.)

Can you provide guidance on how to build the driver as a module, and then place it in debug mode? I'm not especially Linux savvy, and especially not with bitbake.

Thanks.


On Wed, Jan 19, 2011 at 1:55 PM, Ben Johnson <myalphabetfamily@gmail.com> wrote:
I recently went through the same process and found a few issues with my hardware design.  We compiled the kernel with the 9221 driver as a module so that we could load it separately and then placed in the driver in debug mode.  We found a problem with the oscillator that we were using and the way that we routed the read/write lines going over to the gumstix.  But it sounds like from what you said your interface is working between the gumstix and the 9221? 

On Wed, Jan 19, 2011 at 10:42 AM, Joseph Hickman <joseph.e.hickman@gmail.com> wrote:
We're connecting an Overo Earth to a custom baseboard. We want to use the Gumstix for Ethernet, SDIO, and GPIO. So our baseboard design copied the Tobi design for Ethernet. But it's not working. We aren't seeing anything come out the Ethernet lines, not even the link integrity test pulses.

We're using the same LAN 9221 chip specified on the Tobi schematic. We didn't use an RJ45 connector, and so that means we didn't use the Halo HFJP1-S003-S1L12 part. Instead, we used a Pulse H1102NL 10/100Base-T transformer and an 8-pin Harwin connector. We included the same passives and ESD protection, and the same EEPROM specified.

We're using the bootloader and kernel images from the Gumstix website. When we boot the Overo on the Tobi board, we can clearly see the TPO+/- lines being driven periodically by the LAN chip, with a differntial pulse in that time frame. On our baseboard, the lines do change periodically, but the pulse never appears. Would an improperly configured Ethernet controller behave this way?

The ethtool binary works on both cases, so we know that we're able to have the OMAP processor communicate with the LAN controller. What should we be investigating? Or are there other components needed to make the Toby Ethernet design work?

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________ gumstix-users mailing list gumstix-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gumstix-users