On 05/04/2014 12:40 PM, Ralf Roesch wrote:
> Hi,
>
> based on your suggestions from thread "[Xenomai] ipipe-core-3.10 patch
> for arm"
> I started testing Xenomai on an i.MX6 board [1].
>
> * checked out branch imx_3.10.17_1.0.0_ga from linux-2.6-imx.git [2]
> * merged vanilla v3.10.32 tag
> resolved 3 conflicts:
> drivers/net/can/flexcan.c
> drivers/usb/host/ehci.h
> sound/soc/codecs/wm8962.c
> * applied ipipe-v3.10.32.patch
> resolved 4 conflicts:
> arch/arm/mach-imx/clk-imx6q.c
> arch/arm/mach-imx/mach-imx6q.c
> arch/arm/mach-imx/mm-imx27.c
> arch/arm/mach-imx/mm-imx3.c
> * applied xenomai-2.6 support (prepare-kernel.sh)
>
> My box boots without errors and seems to be quiet stable at the first
> glance.
> Linux arm 3.10.32-xenomai-armv7-x1 #24 SMP Sun May 4 12:17:10 CEST 2014
> armv7l GNU/Linux
>
> The first thing I observed is a system time problem:
> the RTC and system time clocks get out of phase very quickly.
> I do compare the timers (end - start) on console by calling:
> - hwclock && date (start)
> - wait an hour or more
> - hwclock && date (end)
> The hwclock time is always o.k. but the system time reported by date is
> roughly 25% faster.
> Do you have an idea what could go wrong here?
The timer frequency. Did you not forget to disable CONFIG_CPU_FREQ? Do
you have the same issue without the I-pipe patch?
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai