On Fri, 20 May 2011, Ricardo Salveti wrote:
Hi John,
Today I was trying to see if I could get the ethernet driver to work with Panda, so we could try TFTP support.
Most of the patches are posted at the u-boot m-l already, that consist of the smsc95xx driver and EHCI support for Panda. With all these patches, and using the x-loader provided by omapzoom, I can make the ethernet device to work just fine, and also able to use TFTP.
You can find my WIP tree at https://gitorious.org/ubuntu-experimental/linaro-u-boot/commits/u-boot-maste...
Remaining issues:
- Doesn't work with the upstream version of X-Loader (probably
missing some EHCI related initialization);
- The SMSC driver seems to be quite unstable, as if you try to start
and stop the USB it'll hang at the next time you try to start it again;
- The EHCI driver duplicate a lot of code from the OMAP 3 driver, we
should to reduce most of it;
- Doesn't work without setting a valid mac address;
- Default mac address is still 0, and we could use the same logic at
the kernel to calculate the unique mac per board (using omap die ie);
Yes, pretty please, make sure that the default MAC address ends up being the same as what is generated in the kernel. Of course the env variable should still be able to override it.
Nicolas