From: "Bernhard Michael" <michael.bernhard@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai problems on pxa
Date: Tue, 15 Jan 2008 13:47:27 +0100 [thread overview]
Message-ID: <478CAB5F.70208@domain.hid> (raw)
In-Reply-To: <2ff1a98a0801140752y5e6e47e2tb9980bfb344522a4@domain.hid>
Gilles Chanteperdrix wrote:
> It looks like we have two issues:
> - one issue is that compiling with the EABI toolchain generates a lot
> of unaligned access, which causes a crash, when the fault handler gets
> invoked at the wrong time. To solve this issue, I will check if we can
> allow the unaligned access to be handled in primary mode under some
> condition (it will need at least, a valid linux stack)
> - another issue is that there is something wrong with Linux timer
> interrupt handling, which causes the soft lockups and weird timer
> behaviour.
>
> Could you try the following:
> in the version compiled without EABI, in Linux file
> arch/arm/mach-pxa/time.c, function pxa_timer_interrupt, try removing
> the do { } while loop in :
>
> do {
> timer_tick();
> #ifndef CONFIG_IPIPE
> OSSR = OSSR_M0; /* Clear match on timer 0 */
> #else /* CONFIG_IPIPE */
> last_jiffy_time += LATCH;
> if (__ipipe_mach_timerstolen)
> next_match = last_jiffy_time + LATCH;
> else
> #endif /* CONFIG_IPIPE */
> next_match = (OSMR0 += LATCH);
> } while( (signed long)(next_match - OSCR) <= 8 );
>
Gilles, I removed 'do' and 'while' as you suggested but the kernel does
not boot. The last boot messages before the kernel stalls are the following:
...
PID hash table entries: 256 (order: 8, 1024 bytes)
I-pipe 1.8-03: pipeline enabled.
start_kernel(): bug: interrupts were enabled early
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61568KB available (2928K code, 279K data, 104K init)
--
Michael
next prev parent reply other threads:[~2008-01-15 12:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-12 19:35 [Xenomai-help] Xenomai problems on pxa Bernhard Michael
2008-01-14 13:25 ` Gilles Chanteperdrix
2008-01-14 15:39 ` Bernhard Michael
2008-01-14 15:52 ` Gilles Chanteperdrix
2008-01-15 10:28 ` Bernhard Michael
2008-01-15 10:29 ` Gilles Chanteperdrix
2008-01-15 12:47 ` Bernhard Michael [this message]
2008-01-15 13:09 ` Gilles Chanteperdrix
2008-01-15 14:03 ` Bernhard Michael
2008-01-15 14:10 ` Gilles Chanteperdrix
2008-01-16 10:14 ` Bernhard Michael
2008-01-16 10:49 ` Gilles Chanteperdrix
2008-01-16 14:19 ` Bernhard Michael
2008-01-16 14:35 ` Gilles Chanteperdrix
2008-01-16 17:30 ` Gilles Chanteperdrix
2008-01-17 13:02 ` Bernhard Michael
2008-01-17 13:23 ` Gilles Chanteperdrix
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=478CAB5F.70208@domain.hid \
--to=michael.bernhard@domain.hid \
--cc=gilles.chanteperdrix@xenomai.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.