1 # Kernel config for GlobalScale Technologies DreamPlug version 1001.
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.
6 # For more information on this file, please read the handbook section on
7 # Kernel Configuration Files:
9 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
28 include "../mv/kirkwood/std.db88f6xxx"
30 options SOC_MV_KIRKWOOD
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
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
66 # Enable these options for nfs root configured via BOOTP.
68 #options BOOTP_NFSROOT
70 #options BOOTP_WIRED_TO=mge0
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\"
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
91 # cam support for umass and ahci
101 device mge # Marvell Gigabit Ethernet controller
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)
138 device cesa # Marvell security engine
146 options TCP_SIGNATURE # include support for RFC 2385
150 options IPFIREWALL_DEFAULT_TO_ACCEPT
151 options IPFIREWALL_VERBOSE
152 options IPFIREWALL_VERBOSE_LIMIT=100
153 options IPFIREWALL_NAT
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
174 # To use this configuration with the (rare) model 1001N (nand flash),
175 # create a kernel config file that looks like this:
177 # include DREAMPLUG-1001
178 # nomakeoptions FDT_DTS_FILE
179 # makeoptions FDT_DTS_FILE=dreamplug-1001N.dts
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