All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Ralf Roesch <xenomai@cantastic.org>,
	"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Testing on Freescale i.MX6
Date: Sun, 04 May 2014 17:57:55 +0200	[thread overview]
Message-ID: <53666383.9010302@xenomai.org> (raw)
In-Reply-To: <53661901.8090400@cantastic.org>

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.


  reply	other threads:[~2014-05-04 15:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04 10:40 [Xenomai] Testing on Freescale i.MX6 Ralf Roesch
2014-05-04 15:57 ` Gilles Chanteperdrix [this message]
2014-05-05  7:45   ` Ralf Roesch
2014-05-05 10:51     ` Gilles Chanteperdrix
2014-05-05 11:28       ` Ralf Roesch
2014-05-05 11:44         ` Gilles Chanteperdrix
2014-05-07 17:20           ` Ralf Rösch
2014-05-07 17:54             ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2014-05-07 19:09 Paul S.
2014-05-07 20:45 ` Ralf Roesch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53666383.9010302@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@cantastic.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.