RTOS porting
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
RTOS porting

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
abhiraj11
Guest





Posted: Mon Nov 28, 2005 5:15 pm    Post subject: RTOS porting Reply with quote

Hi,
Can any one tell me how to start porting a RTOS on ARM. I mean wha
exactly should i Study to port a RTOS.
Thank You.
Abhiraj
Back to top
Boudewijn Dijkstra
Guest





Posted: Mon Nov 28, 2005 5:15 pm    Post subject: Re: RTOS porting Reply with quote

"abhiraj11" <abhiraj11@yahoo.com> schreef in bericht
news:_ZOdnb1WGJYtZhfeRVn-iQ@giganews.com...
Quote:
Hi,
Can any one tell me how to start porting a RTOS on ARM. I mean what
exactly should i Study to port a RTOS.

I'm not a porting expert, but I think I have a few useful clues for you:

- Make sure that it isn't already ported.
- Determine how portable the various parts of RTOS code are.
- Use as much as possible a high level language like C.
- Use a popular compiler/assembler/linker toolchain.
- Get a popular reference board, a popular JTAG debugger and a popular IDE
that supports your toolchain and debugger.
- Look at standalone sample IDE projects for ARM and for architectures that
you are familiar with.
- Look at RTOS sample IDE projects for ARM and for architectures that you are
familiar with.
- Look at other ports of the RTOS.
- Look at other RTOSes ported to ARM.

BTW, which RTOS are we talking about?
Back to top
Dan Henry
Guest





Posted: Tue Nov 29, 2005 12:36 am    Post subject: Re: RTOS porting Reply with quote

On Mon, 28 Nov 2005 18:09:09 +0100, "Boudewijn Dijkstra"
<usenet@bdijkstra.tmfweb.nl> wrote:

Quote:
"abhiraj11" <abhiraj11@yahoo.com> schreef in bericht
news:_ZOdnb1WGJYtZhfeRVn-iQ@giganews.com...
Hi,
Can any one tell me how to start porting a RTOS on ARM. I mean what
exactly should i Study to port a RTOS.

I'm not a porting expert, but I think I have a few useful clues for you:

- Make sure that it isn't already ported.
- Determine how portable the various parts of RTOS code are.
- Use as much as possible a high level language like C.
- Use a popular compiler/assembler/linker toolchain.
- Get a popular reference board, a popular JTAG debugger and a popular IDE
that supports your toolchain and debugger.
- Look at standalone sample IDE projects for ARM and for architectures that
you are familiar with.
- Look at RTOS sample IDE projects for ARM and for architectures that you are
familiar with.
- Look at other ports of the RTOS.
- Look at other RTOSes ported to ARM.

BTW, which RTOS are we talking about?

Since some (small?) portion of the RTOS is likely to be written in
assembly language, study the ported-from architecture and its
instruction set(s) in addition to the same for the ARM.
--
Dan Henry
Back to top
Richard
Guest





Posted: Fri Dec 02, 2005 5:15 pm    Post subject: Re: RTOS porting Reply with quote

"abhiraj11" <abhiraj11@yahoo.com> wrote in message
news:_ZOdnb1WGJYtZhfeRVn-iQ@giganews.com...
Quote:
Hi,
Can any one tell me how to start porting a RTOS on ARM. I mean what
exactly should i Study to port a RTOS.
Thank You.
Abhiraj


The FreeRTOS WEB site has reproduced a report written by two students that
details their porting efforts. Take a look at the ColdFire port pages, also
the "How FreeRTOS Works" might be of interest. URL in signature below.

Regards,
Richard.

http://www.FreeRTOS.org
Back to top
Jim
Guest





Posted: Sat Dec 10, 2005 1:15 am    Post subject: Re: RTOS porting Reply with quote

Your development board should come with startup assembler code for
getting RAM, etc. to work. And your compiler vender should give you
the rest to get a c/c++ environment up & running. I always get a small
c/c++ program up & running first. Then, I port the RTOS. Note, each
RTOS has it's own porting guide.

If you lack experience with an RTOS, you might find the book
MicroC/OS-II by Labrosse helpful. It's a real small RTOS and I'm sure
it's been ported to arm.

Jim
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB