DREAMPLUG-1001 revision 263245
1245955Sian# Kernel config for GlobalScale Technologies DreamPlug version 1001.
2245955Sian#
3245955Sian# This is for units that are version 10, revision 01, with NOR SPI flash.
4245955Sian# These units are identified with the number "1001" on the S/N label.
5245955Sian#
6245955Sian# For more information on this file, please read the handbook section on
7245955Sian# Kernel Configuration Files:
8245955Sian#
9245955Sian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10245955Sian#
11245955Sian# The handbook is also available locally in /usr/share/doc/handbook
12245955Sian# if you've installed the doc distribution, otherwise always see the
13245955Sian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14245955Sian# latest information.
15245955Sian#
16245955Sian# An exhaustive list of options and more detailed explanations of the
17245955Sian# device lines is also present in the ../../conf/NOTES and NOTES files. 
18245955Sian# If you are in doubt as to the purpose or necessity of a line, check first 
19245955Sian# in NOTES.
20245955Sian#
21245955Sian# $FreeBSD: head/sys/arm/conf/DREAMPLUG-1001 263245 2014-03-16 15:22:46Z imp $
22245955Sian#
23245955Sian
24245955Sianident		DREAMPLUG-1001
25245955Sian
26245955Sianinclude		"../mv/kirkwood/std.db88f6xxx"
27245955Sian
28245955Sianmakeoptions	FDT_DTS_FILE=dreamplug-1001.dts
29245955Sian
30245955Sianmakeoptions	MODULES_OVERRIDE=""
31245955Sian
32245955Sianoptions 	SOC_MV_KIRKWOOD
33245955Sian
34263245Simpoptions 	SCHED_4BSD		# 4BSD scheduler
35263245Simpoptions 	INET			# InterNETworking
36263245Simpoptions 	INET6			# IPv6 communications protocols
37245955Sianoptions 	SOFTUPDATES
38263245Simpoptions		TMPFS			# Efficient memory filesystem
39263245Simpoptions 	CD9660			# ISO 9660 filesystem
40263245Simpoptions 	FFS			# Berkeley Fast Filesystem
41263245Simpoptions 	MSDOSFS			# MS DOS File System (FAT, FAT32)
42263245Simpoptions 	NULLFS			# NULL filesystem
43263245Simpoptions 	SYSVSHM			# SYSV-style shared memory
44263245Simpoptions 	SYSVMSG			# SYSV-style message queues
45263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
46263245Simpoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
47263245Simpoptions 	GEOM_PART_BSD		# BSD partition scheme
48263245Simpoptions 	GEOM_PART_MBR		# MBR partition scheme
49245955Sianoptions 	GEOM_ELI		# Disk encryption.
50245955Sianoptions 	GEOM_LABEL		# Providers labelization.
51245955Sianoptions 	GEOM_PART_GPT		# GPT partitioning
52245955Sian
53245955Sian# Flattened Device Tree
54245955Siandevice		fdt
55245955Sianoptions 	FDT
56245955Sianoptions 	FDT_DTB_STATIC
57245955Sian
58245955Sian# Misc pseudo devices
59263245Simpdevice		bpf			# Required for DHCP
60263245Simpdevice  	faith			# IPv6-to-IPv4 relaying (translation)
61263245Simpdevice  	firmware		# firmware(9) required for USB wlan
62263245Simpdevice  	gif			# IPv6 and IPv4 tunneling
63263245Simpdevice		loop			# Network loopback
64263245Simpdevice  	md			# Memory/malloc disk
65263245Simpdevice		pty			# BSD-style compatibility pseudo ttys
66263245Simpdevice		random			# Entropy device
67263245Simpdevice  	tun			# Packet tunnel.
68263245Simpdevice		ether			# Required for all ethernet devices
69263245Simpdevice  	vlan			# 802.1Q VLAN support
70263245Simpdevice		wlan			# 802.11 WLAN support
71245955Sian
72245955Sian# cam support for umass and ahci
73245955Siandevice		scbus
74245955Siandevice		pass
75245955Siandevice		da
76245955Siandevice 		cd
77245955Sian
78245955Sian# Serial ports
79245955Siandevice		uart
80245955Sian
81245955Sian# Networking
82245955Siandevice		mge			# Marvell Gigabit Ethernet controller
83245955Siandevice		mii
84245955Siandevice		e1000phy
85245955Sian
86245955Sian# USB
87245955Sianoptions 	USB_HOST_ALIGN=32	# Align DMA to cacheline
88245955Sian#options	USB_DEBUG       	# Compile in USB debug support
89245955Siandevice  	usb  			# Basic usb support			
90245955Siandevice  	ehci 			# USB host controller
91245955Siandevice  	umass			# Mass storage
92245955Siandevice  	uhid 			# Human-interface devices
93245955Siandevice  	rum  			# Ralink Technology RT2501USB wireless NICs
94245955Siandevice  	uath 			# Atheros AR5523 wireless NICs
95245955Siandevice  	ural 			# Ralink Technology RT2500USB wireless NICs
96245955Siandevice  	zyd  			# ZyDAS zb1211/zb1211b wireless NICs
97245955Siandevice  	urtw 			# Realtek RTL8187B/L USB
98245955Siandevice  	upgt 			# Conexant/Intersil PrismGT SoftMAC USB
99245955Siandevice  	u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
100245955Sian
101245955Sian# I2C (TWSI)
102245955Siandevice		iic
103245955Siandevice		iicbus
104245955Sian
105245955Sian# SATA
106245955Siandevice		mvs
107245955Siandevice		ahci
108245955Sian
109245955Sian# Sound
110245955Siandevice 		sound
111245955Siandevice 		snd_uaudio
112245955Sian
113245955Sian#crypto
114245955Siandevice  	cesa			# Marvell security engine
115245955Siandevice  	crypto
116245955Siandevice  	cryptodev
117245955Sian
118245955Sian# IPSec
119245955Siandevice  	enc
120245955Sianoptions  	IPSEC
121245955Sianoptions  	IPSEC_NAT_T
122263245Simpoptions  	TCP_SIGNATURE		# include support for RFC 2385
123245955Sian
124245955Sian# IPFW
125245955Sianoptions  	IPFIREWALL
126245955Sianoptions  	IPFIREWALL_DEFAULT_TO_ACCEPT
127245955Sianoptions  	IPFIREWALL_VERBOSE
128245955Sianoptions  	IPFIREWALL_VERBOSE_LIMIT=100
129245955Sianoptions  	IPFIREWALL_NAT
130245955Sianoptions  	LIBALIAS
131245955Sianoptions  	DUMMYNET
132245955Sianoptions  	IPDIVERT
133245955Sian
134245955Sian#PF 
135245955Siandevice  	pf
136245955Siandevice  	pflog
137245955Siandevice  	pfsync
138245955Sian
139245955Sian# ALTQ, required for PF
140263245Simpoptions  	ALTQ			# Basic ALTQ support
141263245Simpoptions  	ALTQ_CBQ		# Class Based Queueing
142263245Simpoptions  	ALTQ_RED		# Random Early Detection
143263245Simpoptions  	ALTQ_RIO		# RED In/Out
144263245Simpoptions  	ALTQ_HFSC		# Hierarchical Packet Scheduler
145263245Simpoptions  	ALTQ_CDNR		# Traffic conditioner
146263245Simpoptions  	ALTQ_PRIQ		# Priority Queueing
147263245Simpoptions  	ALTQ_NOPCC		# Required if the TSC is unusable
148245955Sian#options 	ALTQ_DEBUG
149245955Sian
150245955Sian# Debugging
151263245Simpmakeoptions 	DEBUG=-g		# Build kernel with gdb(1) debug symbols
152245955Sianoptions 	BREAK_TO_DEBUGGER
153245955Sianoptions 	ALT_BREAK_TO_DEBUGGER
154245955Sianoptions 	DDB
155245955Sianoptions 	KDB
156245955Sianoptions 	DIAGNOSTIC
157263245Simpoptions 	INVARIANTS		# Enable calls of extra sanity checking
158263245Simpoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
159263245Simp#options 	WITNESS			# Enable checks to detect deadlocks and cycles
160263245Simp#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
161245955Sian#options 	WITNESS_KDB
162245955Sian
163245955Sian# Enable these options for nfs root configured via BOOTP.
164263245Simpoptions 	NFSCL			# Network Filesystem Client
165263245Simpoptions 	NFSLOCKD		# Network Lock Manager
166263245Simp#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
167245955Sian#options 	BOOTP
168245955Sian#options 	BOOTP_NFSROOT
169245955Sian#options 	BOOTP_NFSV3
170245955Sian#options 	BOOTP_WIRED_TO=mge0
171245955Sian
172245955Sian# If not using BOOTP, use something like one of these...
173245955Sian#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
174245955Sianoptions 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
175245955Sian#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
176245955Sian#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
177245955Sian
178245955Sian# To use this configuration with the (rare) model 1001N (nand flash),
179245955Sian# create a kernel config file that looks like this:
180245955Sian#
181245955Sian# include DREAMPLUG-1001
182245955Sian# nomakeoptions FDT_DTS_FILE
183245955Sian# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
184245955Sian# device 	nand
185245955Sian
186