DREAMPLUG-1001 revision 294413
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 294413 2016-01-20 11:57:11Z zbb $
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 	ALT_BREAK_TO_DEBUGGER
57options 	KDB			# Enable kernel debugger support
58options 	DDB			# Enable the kernel debugger
59options 	INVARIANTS		# Enable calls of extra sanity checking
60options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
61#options 	WITNESS			# Enable checks to detect deadlocks and cycles
62#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
63#options 	WITNESS_KDB
64#options 	DIAGNOSTIC
65
66# Enable these options for nfs root configured via BOOTP.
67#options 	BOOTP
68#options 	BOOTP_NFSROOT
69#options 	BOOTP_NFSV3
70#options 	BOOTP_WIRED_TO=mge0
71
72# If not using BOOTP, use something like one of these...
73#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
74options 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
75#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
76#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
77
78# Misc pseudo devices
79device		bpf			# Required for DHCP
80device		firmware		# firmware(9) required for USB wlan
81device		gif			# IPv6 and IPv4 tunneling
82device		loop			# Network loopback
83device		md			# Memory/malloc disk
84device		pty			# BSD-style compatibility pseudo ttys
85device		random			# Entropy device
86device		tun			# Packet tunnel.
87device		ether			# Required for all ethernet devices
88device		vlan			# 802.1Q VLAN support
89device		wlan			# 802.11 WLAN support
90
91# cam support for umass and ahci
92device		scbus
93device		pass
94device		da
95device		cd
96
97# Serial ports
98device		uart
99
100# Networking
101device		mge			# Marvell Gigabit Ethernet controller
102device		mii
103device		mdio
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# GPIO
126device		gpio
127
128# SATA
129device		mvs
130device		ahci
131
132# Sound
133device		sound
134device		snd_uaudio
135
136#crypto
137device		cesa			# Marvell security engine
138device		crypto
139device		cryptodev
140
141# IPSec
142device		enc
143options 	IPSEC
144options 	IPSEC_NAT_T
145options 	TCP_SIGNATURE		# include support for RFC 2385
146
147# IPFW
148options 	IPFIREWALL
149options 	IPFIREWALL_DEFAULT_TO_ACCEPT
150options 	IPFIREWALL_VERBOSE
151options 	IPFIREWALL_VERBOSE_LIMIT=100
152options 	IPFIREWALL_NAT
153options 	LIBALIAS
154options 	DUMMYNET
155options 	IPDIVERT
156
157#PF 
158device		pf
159device		pflog
160device		pfsync
161
162# ALTQ, required for PF
163options 	ALTQ			# Basic ALTQ support
164options 	ALTQ_CBQ		# Class Based Queueing
165options 	ALTQ_RED		# Random Early Detection
166options 	ALTQ_RIO		# RED In/Out
167options 	ALTQ_HFSC		# Hierarchical Packet Scheduler
168options 	ALTQ_CDNR		# Traffic conditioner
169options 	ALTQ_PRIQ		# Priority Queueing
170options 	ALTQ_NOPCC		# Required if the TSC is unusable
171#options 	ALTQ_DEBUG
172
173# To use this configuration with the (rare) model 1001N (nand flash),
174# create a kernel config file that looks like this:
175#
176# include DREAMPLUG-1001
177# nomakeoptions	FDT_DTS_FILE
178# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
179# device 	nand
180
181# Flattened Device Tree
182options 	FDT			# Configure using FDT/DTB data
183options 	FDT_DTB_STATIC
184makeoptions	FDT_DTS_FILE=dreamplug-1001.dts
185