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