
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Wolfgang Denk Sent: Saturday, August 07, 2010 9:18 PM To: Sergei Trofimovich Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] 'usb start' works very unstable
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.
It just perform system reset operation and resumes operation normally unless we halt if through debug commands
Regards.. Prafulla . .