Skip to contentSkip to conversation

problem running u-boot from RAM

U-Boot Eric Cooper 2 participants 4 messages Apr 17, 2011

lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Eric Cooper             e c c @ c m u . e d u
#1 lore raw

Dear Eric Cooper,

Quoted 2 lines · 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

Signature · 6 lines
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.
#3 lore raw

Dear Eric Cooper,

Quoted 6 lines · In message <20110417143410.GA12566@localhost> you wrote:
Quoted 1 line · Wolfgang Denk

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

Signature · 5 lines
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