Embedded / RTOS

Moderators: None (Apply to moderate this forum)
Number of threads: 362
Number of posts: 665

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
RTOS porting Posted by its me on 14 Jan 2008 at 5:01 AM
Hi to all,

I'm a newbie to this group and RTOS , I want to know what the Porting means and how to implement my rtos with the application.I have checked with the some sites but coudn't get any snippets. I'm a starter for the RTOS i want to know what are the changes to be made when i try to implement a RTOS for the advanced processor with the RTOS am having ( lower version ).
I'm having the iMX21 RTOS(UCOS-II) and i need to port for iMX27 as the CPU of the both is same ARM 926EJ-S.
I want to know basics to port the RTOS and tests for porting a RTOS.

I have found useful with the UCOS-II book by Jean Labrosse,but i need interms of porting.

Thanking You.
sathish.
Report
Re: RTOS porting Posted by Laxs on 7 Sept 2008 at 7:24 AM
Hi,

an Operating system has a layer system. there is
1. application level
2. middle layer like system call, scheduller, etc
3. and then the lower level is kernel level, some engineer called as device driver (some C code to make sure your device run ^.^)

Porting it's mean is "make run your operating system to different Platform".
different platform it's mean:
1. different processor
2. different memory size
3. different IO system
4. etc

lets make simple example:
you has an operating system to handle IO routine, system scheduler, task handling, etc... and you has develop your OS on the 8051 platform.

and then you has plan to make run motorola processor... then you must change your current code (previosly writen for 8051).
you must change your low level function and adjust it for motorola processor, like your interrupt handler, write / read to memory, send/receive data, etc....... yes you has modify kernel... but not all kernel code you must change... just low level function.

you must wtiten your operating system kernel in C. if you has write it on Assembly... you totaly dead ^.^... because Assembly is specific languange..
it's not portable like C

Hope it will help you



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.