public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Need Some Help
Date: Fri, 01 Aug 2008 20:55:43 +0200	[thread overview]
Message-ID: <20080801185543.ADF2B248BF@gemini.denx.de> (raw)
In-Reply-To: Your message of "Fri, 01 Aug 2008 14:25:14 EDT." <004a01c8f403$f1a4d590$d4ee80b0$@com>

In message <004a01c8f403$f1a4d590$d4ee80b0$@com> you wrote:
> 
> Thanks for the reply, but I have a few questions.
> The first is can U-boot load any application other than a Linux.

Of course it can. If you had read the manual, you should  have  found
the  section about standalone applications. And of course it can boot
a couple of other operating systems as  well,  which,  from  U-Boot's
point of view, are just different applications.

> I simply want to use u-boot as a boot loader, to load a non-Linux app into
> memory and jump to that app with or without uboot's hardware init. The

If you want to avoid U-Boot's hardware init, then run your application
on the raw hardware without U-Boot. But be prepared that then you have
to reinvent all the needed hardware init steps yourself.

> second wuestion is where can I get some help in doing just that, if it's
> possible? I don't want to have to build and cross-compile my app in Linux in
> order for u-boot to load it. Third, if I have to compile my app in Linux,
> can I simply use mkimage with the hello world binary and do a bootm from
> that?

May I suggest that you just read the related sections in the  manual?
It  comes  with  a couple of examples which show exactly what you are
asking for.

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 programming was easy, they wouldn't need something as  complicated
as a human being to do it, now would they?
                       - L. Wall & R. L. Schwartz, _Programming Perl_

  reply	other threads:[~2008-08-01 18:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 13:42 [U-Boot-Users] Need Some Help Mondesir, Alshine
2008-07-23 20:48 ` Ken.Fuchs at bench.com
2008-07-23 21:09   ` Jerry Van Baren
2008-07-24  3:18 ` Wolfgang Denk
2008-08-01 18:25   ` Alshine Mondesir
2008-08-01 18:55     ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-17 17:58 [U-Boot-Users] need some help Timothy Rosario
2007-03-17 18:13 ` David Hawkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080801185543.ADF2B248BF@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox