]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/arm/conf/DREAMPLUG-1001
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / arm / conf / DREAMPLUG-1001
1 # Kernel config for GlobalScale Technologies DreamPlug version 1001.
2 #
3 # This is for units that are version 10, revision 01, with NOR SPI flash.
4 # These units are identified with the number "1001" on the S/N label.
5 #
6 # For more information on this file, please read the handbook section on
7 # Kernel Configuration Files:
8 #
9 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10 #
11 # The handbook is also available locally in /usr/share/doc/handbook
12 # if you've installed the doc distribution, otherwise always see the
13 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14 # latest information.
15 #
16 # An exhaustive list of options and more detailed explanations of the
17 # device lines is also present in the ../../conf/NOTES and NOTES files. 
18 # If you are in doubt as to the purpose or necessity of a line, check first 
19 # in NOTES.
20 #
21 # $FreeBSD$
22 #
23 #NO_UNIVERSE
24
25 ident           DREAMPLUG-1001
26
27 include         "../mv/kirkwood/std.db88f6xxx"
28
29 makeoptions     FDT_DTS_FILE=dreamplug-1001.dts
30
31 options         SOC_MV_KIRKWOOD
32
33 options         SCHED_4BSD              # 4BSD scheduler
34 options         INET                    # InterNETworking
35 options         INET6                   # IPv6 communications protocols
36 options         SOFTUPDATES
37 options         TMPFS                   # Efficient memory filesystem
38 options         CD9660                  # ISO 9660 filesystem
39 options         FFS                     # Berkeley Fast Filesystem
40 options         MSDOSFS                 # MS DOS File System (FAT, FAT32)
41 options         NULLFS                  # NULL filesystem
42 options         SYSVSHM                 # SYSV-style shared memory
43 options         SYSVMSG                 # SYSV-style message queues
44 options         SYSVSEM                 # SYSV-style semaphores
45 options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
46 options         GEOM_PART_BSD           # BSD partition scheme
47 options         GEOM_PART_MBR           # MBR partition scheme
48 options         GEOM_ELI                # Disk encryption.
49 options         GEOM_LABEL              # Providers labelization.
50 options         GEOM_PART_GPT           # GPT partitioning
51
52 # Flattened Device Tree
53 device          fdt
54 options         FDT
55 options         FDT_DTB_STATIC
56
57 # Misc pseudo devices
58 device          bpf                     # Required for DHCP
59 device          faith                   # IPv6-to-IPv4 relaying (translation)
60 device          firmware                # firmware(9) required for USB wlan
61 device          gif                     # IPv6 and IPv4 tunneling
62 device          loop                    # Network loopback
63 device          md                      # Memory/malloc disk
64 device          pty                     # BSD-style compatibility pseudo ttys
65 device          random                  # Entropy device
66 device          tun                     # Packet tunnel.
67 device          ether                   # Required for all ethernet devices
68 device          vlan                    # 802.1Q VLAN support
69 device          wlan                    # 802.11 WLAN support
70
71 # cam support for umass and ahci
72 device          scbus
73 device          pass
74 device          da
75 device          cd
76
77 # Serial ports
78 device          uart
79
80 # Networking
81 device          mge                     # Marvell Gigabit Ethernet controller
82 device          mii
83 device          e1000phy
84
85 # USB
86 options         USB_HOST_ALIGN=32       # Align DMA to cacheline
87 #options        USB_DEBUG               # Compile in USB debug support
88 device          usb                     # Basic usb support                     
89 device          ehci                    # USB host controller
90 device          umass                   # Mass storage
91 device          uhid                    # Human-interface devices
92 device          rum                     # Ralink Technology RT2501USB wireless NICs
93 device          uath                    # Atheros AR5523 wireless NICs
94 device          ural                    # Ralink Technology RT2500USB wireless NICs
95 device          zyd                     # ZyDAS zb1211/zb1211b wireless NICs
96 device          urtw                    # Realtek RTL8187B/L USB
97 device          upgt                    # Conexant/Intersil PrismGT SoftMAC USB
98 device          u3g                     # USB-based 3G modems (Option, Huawei, Sierra)
99
100 # I2C (TWSI)
101 device          iic
102 device          iicbus
103
104 # SATA
105 device          mvs
106 device          ahci
107
108 # Sound
109 device          sound
110 device          snd_uaudio
111
112 #crypto
113 device          cesa                    # Marvell security engine
114 device          crypto
115 device          cryptodev
116
117 # IPSec
118 device          enc
119 options         IPSEC
120 options         IPSEC_NAT_T
121 options         TCP_SIGNATURE           # include support for RFC 2385
122
123 # IPFW
124 options         IPFIREWALL
125 options         IPFIREWALL_DEFAULT_TO_ACCEPT
126 options         IPFIREWALL_VERBOSE
127 options         IPFIREWALL_VERBOSE_LIMIT=100
128 options         IPFIREWALL_NAT
129 options         LIBALIAS
130 options         DUMMYNET
131 options         IPDIVERT
132
133 #PF 
134 device          pf
135 device          pflog
136 device          pfsync
137
138 # ALTQ, required for PF
139 options         ALTQ                    # Basic ALTQ support
140 options         ALTQ_CBQ                # Class Based Queueing
141 options         ALTQ_RED                # Random Early Detection
142 options         ALTQ_RIO                # RED In/Out
143 options         ALTQ_HFSC               # Hierarchical Packet Scheduler
144 options         ALTQ_CDNR               # Traffic conditioner
145 options         ALTQ_PRIQ               # Priority Queueing
146 options         ALTQ_NOPCC              # Required if the TSC is unusable
147 #options        ALTQ_DEBUG
148
149 # Debugging
150 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
151 options         BREAK_TO_DEBUGGER
152 options         ALT_BREAK_TO_DEBUGGER
153 options         DDB
154 options         KDB
155 #options        DIAGNOSTIC
156 #options        INVARIANTS              # Enable calls of extra sanity checking
157 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
158 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
159 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
160 #options        WITNESS_KDB
161
162 # Enable these options for nfs root configured via BOOTP.
163 options         NFSCL                   # Network Filesystem Client
164 options         NFSLOCKD                # Network Lock Manager
165 #options        NFS_ROOT                # NFS usable as /, requires NFSCLIENT
166 #options        BOOTP
167 #options        BOOTP_NFSROOT
168 #options        BOOTP_NFSV3
169 #options        BOOTP_WIRED_TO=mge0
170
171 # If not using BOOTP, use something like one of these...
172 #options        ROOTDEVNAME=\"ufs:/dev/da1a\"
173 options         ROOTDEVNAME=\"ufs:/dev/da1s1a\"
174 #options        ROOTDEVNAME=\"ufs:/dev/da1p10\"
175 #options        ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
176
177 # To use this configuration with the (rare) model 1001N (nand flash),
178 # create a kernel config file that looks like this:
179 #
180 # include DREAMPLUG-1001
181 # nomakeoptions FDT_DTS_FILE
182 # makeoptions   FDT_DTS_FILE=dreamplug-1001N.dts
183 # device        nand
184