[U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API
Wolfgang Denk
wd at denx.de
Thu Aug 13 00:50:57 CEST 2009
Dear Ben Warren,
In message <4A8342BE.7050600 at gmail.com> you wrote:
>
> It looks like the 'trab' board uses 16-bit accesses
> (CONFIG_CS8900_BUS16). The function 'get_reg_init_bus()' does some
> funny initialization to get the chip into 16-bit mode. I wonder if
> maybe that's not working the same as the original. That could explain
> the crash too.
Yes...
> BTW - it shouldn't matter in this case, but there's a typo in cs8900.c
> that this should fix:
I confirm that this change has no impact on the current issue.
Note however that your modification was probably not the (only)
culprit. With current mainline version I get this:
TRAB # run load
TFTP from server 192.168.1.1; our IP address is 192.168.3.68
Filename 'trab/u-boot.bin-wd'.
Load address: 0xc100000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
TFTP from server 192.168.1.1; our IP address is 192.168.3.68
Filename 'trab/u-boot.bin-wd'.
Load address: 0xc100000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
TFTP from server 192.168.1.1; our IP address is 192.168.3.68
Filename 'trab/u-boot.bin-wd'.
Load address: 0xc100000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
with the timeouts being *way* too fast.
It seems that 1.2.0 was the last version that has been actually
tested on trab / SMDK2400.
I'll try to run a git bisect tomorrow; need to get some sleep now.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
As long as we're going to reinvent the wheel again, we might as well
try making it round this time. - Mike Dennison
More information about the U-Boot
mailing list