* [U-Boot-Users] examples solved
@ 2005-11-16 14:47 John Davis
2005-11-16 14:57 ` Andrew Wozniak
0 siblings, 1 reply; 2+ messages in thread
From: John Davis @ 2005-11-16 14:47 UTC (permalink / raw)
To: u-boot
Hello
Thanks for the tip Wolfgang. I had looked at the page in the Readme file,
but looking at it again caused me to notice that they are using the .bin
file and the go address is one word past the load address.
Many thanks.
=> loadb 40000
<kermit stuff snipped>
## Total Size = 0x00010300 = 66304 Bytes
## Start Addr = 0x00040000
=> go 40004
## Starting application at 0x00040004 ...
Example expects ABI version 2
Actual U-Boot ABI version 2
Hello World
argc = 1
argv[0] = "40004"
argv[1] = "<NULL>"
Hit any key to exit ...
JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051116/14fda71d/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] examples solved
2005-11-16 14:47 [U-Boot-Users] examples solved John Davis
@ 2005-11-16 14:57 ` Andrew Wozniak
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Wozniak @ 2005-11-16 14:57 UTC (permalink / raw)
To: u-boot
John Davis wrote:
> Hello
>
> Thanks for the tip Wolfgang. I had looked at the page in the Readme
> file, but looking at it again caused me to notice that they are using
> the .bin file and the go address is one word past the load address.
Congrats on this long and winding road...
If you intend to create your own "u-boot applet", dig into the docs and
source code - especially if your applet needs to use additional library
functions supplied by u-boot. i.e. exports.
> Many thanks.
>
> => loadb 40000
> <kermit stuff snipped>
> ## Total Size = 0x00010300 = 66304 Bytes
> ## Start Addr = 0x00040000
> => go 40004
> ## Starting application at 0x00040004 ...
> Example expects ABI version 2
> Actual U-Boot ABI version 2
> Hello World
> argc = 1
> argv[0] = "40004"
> argv[1] = "<NULL>"
> Hit any key to exit ...
>
>
> JD
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-16 14:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 14:47 [U-Boot-Users] examples solved John Davis
2005-11-16 14:57 ` Andrew Wozniak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox