]> code.ossystems Code Review - openembedded-core.git/commitdiff
files/device_table-minimal.txt: cleanup
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>
Wed, 2 Apr 2014 16:46:26 +0000 (16:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Apr 2014 16:12:11 +0000 (17:12 +0100)
This device list is only used if USE_DEVFS is set to '0' (which is NOT the default since 2013-12-14,
see commit f54fdd6673a136ee1cee1f3263a8a7820de43ca3) and if IMAGE_DEVICE_TABLE and IMAGE_DEVICE_TABLES are not set.

This is, of course a very subjective list but minimal with 62 (special) files.
However, you should be able to boot correctly a lot of embedded linux around.

Changes:
- add sda, sdb, sda[1234], sdb[1234]
- add mmcblk0, mmcblk0p[1234]
- add rtc0, rtc1
- restrict maximum hdaX from 19 to 4 (pata is old)
- add ttyS1
- remove initctl, apm_bios, tty8, ttySA
- sorted entries

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/device_table-minimal.txt

index 56c74bb71e3431eba8c3a91d23358110aa9f2e74..e4891ccb43b2d8b02c89857b17dfd09c095f635b 100644 (file)
@@ -9,23 +9,27 @@
 #    p Fifo (named pipe)
 
 /dev           d       755     root    root    -       -       -       -       -
-/dev/initctl   p       600     root    root    -       -       -       -       -
-/dev/apm_bios  c       660     root    plugdev 10      134     -       -       -
+/dev/console   c       662     root    tty     5       1       -       -       -
 /dev/fb0       c       600     root    root    29      0       -       -       -
 /dev/hda       b       660     root    disk    3       0       -       -       -
-/dev/hda       b       660     root    disk    3       1       1       1       19
+/dev/hda       b       660     root    disk    3       1       1       1       4
 /dev/kmem      c       640     root    kmem    1       2       -       -       -
 /dev/kmsg      c       600     root    root    1       11      -       -       -
 /dev/mem       c       640     root    kmem    1       1       -       -       -
-/dev/null      c       666     root    root    1       3       -       -       -
-/dev/ram       b       640     root    root    1       0       0       1       4
-/dev/tty       c       662     root    tty     5       0       -       -       -
-/dev/tty       c       666     root    tty     4       0       0       1       9
-/dev/ttyS      c       640     root    tty     4       64      0       1       1
-/dev/ttySA     c       640     root    tty     204     5       0       1       1
-/dev/zero      c       644     root    root    1       5       -       -       -
+/dev/mmcblk0   b       660     root    disk    179     0       -       -       -
+/dev/mmcblk0p  b       660     root    disk    179     1       1       1       4
 /dev/mtd       c       660     root    disk    90      0       0       2       8
 /dev/mtdblock  b       640     root    root    31      0       0       1       8
-/dev/console   c       662     root    tty     5       1       -       -       -
+/dev/null      c       666     root    root    1       3       -       -       -
+/dev/ram       b       640     root    root    1       0       0       1       4
 /dev/random    c       644     root    root    1       8       -       -       -
+/dev/rtc       c       644     root    root    254     0       0       1       2
+/dev/sda       b       660     root    disk    8       0       -       -       -
+/dev/sda       b       660     root    disk    8       1       1       1       4
+/dev/sdb       b       660     root    disk    8       16      -       -       -
+/dev/sdb       b       660     root    disk    8       17      1       1       4
+/dev/tty       c       662     root    tty     5       0       -       -       -
+/dev/tty       c       666     root    tty     4       0       0       1       8
+/dev/ttyS      c       640     root    tty     4       64      0       1       2
 /dev/urandom   c       644     root    root    1       9       -       -       -
+/dev/zero      c       644     root    root    1       5       -       -       -