Re: [Xenomai-help] How can I use xenomai with the linux kernel of 2.6.32 on the plarform of omap3530?

2012-03-03 Thread Arnout Vandecappelle
On Wednesday 29 February 2012 10:08:05 Gilles Chanteperdrix wrote:
> On 02/29/2012 08:14 AM, xgd...@sina.com wrote:
> > Dear sir,  sorry to trouble u,but i have a problem i  can't
> > solve.  Now i use an omap3530 Evaluation Boards and the linux
> > kernel  which manufacturers provides is 2.6.32 . i have to use this
> > kernel.when i try the step: $ scripts/prepare-kernel.sh
> > --linux= [--adeos=]
> > [--arch=],i can't find the adeos-patch which matches the
> > kernel ,so I need ur help and how can i use xenomai with the linux
> > kernel of 2.6.32 on the platform of omap3530? thanks for ur help.Best
> > wishes to you!
> > Sincerely yours, Liang Runhan
> 
> You have two soilutions:
> - either you adapt the patches for linux 2.6.31 or 2.6.33 to linux 2.6.32
> - or you adapt a more recent linux kernel version for which an Adeos
> patch exists to your board.
> 
> If you know more linux than xenomai, the second solution is easier.
> Besides 2.6.32 is seriously outdated now.

 OMAP3530 support is almost fully merged in the 3.0 mainline kernel, IIRC.
I think only a few of the video accelerator drivers are missing.  So the
mainline v3.0 (with the corresponding Adeos patches from gna.org) and see 
how far you get.

 Regards,
 Arnout

-- 
Arnout Vandecappelle   arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, BelgiumBE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


Re: [Xenomai-help] Scheduling and context switch in Xenomai: - reg

2012-03-03 Thread Gilles Chanteperdrix
On 03/03/2012 02:02 PM, SUBRAMANIAN NATESAN wrote:
> Hi,
> 
> During the context switch in scheduling, could you please let me know,
> where the process/thread's information or state is stored and which
> function call is responsible for it?

Linux uses switch_to, xenomai uses xnarch_switch_to. These are defined
differently for each architecture and may be either macros or functions
depending on the architecture. The registers are loaded and saved from
the task control block.

-- 
Gilles.

___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


[Xenomai-help] Scheduling and context switch in Xenomai: - reg

2012-03-03 Thread SUBRAMANIAN NATESAN
Hi,

During the context switch in scheduling, could you please let me know,
where the process/thread's information or state is stored and which
function call is responsible for it?

-- 
Thanks,
Subramanian.
___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help