Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Help Booting Kernel on an ml507
Date: Thu, 26 Nov 2009 00:14:20 +0100	[thread overview]
Message-ID: <87r5rm9oz7.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4B2CB099CF3D4F40B1B1442281CA94FFC4C8E2@EXCHANGEVS01.appsig.com> (RYAN NEAL's message of "Wed\, 25 Nov 2009 14\:49\:41 -0800")

>>>>> "Ryan" == NEAL, RYAN <RYAN_NEAL@appsig.com> writes:

 Ryan> Hello,

 Ryan> I am trying to use buildroot to create a rootfs (specifically a
 Ryan> initramfs) that I can incorporate with the Xilinx linux kernel
 Ryan> (2.6?).

Why would you btw want to use an initramfs instead of a real flash file
system? Initramfs uses more RAM and typically boots slower than
E.G. squashfs.

 Ryan> When I run this I get the following problems:


 Ryan> Bootline:              Linux/PowerPC load: console=ttyS0 ip=on

 Ryan>                 Bad trap at PC: 4801f1b4, SR: 2d000, vector=2010

 Ryan> Bootline:              Linux/PowerPC load: console=ttyS0 ip=on root=/dev/ram

 Ryan>                 Bad trap at PC: 4801f1b4, SR: 2d000, vector=2010


How big is your cpio.gz / zImage?


 Ryan> I then tried to just get to a shell by doing the following:

 Ryan> Bootline:              Linux/PowerPC load: console=ttyS0 ip=on rdinit=/bin/sh

 Ryan> Bootline:              Linux/PowerPC load: console=ttyS0 ip=on root=/dev/ram
 Ryan> rdinit=/bin/sh

  Ryan> Bad trap at PC: 4801f1b4, SR: 2d000, vector=2010

 Ryan> init has generated signal 5 but has no handler for it

So it gets all the way to init? Please paste the complete serial output.

Are you using hardware or software floating point in buildroot? please
paste your buildroot .config.

 Ryan> Kernel panic - not syncing: Attempted to kill init!

 Ryan> Call Trace:

 Ryan> [cf831d80] [c0005f88] show_stack+0x48/0x15c (unreliable)

 Ryan> [cf831db0] [c0220c80] panic+0x94/0x174

 Ryan> [cf831e00] [c0038490] do_group_exit+0x0/0xb8

 Ryan> [cf831e50] [c000bf68] _exception+0x19c/0x1a4

 Ryan> [cf831f40] [c000e8c0] ret_from_except_full+0x0/0x4c

Enable CONFIG_KALLSYMS so you get a proper symbolic backtrace.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-11-25 23:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 22:49 [Buildroot] Help Booting Kernel on an ml507 NEAL, RYAN
2009-11-25 23:14 ` Peter Korsgaard [this message]
2009-11-25 23:28   ` NEAL, RYAN
2009-11-26  6:18     ` Peter Korsgaard
2009-12-02  0:26       ` NEAL, RYAN
2009-12-02  0:37         ` Michael S. Zick
2009-12-02  0:55           ` NEAL, RYAN
2009-12-02  0:58           ` NEAL, RYAN
2009-12-02  1:11             ` Michael S. Zick

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=87r5rm9oz7.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox