From: Dennis Borgmann <dennis.borgmann@googlemail.com>
To: rt-users <linux-rt-users@vger.kernel.org>
Subject: ARM AT91SAM9260 - RT patched system not running
Date: Wed, 23 Feb 2011 12:37:15 +0100 [thread overview]
Message-ID: <4D64F16B.3000009@googlemail.com> (raw)
Hello rt-list!
I have compiled Kernel 2.6.33.7 with rt-patches and arm-patches
(http://maxim.org.za/AT91RM9200/2.6/2.6.33-at91.patch.gz) for an ARM
AT91SAM9260. The system stops running at
Freeing init memory
I traced this down to the file linux-2.6.33.7/arch/arm/kernel/sys_arm.c
, where an assembler command does not return. Check this code snippet:
printk("HELLO 1\n");
asm( "add r0, %0, %1\n\t"
"mov r1, %2\n\t"
"mov r2, %3\n\t"
"bl memmove\n\t" /* copy regs to top of stack */
"mov r8, #0\n\t" /* not a syscall */
"mov r9, %0\n\t" /* thread structure */
"mov sp, r0\n\t" /* reposition stack pointer */
"b ret_to_user"
:
: "r" (current_thread_info()),
"Ir" (THREAD_START_SP - sizeof(regs)),
"r" (®s),
"Ir" (sizeof(regs))
: "r0", "r1", "r2", "r3", "ip", "lr", "memory");
printk("HELLO 2\n");
"HELLO 1" can still be read, "HELLO 2" never appears.
Any idea, what could be the problem?
Kind regards,
Dennis
reply other threads:[~2011-02-23 11:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4D64F16B.3000009@googlemail.com \
--to=dennis.borgmann@googlemail.com \
--cc=linux-rt-users@vger.kernel.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.