From: Wolfgang Denk Date: Thu, 13 Aug 2009 00:50:57 +0200 Subject: [U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API In-Reply-To: <4A8342BE.7050600@gmail.com> References: <1250050332-15531-1-git-send-email-biggerbadderben@gmail.com> <1250050332-15531-2-git-send-email-biggerbadderben@gmail.com> <20090812221747.5C84F833DBD2@gemini.denx.de> <4A8342BE.7050600@gmail.com> Message-ID: <20090812225057.F0C2E833DBD2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ben Warren, In message <4A8342BE.7050600@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