From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] r21760 and device_table.txt problems
Date: Tue, 22 Apr 2008 00:06:13 +1000 [thread overview]
Message-ID: <20080421140613.GB21702@cloud.net.au> (raw)
In-Reply-To: <2590773a0804192217i61a6fe1ct7801f800e3afdd39@mail.gmail.com>
On Sun, Apr 20, 2008 at 01:17:34AM -0400, Christopher Taylor wrote:
> Yes, that makes sense. Unfortunately, I'm not even seeing regular files.
> Your response leads me to conclude that while the device nodes are not
> currently present in the fs tree (for the reasons you specified), they
> _will_ be created during boot.
Can you post the output of the final stages of make? You should see it
running genext2fs, mkfs.jffs2 or something similar for the output format
you are using, within a fakeroot environment which also includes running
the makedevs program.
In my case, I see a bunch of empty regular files left in the
project_build_$arch/$project/root/dev directory after the build, which
is what I expected.
> In a desktop environment this is usually handled by devfs or udev
> these days. How is it usually done within buildroot? I don't remember
> enabling devfs or udev in buildroot or the kernel, but I'll look on
> Monday. If it's a static listings like before devfs, how should I go
> about creating the device nodes for my target fs ... just mknod as
> root before I make an image?
The device table is supposed to be used to populate the static /dev in
the root image. If you want dynamic /dev I think you need to write this
into your rc script yourself. Probably mount tmpfs on /dev and run mdev
or udev to populate it.
> Would simply running make as root fix this and create the device nodes
> per the deivce_table?
I suspect not. It will depend on what you see from the build.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
prev parent reply other threads:[~2008-04-21 14:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 23:47 [Buildroot] r21760 and device_table.txt problems Christopher Taylor
2008-04-19 14:58 ` Hamish Moffatt
2008-04-20 2:10 ` [Buildroot] Buildroot for AT91RM9200EK? Pink Boy
2008-04-20 2:42 ` Pink Boy
2008-04-20 3:12 ` Arun Reddy
2008-04-24 0:07 ` Pink Boy
2008-04-24 14:57 ` Christopher Taylor
2008-04-24 15:27 ` Ulf Samuelsson
2008-04-20 5:17 ` [Buildroot] r21760 and device_table.txt problems Christopher Taylor
2008-04-21 14:06 ` Hamish Moffatt [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=20080421140613.GB21702@cloud.net.au \
--to=hamish@cloud.net.au \
--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