* [U-Boot-Users] Booting Standalone App?
@ 2008-01-29 23:51 onyxtape
2008-01-30 0:49 ` David Hawkins
2008-01-30 8:44 ` Wolfgang Denk
0 siblings, 2 replies; 5+ messages in thread
From: onyxtape @ 2008-01-29 23:51 UTC (permalink / raw)
To: u-boot
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!
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Booting Standalone App?
2008-01-29 23:51 [U-Boot-Users] Booting Standalone App? onyxtape
@ 2008-01-30 0:49 ` David Hawkins
2008-01-30 8:44 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: David Hawkins @ 2008-01-30 0:49 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Booting Standalone App?
2008-01-29 23:51 [U-Boot-Users] Booting Standalone App? onyxtape
2008-01-30 0:49 ` David Hawkins
@ 2008-01-30 8:44 ` Wolfgang Denk
2008-01-30 18:39 ` onyxtape
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2008-01-30 8:44 UTC (permalink / raw)
To: u-boot
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
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Booting Standalone App?
2008-01-30 8:44 ` Wolfgang Denk
@ 2008-01-30 18:39 ` onyxtape
2008-01-31 0:09 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: onyxtape @ 2008-01-30 18:39 UTC (permalink / raw)
To: u-boot
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
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Booting Standalone App?
2008-01-30 18:39 ` onyxtape
@ 2008-01-31 0:09 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2008-01-31 0:09 UTC (permalink / raw)
To: u-boot
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
--
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!_
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-31 0:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 23:51 [U-Boot-Users] Booting Standalone App? onyxtape
2008-01-30 0:49 ` David Hawkins
2008-01-30 8:44 ` Wolfgang Denk
2008-01-30 18:39 ` onyxtape
2008-01-31 0:09 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox