[Buildroot] editing device_table_dev.txt
thomas.petazzoni at free-electrons.com
Sun Feb 24 17:24:16 UTC 2013
Dear Stefan Fröberg,
On Thu, 21 Feb 2013 12:32:27 +0200, Stefan Fröberg wrote:
> >>> Also kernel .config file should also have CONFIG_DEVTMPFS and
> >>> DEVTMPFS as 'y'.
> >> Sorry, that should have been CONFIG_DEVTMPFS=y and
> >> CONFIG_DEVTMPFS_MOUNT=y
> > Kernel version 2.6.30 is too old for that.
> > baruch
> It is ?
> Damn, then the only options are mdev and udev.
No, because our mdev/udev handling makes the assumption that devtmpfs
support is enabled in the kernel.
Contrary to what Arnout says, I don't think devtmpfs support is
*mandatory* to get mdev to work. But in Buildroot, we've decided to
support only mdev on top of devtmpfs.
So whenever we're not using the "static" method, we enable DEVTMPFS +
So if you're using a kernel < 2.6.32 (I think that's the kernel release
in which devtmpfs was introduced), then your only choice is to use the
static method. Obviously, another better solution is to upgrade the
kernel version you're using. The .config posted by John Stile
originally mentions a board/atmel/at91sam9g20ek/ directory, which seems
to indicate John is using the AT91SAM9G20 SoC. This SoC is perfectly
well supported by mainline kernel versions, so there should normally be
no reason to stick with the old 2.6.30.
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the buildroot