[U-Boot-Users] No ethernet link on Lubbock board.

Victor pfc at presstour-bcn.com
Fri Jul 11 18:59:00 CEST 2008


I tried making the loop slower, but no luck.

Just another thing I found today. If you reboot from a working Linux
(ctr-alt-del), ethernet works flawlessly on u-boot !!!!!!!

2008/7/9 Jerry Van Baren <gerald.vanbaren at ge.com>:
> Victor wrote:
>>
>> Something more I have found out:
>>
>> I've looking at drivers/net/lan91c96.c:
>>
>> I have enabled Debug, and hardcoded my Mac address on get_rom_mac().
>>
>> I loaded u-boot on my board, and when I run a tftp command I get this:
>>
>> $ tftp
>> LAN91C96:smc_close
>> LAN91C96:smc_shutdown
>> LAN91C96:smc_open
>> LAN91C96:smc_reset
>> LAN91C96:smc_enable
>> Using MAC Address 00:02:B3:00:8F:3B
>> *** Warning: no boot file name; using 'C0A80102.img'
>> TFTP from server 192.168.1.1; our IP address is 192.168.1.2
>> Filename 'C0A80102.img'.
>> Load address: 0xa0008000
>> Loading: LAN91C96: memory allocation, try 1 failed ...
>
> Ahhh, that and grep ought to narrow down the error domain hugely.  Bingo:
> <http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=drivers/net/lan91c96.c;h=c23a4000a2860cfa596fd864c11da8ff4b22c4b6;hb=c956717ab25c962ef49d49064dfc73f4edcba1fb#l449>
>
> Now you just have to figure out why the chip doesn't want to allocate memory
> or perhaps you have a problem with the MEMORY_WAIT_TIME definition?  Maybe
> your CPU is too fast, maybe you need a delay in the loop or need to make the
> loop (MEMORY_WAIT_TIME) longer?
>
> Best regards,
> gvb
>




More information about the U-Boot mailing list