[U-Boot-Users] Booting Standalone App?

Hi there,
So what are the steps to get u-boot to boot the hello_world example? I'm evaluating the PowerPC 440-based AMCC Yosemite board. This is what I have done:
gzip hello_world.bin
mkimage -A ppc -0 linux -T standalone -C gzip -a 40000 -e 40004 -n "Standalone" -d hello_world.bin.gz hello_world.ub
Then I loaded the ub file onto the board at 0x40000. Then when I tried to bootm 40000, it would uncompress the standalone app (Uncompressing Standalone Application ... OK) then stop after showing 2 symbols.
What am I doing wrong?
I'm a complete newbie to u-boot and I've tried to find discussions online and reading the DULG, but I'm not having too much luck...
Thanks!

onyxtape wrote:
Hi there,
So what are the steps to get u-boot to boot the hello_world example? I'm evaluating the PowerPC 440-based AMCC Yosemite board.
Here are the notes I wrote for the Yosemite board, they include how to build the standard standalone example. Perhaps that will help you.
http://www.ovro.caltech.edu/~dwh/powerpc_440ep.pdf
Cheers, Dave

In message 15172456.post@talk.nabble.com you wrote:
So what are the steps to get u-boot to boot the hello_world example? I'm evaluating the PowerPC 440-based AMCC Yosemite board. This is what I have done:
Please RTFM.
I'm a complete newbie to u-boot and I've tried to find discussions online and reading the DULG, but I'm not having too much luck...
Seems you didn't really try.
See http://www.denx.de/wiki/view/DULG/UBootStandalone and http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk

Wolfgang,
Thank you for your reply.
I've already read the documents that you have referenced before posting my first message. I had already gotten hello_world to run in u-boot without problems (by using the go command), so that is not an issue.
My original question was - is it possible to boot a standalone application like the hello_world example like a kernel? I did not see any reference materials which shows how this is done. I have not changed the code in hello_world, so the entry point should not have moved. Did I use mkimage correctly?
Thanks, Randy
See http://www.denx.de/wiki/view/DULG/UBootStandalone and http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk

In message 15188816.post@talk.nabble.com you wrote:
I've already read the documents that you have referenced before posting my first message. I had already gotten hello_world to run in u-boot without problems (by using the go command), so that is not an issue.
Well, that's the documented way to start standalone applications.
The only documented way, IIRC.
My original question was - is it possible to boot a standalone application like the hello_world example like a kernel? I did not see any reference
Is it a kernel? No. Does any part of the documentation say it could be used like that? No.
materials which shows how this is done. I have not changed the code in hello_world, so the entry point should not have moved. Did I use mkimage correctly?
This question makes no sense to me.
Best regards,
Wolfgang Denk
participants (3)
-
David Hawkins
-
onyxtape
-
Wolfgang Denk