DREAMPLUG-1001 revision 276004
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 276004 2014-12-21 11:55:40Z andrew $
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
38263301Simpoptions 	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
60276004Sandrewdevice		firmware		# firmware(9) required for USB wlan
61276004Sandrewdevice		gif			# IPv6 and IPv4 tunneling
62263245Simpdevice		loop			# Network loopback
63276004Sandrewdevice		md			# Memory/malloc disk
64263245Simpdevice		pty			# BSD-style compatibility pseudo ttys
65263245Simpdevice		random			# Entropy device
66276004Sandrewdevice		tun			# Packet tunnel.
67263245Simpdevice		ether			# Required for all ethernet devices
68276004Sandrewdevice		vlan			# 802.1Q VLAN support
69263245Simpdevice		wlan			# 802.11 WLAN support
70245955Sian
71245955Sian# cam support for umass and ahci
72245955Siandevice		scbus
73245955Siandevice		pass
74245955Siandevice		da
75276004Sandrewdevice		cd
76245955Sian
77245955Sian# Serial ports
78245955Siandevice		uart
79245955Sian
80245955Sian# Networking
81245955Siandevice		mge			# Marvell Gigabit Ethernet controller
82245955Siandevice		mii
83245955Siandevice		e1000phy
84245955Sian
85245955Sian# USB
86245955Sianoptions 	USB_HOST_ALIGN=32	# Align DMA to cacheline
87276004Sandrew#options 	USB_DEBUG       	# Compile in USB debug support
88276004Sandrewdevice		usb  			# Basic usb support			
89276004Sandrewdevice		ehci 			# USB host controller
90276004Sandrewdevice		umass			# Mass storage
91276004Sandrewdevice		uhid 			# Human-interface devices
92276004Sandrewdevice		rum  			# Ralink Technology RT2501USB wireless NICs
93276004Sandrewdevice		uath 			# Atheros AR5523 wireless NICs
94276004Sandrewdevice		ural 			# Ralink Technology RT2500USB wireless NICs
95276004Sandrewdevice		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
96276004Sandrewdevice		urtw 			# Realtek RTL8187B/L USB
97276004Sandrewdevice		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
98276004Sandrewdevice		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
99245955Sian
100245955Sian# I2C (TWSI)
101245955Siandevice		iic
102245955Siandevice		iicbus
103245955Sian
104245955Sian# SATA
105245955Siandevice		mvs
106245955Siandevice		ahci
107245955Sian
108245955Sian# Sound
109276004Sandrewdevice		sound
110276004Sandrewdevice		snd_uaudio
111245955Sian
112245955Sian#crypto
113276004Sandrewdevice		cesa			# Marvell security engine
114276004Sandrewdevice		crypto
115276004Sandrewdevice		cryptodev
116245955Sian
117245955Sian# IPSec
118276004Sandrewdevice		enc
119276004Sandrewoptions 	IPSEC
120276004Sandrewoptions 	IPSEC_NAT_T
121276004Sandrewoptions 	TCP_SIGNATURE		# include support for RFC 2385
122245955Sian
123245955Sian# IPFW
124276004Sandrewoptions 	IPFIREWALL
125276004Sandrewoptions 	IPFIREWALL_DEFAULT_TO_ACCEPT
126276004Sandrewoptions 	IPFIREWALL_VERBOSE
127276004Sandrewoptions 	IPFIREWALL_VERBOSE_LIMIT=100
128276004Sandrewoptions 	IPFIREWALL_NAT
129276004Sandrewoptions 	LIBALIAS
130276004Sandrewoptions 	DUMMYNET
131276004Sandrewoptions 	IPDIVERT
132245955Sian
133245955Sian#PF 
134276004Sandrewdevice		pf
135276004Sandrewdevice		pflog
136276004Sandrewdevice		pfsync
137245955Sian
138245955Sian# ALTQ, required for PF
139276004Sandrewoptions 	ALTQ			# Basic ALTQ support
140276004Sandrewoptions 	ALTQ_CBQ		# Class Based Queueing
141276004Sandrewoptions 	ALTQ_RED		# Random Early Detection
142276004Sandrewoptions 	ALTQ_RIO		# RED In/Out
143276004Sandrewoptions 	ALTQ_HFSC		# Hierarchical Packet Scheduler
144276004Sandrewoptions 	ALTQ_CDNR		# Traffic conditioner
145276004Sandrewoptions 	ALTQ_PRIQ		# Priority Queueing
146276004Sandrewoptions 	ALTQ_NOPCC		# Required if the TSC is unusable
147245955Sian#options 	ALTQ_DEBUG
148245955Sian
149245955Sian# Debugging
150276004Sandrewmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
151245955Sianoptions 	BREAK_TO_DEBUGGER
152245955Sianoptions 	ALT_BREAK_TO_DEBUGGER
153245955Sianoptions 	DDB
154245955Sianoptions 	KDB
155271050Sian#options 	DIAGNOSTIC
156263245Simpoptions 	INVARIANTS		# Enable calls of extra sanity checking
157263245Simpoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
158263245Simp#options 	WITNESS			# Enable checks to detect deadlocks and cycles
159263245Simp#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
160245955Sian#options 	WITNESS_KDB
161245955Sian
162245955Sian# Enable these options for nfs root configured via BOOTP.
163263245Simpoptions 	NFSCL			# Network Filesystem Client
164263245Simpoptions 	NFSLOCKD		# Network Lock Manager
165263245Simp#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
166245955Sian#options 	BOOTP
167245955Sian#options 	BOOTP_NFSROOT
168245955Sian#options 	BOOTP_NFSV3
169245955Sian#options 	BOOTP_WIRED_TO=mge0
170245955Sian
171245955Sian# If not using BOOTP, use something like one of these...
172245955Sian#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
173245955Sianoptions 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
174245955Sian#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
175245955Sian#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
176245955Sian
177245955Sian# To use this configuration with the (rare) model 1001N (nand flash),
178245955Sian# create a kernel config file that looks like this:
179245955Sian#
180245955Sian# include DREAMPLUG-1001
181276004Sandrew# nomakeoptions	FDT_DTS_FILE
182245955Sian# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
183245955Sian# device 	nand
184245955Sian
185