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: releng/11.0/sys/arm/conf/DREAMPLUG-1001 302915 2016-07-15 21:30:19Z ian $
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# Enable these options for nfs root configured via BOOTP.
55#options 	BOOTP
56#options 	BOOTP_NFSROOT
57#options 	BOOTP_NFSV3
58#options 	BOOTP_WIRED_TO=mge0
59
60# If not using BOOTP, use something like one of these...
61#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
62options 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
63#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
64#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
65
66# Misc pseudo devices
67device		bpf			# Required for DHCP
68device		firmware		# firmware(9) required for USB wlan
69device		gif			# IPv6 and IPv4 tunneling
70device		loop			# Network loopback
71device		md			# Memory/malloc disk
72device		pty			# BSD-style compatibility pseudo ttys
73device		random			# Entropy device
74device		tun			# Packet tunnel.
75device		ether			# Required for all ethernet devices
76device		vlan			# 802.1Q VLAN support
77device		wlan			# 802.11 WLAN support
78
79# cam support for umass and ahci
80device		scbus
81device		pass
82device		da
83device		cd
84
85# Serial ports
86device		uart
87
88# Networking
89device		mge			# Marvell Gigabit Ethernet controller
90device		mii
91device		mdio
92device		e1000phy
93
94# USB
95options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
96device		usb  			# Basic usb support			
97device		ehci 			# USB host controller
98device		umass			# Mass storage
99device		uhid 			# Human-interface devices
100device		rum  			# Ralink Technology RT2501USB wireless NICs
101device		uath 			# Atheros AR5523 wireless NICs
102device		ural 			# Ralink Technology RT2500USB wireless NICs
103device		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
104device		urtw 			# Realtek RTL8187B/L USB
105device		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
106device		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
107
108# I2C (TWSI)
109device		iic
110device		iicbus
111device		twsi
112
113# GPIO
114device		gpio
115
116# SATA
117device		mvs
118device		ahci
119
120# Sound
121device		sound
122device		snd_uaudio
123
124#crypto
125device		cesa			# Marvell security engine
126device		crypto
127device		cryptodev
128
129# IPSec
130device		enc
131options 	IPSEC
132options 	IPSEC_NAT_T
133options 	TCP_SIGNATURE		# include support for RFC 2385
134
135# IPFW
136options 	IPFIREWALL
137options 	IPFIREWALL_DEFAULT_TO_ACCEPT
138options 	IPFIREWALL_VERBOSE
139options 	IPFIREWALL_VERBOSE_LIMIT=100
140options 	IPFIREWALL_NAT
141options 	LIBALIAS
142options 	DUMMYNET
143options 	IPDIVERT
144
145#PF 
146device		pf
147device		pflog
148device		pfsync
149
150# ALTQ, required for PF
151options 	ALTQ			# Basic ALTQ support
152options 	ALTQ_CBQ		# Class Based Queueing
153options 	ALTQ_RED		# Random Early Detection
154options 	ALTQ_RIO		# RED In/Out
155options 	ALTQ_HFSC		# Hierarchical Packet Scheduler
156options 	ALTQ_CDNR		# Traffic conditioner
157options 	ALTQ_PRIQ		# Priority Queueing
158options 	ALTQ_NOPCC		# Required if the TSC is unusable
159#options 	ALTQ_DEBUG
160
161# To use this configuration with the (rare) model 1001N (nand flash),
162# create a kernel config file that looks like this:
163#
164# include DREAMPLUG-1001
165# nomakeoptions	FDT_DTS_FILE
166# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
167# device 	nand
168
169# Flattened Device Tree
170options 	FDT			# Configure using FDT/DTB data
171options 	FDT_DTB_STATIC
172makeoptions	FDT_DTS_FILE=dreamplug-1001.dts
173