[U-Boot] run_command() / do_run() fails in standalone application

Wolfgang Denk wd at denx.de
Fri Dec 26 17:30:03 CET 2008


Dear Remy,

In message <3efb10970812260240q4b3c7178nab2e9788a5b7cf8d at mail.gmail.com> you wrote:
> 
> > when i tftp that application to 0x40000 to Power PC evaluation
> > board then
> 
> Is there really RAM located at this address on your board?
> Address 0x40000 is usually only an example address...

It is very likely that there is RAM at this address. On PowerPC, RAM
usually is mapped starting at physical address 0.

> > i start executing go 40004 command its not doing any thing.
> 
> You should use the the same address in the 'go' command as to which
> you load the executable.

This advise is almost certainly wrong - the entry point is usually not
the same as the image's start address.

If in doubt, it helps reading the FAQ. See especially section
"14.2.16. My standalone program does not work" ...

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
Real computer scientists don't comment their  code.  The  identifiers
are so long they can't afford the disk space.


More information about the U-Boot mailing list