On Fri, Mar 28, 2008 at 10:38 AM, Neil Armstrong <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I need to port the actual ipipe 2.6.24 patch for a new arm926ej-s based
>  board for my company.
>  I followed the wiki's howto and helped myself with the integrator and
>  the s3c24xx patches.
>  The Soc has 3 decrementers, the arm core is running at 144MHz and the
>  timers has a 256 ticks prescaler (we need 563 ticks to get 1ms).
>
>  I patched the kernel with the arm1 patch (from the ARM website), the
>  board non-rt patch enabling serial and the macb ethernet controller and
>  finnally tried to apply the ipipe arm patch and resolving failures.

At first sight, you call spin_lock_irqsave in __ipipe_mach_set_dec.
This is illegal, __ipipe_mach_set_dec may (and will) be called from
real-time context, you should be using the _hw variants. I do not know
if it is what causes the oops, but it would cause an oops later.

-- 
 Gilles

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to