From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 09 Jul 2008 12:33:22 -0400 Subject: [U-Boot-Users] No ethernet link on Lubbock board. In-Reply-To: <5a65fa170807090910y1fc587a2h165d68a050f31541@mail.gmail.com> References: <5a65fa170807081039x16ec7e18s3fdefd4b07d8292c@mail.gmail.com> <48740BEB.1060901@gmail.com> <5a65fa170807090840i5a298f17l97f4c84b6e23593d@mail.gmail.com> <5a65fa170807090910y1fc587a2h165d68a050f31541@mail.gmail.com> Message-ID: <4874E852.1060008@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: 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