From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] mdev problem in 2011.08 ?
Date: Sun, 18 Sep 2011 19:14:44 +0200 [thread overview]
Message-ID: <20110918191444.1b721c91@skate> (raw)
In-Reply-To: <4E76200B.40608@openwide.fr>
Le Sun, 18 Sep 2011 18:44:59 +0200,
Pierre Ficheux <pierre.ficheux@openwide.fr> a ?crit :
> I test with QEMU + rootfs.cpio, does it matter?
So you're using the rootfs.cpio as an initrd/initramfs ?
If yes, then yes, it matters. The thing is that the kernel does not
automount the devtmpfs filesystem when an initramfs is present. So, in
Buildroot, we have an "init" wrapper script in fs/initramfs/init which
mounts devtmpfs and does some other things before starting the real
init process. However, this script is only used when you generate an
initramfs bundled into a kernel image generated by Buildroot. If you
generate a .cpio filesystem, this trick is not applied.
However, Arnout Vandecappelle has recently contributed 2 patches that
fix this by refactoring the initramfs and cpio support in Buildroot.
See:
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
To: buildroot at busybox.net
Subject: [Buildroot] [PATCH 1/2] cpio: fix boot with dynamic /dev
Date: Tue, 6 Sep 2011 23:16:08 +0200
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
To: buildroot at busybox.net
Subject: [Buildroot] [PATCH 2/2] fs/initramfs: refactor with fs/cpio
Date: Tue, 6 Sep 2011 23:16:09 +0200
The PATCH 1/2 should fix your problem, but on the long term, I think
PATCH 2/2 is the way to go. If you have the time to test and Ack those
patches, it would be nice!
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2011-09-18 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-18 13:01 [Buildroot] mdev problem in 2011.08 ? Pierre Ficheux
2011-09-18 14:28 ` Thomas Petazzoni
2011-09-18 16:44 ` Pierre Ficheux
2011-09-18 17:14 ` Thomas Petazzoni [this message]
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=20110918191444.1b721c91@skate \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox