From: Frank Beesley <frank.beesley@aeroflex.com>
To: linuxppc-embedded@ozlabs.org
Cc: frank.beesley@aeroflex.com
Subject: MPC5200 Linux Init Problem
Date: Wed, 07 Sep 2005 17:42:36 -0500 [thread overview]
Message-ID: <431F6CDC.7030908@aeroflex.com> (raw)
I am bringing up a custom board using the MPC5200 and based on the
Lite5200. We changed from SDR to 128MB of DDR SDRAM and the flash
interface is now a 32MB, 32-bit wide bus using 2 Strata flash parts. I
have u-boot-1.1.3 up and running just fine. I have three partitions on
the flash: 0-uboot, 1-kernel image, 2-jffs file system. The linux kernel
(DENX based 2.4.25) starts with all the normal messages plus some that I
added for debugging. It should then start running /sbin/init
(busybox-1.00, dynamically linked) but instead I get the following Oops:
VFS: Mounted root (jffs filesystem)
readonly.
Freeing unused kernel memory: 60k
init
init
filename=/sbin/init
Oops: kernel access of bad area, sig:
11
NIP: C0011030 XER: 00000000 LR: C00112AC SP: C03BBEB0 REGS: c03bbe00
TRAP: 0300d
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR:
11
DAR: 80820000, DSISR:
20000000
TASK = c03ba000[1] ' nit' Last syscall:
11
last math 00000000 last altivec
00000000
GPR00: 80820000 C03BBEB0 C03BA000 C01780A0 00001032 0000000B C0160BA4
00000000
GPR08: 0000001B 80820000 C0160968 C013D954 00000000 00000000 00000000
00000000
GPR16: 00000000 00000000 00000000 00000000 C0170000 C0190000 C0160000
C0160000
GPR24: C000E8CC 00000000 00000000 00000000 C03BA000 C016F920 00000000
C03BBEB0
Call
backtrace:
00000000 C0005D04
00000000
Kernel panic: Attempted to kill
init!
<0>Rebooting in 180
seconds..
When I change busybox to statically linked I get the following (notice
some of my debug messages from within busybox showing up now):
VFS: Mounted root (jffs filesystem)
readonly.
Freeing unused kernel memory: 60k
init
init
filename=/sbin/init
init started: BusyBox v1.00 (2005.09.07-14:56+0000) multi-call
binary
Machine check in kernel
mode.
Caused by (from SRR1=41030): Transfer error ack
signal
Oops: machine check, sig:
7
NIP: C0010FD0 XER: 00000000 LR: C0010F34 SP: C03BBE40 REGS: c03bbd90
TRAP: 0200d
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR:
11
TASK = c03ba000[1] ' nit' Last syscall:
162
last math 00000000 last altivec
00000000
GPR00: 7C691B78 C03BBE40 C03BA000 C01790A0 00001032 00000000 C0160BA4
00000000
GPR08: 00000017 4BFFFFAC C001BF1C 80620464 100823E4 1010D01C 00000000
00000000
GPR16: 00000000 00000000 00000000 00000000 C0170000 C0190000 C0160000
C0160000
GPR24: C0005A40 00000001 100D3E28 C0180000 C7E38000 C016F920 00000000
C03BBE40
Call
backtrace:
C000EA78 C0010E3C C001C0EC C0005A9C 10082408 10027000
10000960
10000338 10051284
00000000
Kernel panic: Attempted to kill
init!
<0>Rebooting in 180
seconds..
1) Why am i getting machine check message - also see the task name is
messed up.
2) Why are dynamic linking not working, is this a problem with my
library loader.
3) Why is my init failing to load. this is the same binary and config
files that was used on a Lite5200 and worked fine.
Any clues to help debug this would be greatly appreciated. I have built
several different kernel and busybox images with different debug prints
to help figure this out and I am at a loss. Please CC me as I am not on
the mailing list OR directly email me and we can post the solution back
to the list.
Thanks
Frank
next reply other threads:[~2005-09-07 23:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-07 22:42 Frank Beesley [this message]
2005-09-07 23:29 ` MPC5200 Linux Init Problem Jeff Angielski
2005-09-08 14:18 ` Bob Peterson
2005-09-08 22:19 ` Frank Beesley
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=431F6CDC.7030908@aeroflex.com \
--to=frank.beesley@aeroflex.com \
--cc=linuxppc-embedded@ozlabs.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.