2008-02-26 11:24:02 SMSC9117 ethernet chip with 2008R1 and SMSC911x driver
Bill Fassler (UNITED STATES)
Message: 51666 It would seem that I have successfully migrated all my stuff over to the 2008R1 branch. I am just beginning to test.
I am using our custom BF561 board and if you recall earlier I had trouble with the hardware and/or driver. I had trouble with DHCP in u-boot and DHCPCD in uClinux and also it would auto-negotiate to 100Mb and fail to work at that speed and I got around things by hooking it up to an older 10Mb hub so it auto-negotiated to 10Mb and worked fairly well.
Now in 2008R1 I can auto-negotiate 100Mb and successfully ping another machine, but not much else. NFS mounts seem to fail and dhcpcd does not assign a dynamic IP.
I addressed all known hardware issues and was just hoping the upgrade to 2008R1 would remove the remaining issues.
I see in make menuconfig there are other dhcp related choices. Should I be selecting something different for hardware/driver (SMSC911x)?
[*] dhcpcd
[*] dhcpcd link-local support
[ ] dhcpcd-new (2.0/2.4)
[ ] dhcpd
[ ] dhcpd(ISC)
[ ] dhclient(ISC)
Bill
QuoteReplyEditDelete
2008-02-26 16:32:25 Re: SMSC9117 ethernet chip with 2008R1 and SMSC911x driver
Mike Frysinger (UNITED STATES)
Message: 51677 there really arent any options for the smsc driver, and there's only one driver in either tree
the only thing to double check would be the async bank settings, otherwise you'll have to turn on verbose debugging with tcpdump on another machine and see where it craps out
QuoteReplyEditDelete
2008-02-26 17:35:43 Re: SMSC9117 ethernet chip with 2008R1 and SMSC911x driver
Bill Fassler (UNITED STATES)
Message: 51678 Our SMSC9117 sits on Async bank 3 and I set the value to 4498. Is anyone else using SMSC9117/SMSC9118 with a bus speed/sclk of 120Hz. I am really new at trying to calculate this. I had a larger value in there but the delays were causing problems, now if I calculated correctly I think I am pushing the limits.
Anybody have a better value suggestion?
Bill
QuoteReplyEditDelete
2008-02-26 17:57:41 Re: SMSC9117 ethernet chip with 2008R1 and SMSC911x driver
Bill Fassler (UNITED STATES)
Message: 51680 I have trouble both in the polled version of the driver in u-boot and the interrupt driven driver in uClinux (or perhaps there is still an unidentified hardware issue or RAM/FLASH partitioning problem).
In u-boot, if I run dhcp, it seems to work and gets a dynamically assigned address, but then anything you do after that crashes.
Perhaps this is a parallel issue and not directly related to the ethernet hardware or software. Perhaps it is a memory problem of sorts. I say this because TFTP works great the first time, but if something goes wrong and you try to TFTP the image a second time I have lost all my environment variables. I have to reboot the board to get things straightened out.
Bill
QuoteReplyEditDelete
2008-03-13 10:05:55 Re: SMSC9117 ethernet chip with 2008R1 and SMSC911x driver
Robin Getz (UNITED STATES)
Message: 52456 Bill:
Were you able to track this down? It seems like it is a hardware issue or a config problem - since you should not see what you are describing.
-Robin