From: David Hawkins <dwh@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Running uC/OS-II on top of u-boot
Date: Mon, 28 Apr 2008 14:16:59 -0700 [thread overview]
Message-ID: <48163ECB.2090700@ovro.caltech.edu> (raw)
In-Reply-To: <16945849.post@talk.nabble.com>
Hi,
> We have a PowerPC 440 EP (from a AMCC Yosemite evaluation kit)
> and we are in the process of evaluating OSes for it. The
> industrial strength ones (like vxWorks) are too much
> feature-wise and money-wise, so we're hoping to try out uC/OS-II.
>
> If someone has tried to do this before, I have a few questions:
>
> - How do you configure it to run on top of u-boot? What commands are used?
>
> - Can the porting layer of uC/OS-II use some of the u-boot functions for PCI
> and ethernet access?
>
> - Are there any existing instructions on how to build (or create a makefile)
> uC/OS-II using the compilers supplied by the ELDK? I keep getting a failure
> to "find entry symbol _start", even if I include the gcc libraries,
> crtbegin.o, etc.
>
> I appreciate any help that I can get with my questions. Thanks!
I have a Yosemite board, but haven't tried running uCOS-II
on it.
I would suggest creating a uCOS-II port that starts out life
as a U-Boot stand-alone application.
This way U-Boot sets up the processor, so your uCOS-II port
doesn't have to deal with that.
In the U-Boot stand-alone application, you would create the
first uCOS-II task and initialize it. The other tasks
would be in the same image loaded by U-Boot.
You might even get away with using U-Boots console routines,
however, since they're polled, you might want to create your
own. If you do use them, you might want to use a mutex to
protect the console routine use in multiple tasks.
This scheme is analogous to starting uCOS-II from DOS in
the Labrosse book. It should be possible to exit from uCOS-II
back to the U-Boot console too.
Cheers,
Dave
next prev parent reply other threads:[~2008-04-28 21:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 19:10 [U-Boot-Users] Running uC/OS-II on top of u-boot onyxtape
2008-04-28 21:16 ` David Hawkins [this message]
2008-04-29 6:25 ` M C
2008-04-28 21:34 ` Wolfgang Denk
2008-04-29 6:24 ` M C
2008-04-29 7:27 ` Wolfgang Denk
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=48163ECB.2090700@ovro.caltech.edu \
--to=dwh@ovro.caltech.edu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.