[Xenomai] Xenomai on Atmel SAMA5D3 with a 3.14 kernel
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Fri Jun 6 19:52:13 CEST 2014
On 06/06/2014 03:59 PM, Maxime Ripard wrote:
> Hi Gilles,
>
> I've been experimenting these days with the i-pipe 3.14 kernel,
> and current xenomai master branch on the Atmel SAMA5D3 SoC.
>
> There's a few issues there, the first one being that
> at91_ipipe_early_init crashes because of a NULL pointer
> dereference. This is due to the clk_get_rate call on the clock
> returned by clk_get(NULL, "mck").
>
> This clk_get call cannot since 3.14 because the clock code has
> been rewritten, and you can't use clkdev anymore.
Well, it works on AT91. (RM9200 and SMA9263). What you are doing with
SAMA5D3 here is actually a port to a new platform.
>
> This is quite simple to fix, and after actually fixing it, you get
> a more interesting issue: either the timers or the interrupts don't
> work at all.
>
> The first symptom is that it get stuck at the delay loop
> calibration. Setting the loops per jiffy in the command line make
> the boot go further, until the switch to the ipipe_tsc clocksource.
> This actually makes me think that it's more the timers that are
> broken rather than the interrupts. Changing the timer counter block
> doesn't solve anything.
>
> Do you have an idea of what could be going on?
See:
http://www.xenomai.org/index.php/I-pipe-core:ArmPorting
--
Gilles.
More information about the Xenomai
mailing list