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