DREAMPLUG-1001 revision 274331
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 274331 2014-11-09 21:33:01Z melifaro $
22#
23
24ident		DREAMPLUG-1001
25
26include		"../mv/kirkwood/std.db88f6xxx"
27
28makeoptions	FDT_DTS_FILE=dreamplug-1001.dts
29
30makeoptions	MODULES_OVERRIDE=""
31
32options 	SOC_MV_KIRKWOOD
33
34options 	SCHED_4BSD		# 4BSD scheduler
35options 	INET			# InterNETworking
36options 	INET6			# IPv6 communications protocols
37options 	SOFTUPDATES
38options 	TMPFS			# Efficient memory filesystem
39options 	CD9660			# ISO 9660 filesystem
40options 	FFS			# Berkeley Fast Filesystem
41options 	MSDOSFS			# MS DOS File System (FAT, FAT32)
42options 	NULLFS			# NULL filesystem
43options 	SYSVSHM			# SYSV-style shared memory
44options 	SYSVMSG			# SYSV-style message queues
45options 	SYSVSEM			# SYSV-style semaphores
46options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
47options 	GEOM_PART_BSD		# BSD partition scheme
48options 	GEOM_PART_MBR		# MBR partition scheme
49options 	GEOM_ELI		# Disk encryption.
50options 	GEOM_LABEL		# Providers labelization.
51options 	GEOM_PART_GPT		# GPT partitioning
52
53# Flattened Device Tree
54device		fdt
55options 	FDT
56options 	FDT_DTB_STATIC
57
58# Misc pseudo devices
59device		bpf			# Required for DHCP
60device  	firmware		# firmware(9) required for USB wlan
61device  	gif			# IPv6 and IPv4 tunneling
62device		loop			# Network loopback
63device  	md			# Memory/malloc disk
64device		pty			# BSD-style compatibility pseudo ttys
65device		random			# Entropy device
66device  	tun			# Packet tunnel.
67device		ether			# Required for all ethernet devices
68device  	vlan			# 802.1Q VLAN support
69device		wlan			# 802.11 WLAN support
70
71# cam support for umass and ahci
72device		scbus
73device		pass
74device		da
75device 		cd
76
77# Serial ports
78device		uart
79
80# Networking
81device		mge			# Marvell Gigabit Ethernet controller
82device		mii
83device		e1000phy
84
85# USB
86options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
87#options	USB_DEBUG       	# Compile in USB debug support
88device  	usb  			# Basic usb support			
89device  	ehci 			# USB host controller
90device  	umass			# Mass storage
91device  	uhid 			# Human-interface devices
92device  	rum  			# Ralink Technology RT2501USB wireless NICs
93device  	uath 			# Atheros AR5523 wireless NICs
94device  	ural 			# Ralink Technology RT2500USB wireless NICs
95device  	zyd  			# ZyDAS zb1211/zb1211b wireless NICs
96device  	urtw 			# Realtek RTL8187B/L USB
97device  	upgt 			# Conexant/Intersil PrismGT SoftMAC USB
98device  	u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
99
100# I2C (TWSI)
101device		iic
102device		iicbus
103
104# SATA
105device		mvs
106device		ahci
107
108# Sound
109device 		sound
110device 		snd_uaudio
111
112#crypto
113device  	cesa			# Marvell security engine
114device  	crypto
115device  	cryptodev
116
117# IPSec
118device  	enc
119options  	IPSEC
120options  	IPSEC_NAT_T
121options  	TCP_SIGNATURE		# include support for RFC 2385
122
123# IPFW
124options  	IPFIREWALL
125options  	IPFIREWALL_DEFAULT_TO_ACCEPT
126options  	IPFIREWALL_VERBOSE
127options  	IPFIREWALL_VERBOSE_LIMIT=100
128options  	IPFIREWALL_NAT
129options  	LIBALIAS
130options  	DUMMYNET
131options  	IPDIVERT
132
133#PF 
134device  	pf
135device  	pflog
136device  	pfsync
137
138# ALTQ, required for PF
139options  	ALTQ			# Basic ALTQ support
140options  	ALTQ_CBQ		# Class Based Queueing
141options  	ALTQ_RED		# Random Early Detection
142options  	ALTQ_RIO		# RED In/Out
143options  	ALTQ_HFSC		# Hierarchical Packet Scheduler
144options  	ALTQ_CDNR		# Traffic conditioner
145options  	ALTQ_PRIQ		# Priority Queueing
146options  	ALTQ_NOPCC		# Required if the TSC is unusable
147#options 	ALTQ_DEBUG
148
149# Debugging
150makeoptions 	DEBUG=-g		# Build kernel with gdb(1) debug symbols
151options 	BREAK_TO_DEBUGGER
152options 	ALT_BREAK_TO_DEBUGGER
153options 	DDB
154options 	KDB
155#options 	DIAGNOSTIC
156options 	INVARIANTS		# Enable calls of extra sanity checking
157options 	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.
163options 	NFSCL			# Network Filesystem Client
164options 	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\"
173options 	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
185