]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/DREAMPLUG-1001
Merge ^/head r295601 through r295844.
[FreeBSD/FreeBSD.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         "std.arm"
28 include         "../mv/kirkwood/std.db88f6xxx"
29
30 options         SOC_MV_KIRKWOOD
31
32 options         SCHED_4BSD              # 4BSD scheduler
33 options         INET                    # InterNETworking
34 options         INET6                   # IPv6 communications protocols
35 options         FFS                     # Berkeley Fast Filesystem
36 options         SOFTUPDATES             # Enable FFS soft updates support
37 options         NFSCL                   # Network Filesystem Client
38 options         NFSLOCKD                # Network Lock Manager
39 #options        NFS_ROOT                # NFS usable as /, requires NFSCL
40 options         MSDOSFS                 # MSDOS Filesystem
41 options         CD9660                  # ISO 9660 filesystem
42 options         NULLFS                  # NULL filesystem
43 options         TMPFS                   # Efficient memory filesystem
44 options         GEOM_PART_GPT           # GUID Partition Tables
45 options         GEOM_PART_BSD           # BSD partition scheme
46 options         GEOM_PART_MBR           # MBR partition scheme
47 options         GEOM_LABEL              # Provides labelization
48 options         GEOM_ELI                # Disk encryption
49 options         SYSVSHM                 # SYSV-style shared memory
50 options         SYSVMSG                 # SYSV-style message queues
51 options         SYSVSEM                 # SYSV-style semaphores
52 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
53
54 # Debugging for use in -current
55 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
56 options         ALT_BREAK_TO_DEBUGGER
57 options         KDB                     # Enable kernel debugger support
58 options         DDB                     # Enable the kernel debugger
59 options         INVARIANTS              # Enable calls of extra sanity checking
60 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
61 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
62 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
63 #options        WITNESS_KDB
64 #options        DIAGNOSTIC
65
66 # Enable these options for nfs root configured via BOOTP.
67 #options        BOOTP
68 #options        BOOTP_NFSROOT
69 #options        BOOTP_NFSV3
70 #options        BOOTP_WIRED_TO=mge0
71
72 # If not using BOOTP, use something like one of these...
73 #options        ROOTDEVNAME=\"ufs:/dev/da1a\"
74 options         ROOTDEVNAME=\"ufs:/dev/da1s1a\"
75 #options        ROOTDEVNAME=\"ufs:/dev/da1p10\"
76 #options        ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
77
78 # Misc pseudo devices
79 device          bpf                     # Required for DHCP
80 device          firmware                # firmware(9) required for USB wlan
81 device          gif                     # IPv6 and IPv4 tunneling
82 device          loop                    # Network loopback
83 device          md                      # Memory/malloc disk
84 device          pty                     # BSD-style compatibility pseudo ttys
85 device          random                  # Entropy device
86 device          tun                     # Packet tunnel.
87 device          ether                   # Required for all ethernet devices
88 device          vlan                    # 802.1Q VLAN support
89 device          wlan                    # 802.11 WLAN support
90
91 # cam support for umass and ahci
92 device          scbus
93 device          pass
94 device          da
95 device          cd
96
97 # Serial ports
98 device          uart
99
100 # Networking
101 device          mge                     # Marvell Gigabit Ethernet controller
102 device          mii
103 device          mdio
104 device          e1000phy
105
106 # USB
107 options         USB_HOST_ALIGN=32       # Align DMA to cacheline
108 #options        USB_DEBUG               # Compile in USB debug support
109 device          usb                     # Basic usb support                     
110 device          ehci                    # USB host controller
111 device          umass                   # Mass storage
112 device          uhid                    # Human-interface devices
113 device          rum                     # Ralink Technology RT2501USB wireless NICs
114 device          uath                    # Atheros AR5523 wireless NICs
115 device          ural                    # Ralink Technology RT2500USB wireless NICs
116 device          zyd                     # ZyDAS zb1211/zb1211b wireless NICs
117 device          urtw                    # Realtek RTL8187B/L USB
118 device          upgt                    # Conexant/Intersil PrismGT SoftMAC USB
119 device          u3g                     # USB-based 3G modems (Option, Huawei, Sierra)
120
121 # I2C (TWSI)
122 device          iic
123 device          iicbus
124 device          twsi
125
126 # GPIO
127 device          gpio
128
129 # SATA
130 device          mvs
131 device          ahci
132
133 # Sound
134 device          sound
135 device          snd_uaudio
136
137 #crypto
138 device          cesa                    # Marvell security engine
139 device          crypto
140 device          cryptodev
141
142 # IPSec
143 device          enc
144 options         IPSEC
145 options         IPSEC_NAT_T
146 options         TCP_SIGNATURE           # include support for RFC 2385
147
148 # IPFW
149 options         IPFIREWALL
150 options         IPFIREWALL_DEFAULT_TO_ACCEPT
151 options         IPFIREWALL_VERBOSE
152 options         IPFIREWALL_VERBOSE_LIMIT=100
153 options         IPFIREWALL_NAT
154 options         LIBALIAS
155 options         DUMMYNET
156 options         IPDIVERT
157
158 #PF 
159 device          pf
160 device          pflog
161 device          pfsync
162
163 # ALTQ, required for PF
164 options         ALTQ                    # Basic ALTQ support
165 options         ALTQ_CBQ                # Class Based Queueing
166 options         ALTQ_RED                # Random Early Detection
167 options         ALTQ_RIO                # RED In/Out
168 options         ALTQ_HFSC               # Hierarchical Packet Scheduler
169 options         ALTQ_CDNR               # Traffic conditioner
170 options         ALTQ_PRIQ               # Priority Queueing
171 options         ALTQ_NOPCC              # Required if the TSC is unusable
172 #options        ALTQ_DEBUG
173
174 # To use this configuration with the (rare) model 1001N (nand flash),
175 # create a kernel config file that looks like this:
176 #
177 # include DREAMPLUG-1001
178 # nomakeoptions FDT_DTS_FILE
179 # makeoptions   FDT_DTS_FILE=dreamplug-1001N.dts
180 # device        nand
181
182 # Flattened Device Tree
183 options         FDT                     # Configure using FDT/DTB data
184 options         FDT_DTB_STATIC
185 makeoptions     FDT_DTS_FILE=dreamplug-1001.dts