[Buildroot] [PATCH] system/device_table.txt: add /dev/null entry

Peter Korsgaard peter at korsgaard.com
Thu Nov 27 10:24:38 UTC 2014


>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:

Hi,

>> > I am currently using a kernel built with no devtmpfs support. Don't
 >> > we support mdev without devtmpfs anymore? Once I added /dev/null the
 >> > system seems to boot successfully as is, with /dev fully populated.
 >> 
 >> Well, it presumably doesn't get a lot of testing atleast as none of this
 >> stuff afaik has changed the last few years.
 >> 
 >> Is there any specific reason why you don't use devtmpfs? It's quite
 >> small and has been in the kernel since 2.6.32.

 > I have just started with a precompiled kernel image that I got with this 
 > evaluation board to see how far I can get. Eventually I plan to rebuild 
 > everything and also enable devtmpfs.

Ok.

 >> With that said, if just adding /dev/null fixes it for you then we can
 >> certainly add it. What about similar things like /dev/console, /dev/tty
 >> or your serial port?

 > /dev/console is already in the rootfs.tar image, I'm not sure whare it comes 
 > from. All other device nodes are later generated by mdev.

The only thing that comes to mind is that you are creating a cpio:

fs/cpio/cpio.mk:PACKAGES_PERMISSIONS_TABLE += /dev/console c 622 0 0 5 1 - - -$(sep)

-- 
Bye, Peter Korsgaard 


More information about the buildroot mailing list