From: Wolfgang Denk Date: Sat, 07 Aug 2010 17:47:56 +0200 Subject: [U-Boot] 'usb start' works very unstable In-Reply-To: <20100807163957.52c1cceb@mosly> References: <20100807101848.636cb978@mosly> <20100807112205.A5D141536EF@gemini.denx.de> <20100807163957.52c1cceb@mosly> Message-ID: <20100807154756.AD4D11536EF@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 Sergei Trofimovich, In message <20100807163957.52c1cceb@mosly> you wrote: > > > > Heh, capacity is reported incorrectly, but it works am I'm able > > > to load kernel from there. > > The reason for this is that the multiplication 488397168 x 512 will > > overflow a 32 bit integer as used in "disk/part.c"; this shouldbe > > fixed... > > This issue is still here: Sorry for not being clear. What I meant was: this is a bug that needs to be fixed (patches welcome). > And I can't reproduce it anymore with 'u-boot/master'. > Rebooted 3 times and I have stable detection \o/. Good. At least one problem solved. > $sudo openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg > Open On-Chip Debugger 0.5.0-dev-00466-g28ddefd (2010-08-06-22:54) > ... > > reset Hm... I am not sure what exactly the OpenOCD debugger does when you run the reset command; eventually it performs some initializations (defined in sheevaplug.cfg ?), and/or prevents others. The CPU may, or may not, be in the virgin state expected by U-Boot. Detach the debugger, and perform a real hard reset instead. Or try to configure the debugger not to perform any initializations (i. e. the equivalent of the "reset run" command on BDI2000/30000). 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 Democracy is mob rule, but with income taxes.