From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Linux kernel boot stops after NFS mount
Date: Sun, 9 Jan 2011 10:19:57 +0100 [thread overview]
Message-ID: <20110109101957.4359476c@surf> (raw)
In-Reply-To: <AANLkTikt7LVDGtr9LD2-eQodYYJyvUPWN7ow=METPXW7@mail.gmail.com>
Hello,
On Sun, 9 Jan 2011 03:29:41 +0530
Divick Kishore <divick.kishore@gmail.com> wrote:
> No the CONFIG_AEABI is not set in the config for my kernel.
>
> Ahh..this is the catch. From what I am aware, I guess, both binaries
> and kernel need to be built with either ABI or EABI. Since my
> toolchain is arm-none-linux-gnueabi, which reflects the fact that all
> binaries in my filesystem are built with EABI.
Yep, your kernel needs to support EABI. Buildroot ensure that it is the
case when Buildroot is in charge of building the kernel, but when the
kernel is built separatly, there's nothing Buildroot can do, except
relying on the user knowledge.
> I tried building the kernel with CONFIG_AEABI enabled and now I do see
> boot messages past the previous point(see boot log below). But it
> looks like there are some problems with the default inittab settings.
> Should I make a separate post to discuss these issues?
You have enabled BR2_PACKAGE_SYSVINIT, so the init being used is the
traditional SysV init, and not Busybox init. And our default inittab
only works well with Busybox init (which is the standard setup for a
Buildroot system).
So, two solutions :
1) Unless you have strong reasons not to use Busybox init, I would
recommend using it by disabling BR2_PACKAGE_SYSVINIT.
2) If you really need to use SysV init, then you should use the Git
version of Buildroot, or at least merge
http://git.buildroot.net/buildroot/commit/?id=7e2bf63080cc0011c84ee46ee2aba161569154c5
into your Buildroot version. This commit adds an inittab that works
well with SysV init.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-01-09 9:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-08 13:02 [Buildroot] Linux kernel boot stops after NFS mount Divick Kishore
2011-01-08 14:02 ` Klaus Schwarzkopf
2011-01-08 16:50 ` Divick Kishore
2011-01-08 17:40 ` Samuel Martin
2011-01-08 21:35 ` Divick Kishore
2011-01-08 18:08 ` Thomas Petazzoni
2011-01-08 21:59 ` Divick Kishore
2011-01-09 9:19 ` Thomas Petazzoni [this message]
2011-01-09 12:27 ` Divick Kishore
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=20110109101957.4359476c@surf \
--to=thomas.petazzoni@free-electrons.com \
--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 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.