All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] problem running u-boot from RAM
@ 2011-04-17  1:44 Eric Cooper
  2011-04-17  7:42 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Cooper @ 2011-04-17  1:44 UTC (permalink / raw)
  To: u-boot

I'm encountering a strange problem trying to run recent versions of
u-boot from RAM on my DockStar.

I have version 2011.03 in NAND flash, and it boots OK and launches
Linux OK.  But if I use it to load u-boot.bin into RAM (at TEXT_BASE =
0x600000) and type "go 600000", it hangs soon after the relocation step.
I've checked using crc32 that the image is correct in RAM, and I've
used both tftpboot and fatload, with identical results.

But here's the strange part: if I use openocd to load the same image
to the same location using JTAG, and do "resume 0x600000", it works
correctly.

I'm not sure what the difference could be.  Does anyone have any
ideas?  It's a lot more convenient to use TFTP to test out new images
than JTAG, so I'd like to get this working.

-- 
Eric Cooper             e c c @ c m u . e d u

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] problem running u-boot from RAM
  2011-04-17  1:44 [U-Boot] problem running u-boot from RAM Eric Cooper
@ 2011-04-17  7:42 ` Wolfgang Denk
  2011-04-17 14:34   ` Eric Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2011-04-17  7:42 UTC (permalink / raw)
  To: u-boot

Dear Eric Cooper,

In message <20110417014436.GD847@localhost> you wrote:
> I'm encountering a strange problem trying to run recent versions of
> u-boot from RAM on my DockStar.

http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM

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
CONSUMER NOTICE:  Because  of  the  "Uncertainty  Principle,"  It  Is
Impossible  for  the  Consumer  to  Find  Out  at  the Same Time Both
Precisely Where This Product Is and How Fast It Is Moving.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] problem running u-boot from RAM
  2011-04-17  7:42 ` Wolfgang Denk
@ 2011-04-17 14:34   ` Eric Cooper
  2011-04-17 15:23     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Cooper @ 2011-04-17 14:34 UTC (permalink / raw)
  To: u-boot

On Sun, Apr 17, 2011 at 09:42:31AM +0200, Wolfgang Denk wrote:
> http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM

OK, thanks.  But I'd still like to figure out why it works fine when
loaded into RAM via JTAG, after u-boot has already initialized the
machine in the same way.

Cheers,
Eric

-- 
Eric Cooper             e c c @ c m u . e d u

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] problem running u-boot from RAM
  2011-04-17 14:34   ` Eric Cooper
@ 2011-04-17 15:23     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-04-17 15:23 UTC (permalink / raw)
  To: u-boot

Dear Eric Cooper,

In message <20110417143410.GA12566@localhost> you wrote:
> On Sun, Apr 17, 2011 at 09:42:31AM +0200, Wolfgang Denk wrote:
> > http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
> 
> OK, thanks.  But I'd still like to figure out why it works fine when
> loaded into RAM via JTAG, after u-boot has already initialized the
> machine in the same way.

Please re-read the FAQ.  Your mistake is most probably in the "in the
same way" part of your sentence.

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
"Bureaucracy is the enemy of innovation."
       - Mark Shepherd, former President and CEO of Texas Instruments

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-17 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-17  1:44 [U-Boot] problem running u-boot from RAM Eric Cooper
2011-04-17  7:42 ` Wolfgang Denk
2011-04-17 14:34   ` Eric Cooper
2011-04-17 15:23     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.