[U-Boot-Users] Re: how to run hello_world

Robin Getz rgetz at blackfin.uclinux.org
Sat Oct 9 01:01:39 CEST 2004


Wolfgang Denk wrote:

>I thought the description on this page was pretty explicit...

The only think I don't see (and have been looking for a standalone app that 
I am writing, is the difference between load address and entry address.

In the hello_world.c application, it's configured to run at address 
0x00040004, but the load address is 0x00040000 - why in this case is there 
a 4 byte difference.

=> tftp 40000 /tftpboot/hello_world.bin
...
=> go 40004 This is another test.

I assume that this is a toolchain issue, and may be offtopic for this list.

A slightly different issue - I know that you can load up an elf image as a 
standalone app as well, but I don't seem to be able to pass it any command 
line args.

=> tftp 1000000 /tftpboot/hello_world
=> bootelf this is another test

fails, becuase U-boot trys to pass "this is another test" to bootelf, and 
it doesn't like it.

-Robin





More information about the U-Boot mailing list