[U-Boot-Users] examples solved

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

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
participants (2)
-
Andrew Wozniak
-
John Davis