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!
Signature · 2 lines
View this message in context: http://www.nabble.com/Booting-Standalone-App--tp15172456p15172456.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Quoted 4 lines · onyxtape
Hi there,
So what are the steps to get u-boot to boot the
hello_worldexample? 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
Quoted 4 lines · In message <[email protected]> you wrote:
So what are the steps to get u-boot to boot the
hello_worldexample? I'm evaluating the PowerPC 440-based AMCC Yosemite board. This is what I have done:
Please RTFM.
Quoted 2 lines
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
Signature · 4 lines
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 Save energy: Drive a smaller shell.
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
Signature · 19 lines
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 Save energy: Drive a smaller shell. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users -- View this message in context: http://www.nabble.com/Booting-Standalone-App--tp15172456p15188816.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Quoted 4 lines · In message <[email protected]> you wrote:
I've already read the documents that you have referenced before posting my first message. I had already gotten
hello_worldto 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.
Quoted 2 lines
My original question was - is it possible to boot a standalone application like the
hello_worldexample 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.
Quoted 3 lines
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
Signature · 5 lines
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 If you can't beat it or corrupt it, you pretend it was your idea in the first place. - Terry Pratchett, _Guards! Guards!_