Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Question about using mdev for /dev management
@ 2011-12-05 18:45 Will Wagner
  2011-12-13  8:39 ` Arnout Vandecappelle
  0 siblings, 1 reply; 5+ messages in thread
From: Will Wagner @ 2011-12-05 18:45 UTC (permalink / raw)
  To: buildroot

Hi All,

I am using buildroot 2011.11 and looking at using mdev for /dev management.

This works but I have a couple of questions about it.

Firstly it replaces $(TARGET_DIR)/init with fs/cpio/init which attempts 
to mount devtmpfs. My kernel doesn't support this (it's too old) and I'd 
rather not get this trace in the boot (it worries other developers). I 
assume that for mdev we could not replace init but instead make sure 
that /dev/console (and possibly /dev/null?) exist?

The other small issue I have is that mdev fails to spot one of the 
kernel devices (as the driver doesn't have a sysfs entry) so it needs 
adding manually. I do that by adding an entry to BR2_ROOTFS_DEVICE_TABLE 
which works fine, but doesn't seem ideal as I thought device entries 
were meant to be set in BR2_ROOTFS_STATIC_DEVICE_TABLE, but that is not 
offered unless static devices used. Is there a better way to do this or 
should I just leave it as is?

Thanks
Will
-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-13 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 18:45 [Buildroot] Question about using mdev for /dev management Will Wagner
2011-12-13  8:39 ` Arnout Vandecappelle
2011-12-13 13:39   ` Thomas Petazzoni
2011-12-13 14:58   ` Michael S. Zick
2011-12-13 15:24   ` Michael S. Zick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox