* [U-Boot-Users] Running uC/OS-II on top of u-boot
@ 2008-04-28 19:10 onyxtape
2008-04-28 21:16 ` David Hawkins
2008-04-28 21:34 ` Wolfgang Denk
0 siblings, 2 replies; 6+ messages in thread
From: onyxtape @ 2008-04-28 19:10 UTC (permalink / raw)
To: u-boot
Hello all,
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!
--
View this message in context: http://www.nabble.com/Running-uC-OS-II-on-top-of-u-boot-tp16945849p16945849.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Running uC/OS-II on top of u-boot
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
2008-04-29 6:25 ` M C
2008-04-28 21:34 ` Wolfgang Denk
1 sibling, 1 reply; 6+ messages in thread
From: David Hawkins @ 2008-04-28 21:16 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Running uC/OS-II on top of u-boot
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
@ 2008-04-28 21:34 ` Wolfgang Denk
2008-04-29 6:24 ` M C
1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2008-04-28 21:34 UTC (permalink / raw)
To: u-boot
In message <16945849.post@talk.nabble.com> you wrote:
>
> 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.
Why not using a feature-rich, money-efficient solution like Linux? One
of the big advantages is that you get a running system completely for
free and out of the box...
> - Can the porting layer of uC/OS-II use some of the u-boot functions for PCI
> and ethernet access?
It can, if you use the GPL2 based "Open Source Licensing" model of
uC/OS-II.
> - 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.
Well, that's starting to be off topic here...
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
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower. - Terry Pratchett, _Mort_
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Running uC/OS-II on top of u-boot
2008-04-28 21:34 ` Wolfgang Denk
@ 2008-04-29 6:24 ` M C
2008-04-29 7:27 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: M C @ 2008-04-29 6:24 UTC (permalink / raw)
To: u-boot
> To: onyxtape at hotmail.com
> CC: u-boot-users at lists.sourceforge.net
> From: wd at denx.de
> Subject: Re: [U-Boot-Users] Running uC/OS-II on top of u-boot
> Date: Mon, 28 Apr 2008 23:34:20 +0200
>
> In message you wrote:
>>
>> 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.
>
> Why not using a feature-rich, money-efficient solution like Linux? One
> of the big advantages is that you get a running system completely for
> free and out of the box...
The software has to eventually undergo certification, and uC/OS-II should be a smaller codebase to certify than Linux.
>
>> - Can the porting layer of uC/OS-II use some of the u-boot functions for PCI
>> and ethernet access?
>
> It can, if you use the GPL2 based "Open Source Licensing" model of
> uC/OS-II.
>
>> - 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.
>
> Well, that's starting to be off topic here...
>
>
> 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
> He'd been wrong, there _was_ a light at the end of the tunnel, and it
> was a flamethrower. - Terry Pratchett, _Mort_
_________________________________________________________________
Back to work after baby?how do you know when you?re ready?
http://lifestyle.msn.com/familyandparenting/articleNW.aspx?cp-documentid=5797498&ocid=T067MSN40A0701A
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Running uC/OS-II on top of u-boot
2008-04-28 21:16 ` David Hawkins
@ 2008-04-29 6:25 ` M C
0 siblings, 0 replies; 6+ messages in thread
From: M C @ 2008-04-29 6:25 UTC (permalink / raw)
To: u-boot
I'll try to stub out some of the porting functions and run the OS as a basic standalone app. Thanks!
> Date: Mon, 28 Apr 2008 14:16:59 -0700
> From: dwh at ovro.caltech.edu
> To: onyxtape at hotmail.com
> CC: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] Running uC/OS-II on top of u-boot
>
> 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
_________________________________________________________________
In a rush? Get real-time answers with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Running uC/OS-II on top of u-boot
2008-04-29 6:24 ` M C
@ 2008-04-29 7:27 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2008-04-29 7:27 UTC (permalink / raw)
To: u-boot
In message <BAY118-W511551AF68516CE9C052DCCFD90@phx.gbl> you wrote:
>
> > Why not using a feature-rich, money-efficient solution like Linux? One
> > of the big advantages is that you get a running system completely for
> > free and out of the box...
>
> The software has to eventually undergo certification, and uC/OS-II should
> be a smaller codebase to certify than Linux.
The code base may be smaller, but the cost may or may not be smaller.
There are some interesting activities going on. Please check out the
information about the "Safety Critical Linux" project run by the Open
Source Automation Development Lab (OSADL), see
http://www.osadl.org/Safety-Critical-Linux.safety-critical-linux.0.html
There is a real chance to establish an "Open Certification Process"
in a not to far future, so Linux might still be a better long-tem
investment.
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
The light at the end of the tunnel is usually a "No Exit" sign.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-29 7:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.