Last change
on this file since ba1a2ff was b836e1e, checked in by Andrew Bradford <bradfa@…>, 14 years ago |
Made mdev video output not enabled by default
Default configuration should not throw errors but may not be fully
featured. Changed mdev.conf to comment out video output lines by default
and have a note to uncomment to enable video output. In this way,
a board with or without video output will boot without errors.
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Rev | Line | |
---|
[1d67150] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[bd48e48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[1d67150] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-scripts-mdev">
|
---|
| 9 | <?dbhtml filename="mdev.html"?>
|
---|
| 10 |
|
---|
[75a41b8] | 11 | <title>Configure mdev</title>
|
---|
[1d67150] | 12 |
|
---|
| 13 | <indexterm zone="ch-scripts-mdev">
|
---|
[75a41b8] | 14 | <primary sortas="a-mdev">mdev</primary>
|
---|
[1d67150] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>Is a Busybox replacement of udev. With a different rule
|
---|
| 21 | base.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2>
|
---|
[3ca2208] | 26 | <title>Creating /etc/mdev.conf</title>
|
---|
| 27 |
|
---|
| 28 | <indexterm zone="ch-scripts-mdev">
|
---|
| 29 | <primary sortas="e-/etc/mdev.conf">/etc/mdev.conf</primary>
|
---|
| 30 | </indexterm>
|
---|
[1d67150] | 31 |
|
---|
| 32 | <para os="a">Now we will create the mdev.conf file for use with our system:</para>
|
---|
| 33 |
|
---|
[3ca2208] | 34 | <screen os="b"><?dbfo keep-together="auto"?><userinput>cat > ${CLFS}/etc/mdev.conf<< "EOF"
|
---|
[1d67150] | 35 | <literal># /etc/mdev/conf
|
---|
| 36 | # Symlinks:
|
---|
| 37 | # Syntax: %s -> %s
|
---|
| 38 |
|
---|
| 39 | MAKEDEV -> ../sbin/MAKEDEV
|
---|
| 40 | /proc/core -> kcore
|
---|
| 41 | fd -> /proc/self/fd
|
---|
| 42 | mcdx -> mcdx0
|
---|
| 43 | radio -> radio0
|
---|
| 44 | ram -> ram1
|
---|
| 45 | sbpcd -> sbpcd0
|
---|
| 46 | sr0 -> scd0
|
---|
| 47 | sr1 -> scd1
|
---|
| 48 | sr10 -> scd10
|
---|
| 49 | sr11 -> scd11
|
---|
| 50 | sr12 -> scd12
|
---|
| 51 | sr13 -> scd13
|
---|
| 52 | sr14 -> scd14
|
---|
| 53 | sr15 -> scd15
|
---|
| 54 | sr16 -> scd16
|
---|
| 55 | sr2 -> scd2
|
---|
| 56 | sr3 -> scd3
|
---|
| 57 | sr4 -> scd4
|
---|
| 58 | sr5 -> scd5
|
---|
| 59 | sr6 -> scd6
|
---|
| 60 | sr7 -> scd7
|
---|
| 61 | sr8 -> scd8
|
---|
| 62 | sr9 -> scd9
|
---|
| 63 | stderr -> fd/2
|
---|
| 64 | stdin -> fd/0
|
---|
| 65 | stdout -> fd/1
|
---|
| 66 |
|
---|
[b836e1e] | 67 | # Uncomment the following 4 lines to enable video output
|
---|
| 68 | #vbi -> vbi0
|
---|
| 69 | #vcs -> vcs0
|
---|
| 70 | #vcsa -> vcsa0
|
---|
| 71 | #video -> video0
|
---|
[1d67150] | 72 |
|
---|
| 73 | # Devices:
|
---|
| 74 | # Syntax: %s %d:%d %s
|
---|
| 75 | # devices user:group mode
|
---|
| 76 |
|
---|
| 77 | null 0:0 777
|
---|
| 78 | zero 0:0 666
|
---|
| 79 |
|
---|
| 80 | urandom 0:0 444
|
---|
| 81 |
|
---|
| 82 | console 0:5 0600
|
---|
| 83 | fd0 0:11 0660
|
---|
| 84 | hdc 0:6 0660
|
---|
| 85 | kmem 0:9 000
|
---|
| 86 | mem 0:9 0640
|
---|
| 87 | port 0:9 0640
|
---|
| 88 | ptmx 0:5 0660
|
---|
[1f35837] | 89 | tun[0-9]* 0:0 0640 =net/
|
---|
[1d67150] | 90 |
|
---|
| 91 | sda* 0:6 0660
|
---|
| 92 | sdb* 0:6 0660
|
---|
| 93 | hda* 0:6 0660
|
---|
| 94 | hdb* 0:6 0660
|
---|
| 95 |
|
---|
| 96 | tty 0:5 0660
|
---|
| 97 | tty0* 0:5 0660
|
---|
| 98 | tty1* 0:5 0660
|
---|
| 99 | tty2* 0:5 0660
|
---|
| 100 | tty3* 0:5 0660
|
---|
| 101 | tty4* 0:5 0660
|
---|
| 102 | tty5* 0:5 0660
|
---|
| 103 | tty6* 0:5 0660
|
---|
| 104 |
|
---|
| 105 | ttyS* 0:20 640</literal>
|
---|
| 106 | EOF</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | </sect1>
|
---|
| 111 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.