2008-02-23 01:16:26 SMC91C111 works with u-boot but not Linux
Robert Amstadt (UNITED STATES)
Message: 51532 I've got 1 board out of a batch of 20 with a failure. I'm using the SMC91C111 with then BF533 like 533 stamp board. U-boot is able to use the ethernet, but linux isn't. Anybody know what the difference is between the two drivers with respect to this chip?
Thanks.
QuoteReplyEditDelete
2008-02-23 01:25:36 Re: SMC91C111 works with u-boot but not Linux
Mike Frysinger (UNITED STATES)
Message: 51533 what kernel/u-boot version ?
both should have a verbose-debugging facility you can enable to compare further
QuoteReplyEditDelete
2008-02-23 03:48:25 Re: SMC91C111 works with u-boot but not Linux
Robert Amstadt (UNITED STATES)
Message: 51534 u-boot is 1.1.3 and kernel is 2.6.12 from 2005R4. After investigating, I suspect the interrupt isn't going through, but I need to investigate further.
QuoteReplyEditDelete
2008-02-23 04:04:05 Re: SMC91C111 works with u-boot but not Linux
Mike Frysinger (UNITED STATES)
Message: 51535 i'd point out both of those versions are incredibly old ... there have been innumerable fixes to both code bases since
QuoteReplyEditDelete
2008-02-23 05:14:49 Re: SMC91C111 works with u-boot but not Linux
Javier Herrero (SPAIN)
Message: 51552 If only one board of 20 is failing, I would suspect a hardware problem instead of a software problem. Difference between u-boot and uclinux ethernet drivers is that u-boot is polled and uclinux is interrupt driven, so I would check with an oscilloscope if the interrupt signal is OK.
Regards,
Javier
QuoteReplyEditDelete
2008-02-23 05:20:57 Re: SMC91C111 works with u-boot but not Linux
Mike Frysinger (UNITED STATES)
Message: 51553 true ... but the flash bank settings may also be a factor. i dont believe the older u-boot required all banks to be programmed, while the kernel will program every one according to the kconfig ... if the banks are misconfigured, then it may happen to work most of the time
QuoteReplyEditDelete
2008-02-23 05:21:05 Re: SMC91C111 works with u-boot but not Linux
Javier Herrero (SPAIN)
Message: 51554 of course... it must be read 'uclinux is interrupt driven' instead of ethernet driver...
QuoteReplyEditDelete
2008-02-23 12:07:17 Re: SMC91C111 works with u-boot but not Linux
Robert Amstadt (UNITED STATES)
Message: 51558 Thanks. I suspected the interrupt line as well and have started checking that out myself.
I didn't know about the bank selects and will look into that as well.
Thanks, that is the information that I need because I'm sure it is a hardware issue on this one board. This is the only board out of 20 that failed to work correctly. There is probably a short or an open somewhere causing this issue. Thank you for the clues that will help me track it down.
QuoteReplyEditDelete
2008-02-23 14:04:09 Re: SMC91C111 works with u-boot but not Linux
Robert Amstadt (UNITED STATES)
Message: 51561 Thank you. I have tracked the problem down to a short on the interrupt line. I've taken care of the problem and the board works flawlessly.