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: releng/11.0/sys/arm/conf/DREAMPLUG-1001 302915 2016-07-15 21:30:19Z ian $
22245955Sian#
23279850Sian#NO_UNIVERSE
24245955Sian
25245955Sianident		DREAMPLUG-1001
26245955Sian
27282576Sandrewinclude 	"std.arm"
28282576Sandrewinclude 	"../mv/kirkwood/std.db88f6xxx"
29245955Sian
30245955Sianoptions 	SOC_MV_KIRKWOOD
31245955Sian
32263245Simpoptions 	SCHED_4BSD		# 4BSD scheduler
33263245Simpoptions 	INET			# InterNETworking
34263245Simpoptions 	INET6			# IPv6 communications protocols
35282714Sandrewoptions 	FFS			# Berkeley Fast Filesystem
36282714Sandrewoptions 	SOFTUPDATES		# Enable FFS soft updates support
37282714Sandrewoptions 	NFSCL			# Network Filesystem Client
38282714Sandrewoptions 	NFSLOCKD		# Network Lock Manager
39282714Sandrew#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
40282714Sandrewoptions 	MSDOSFS			# MSDOS Filesystem
41263245Simpoptions 	CD9660			# ISO 9660 filesystem
42263245Simpoptions 	NULLFS			# NULL filesystem
43282714Sandrewoptions 	TMPFS			# Efficient memory filesystem
44282714Sandrewoptions 	GEOM_PART_GPT		# GUID Partition Tables
45282714Sandrewoptions 	GEOM_PART_BSD		# BSD partition scheme
46282714Sandrewoptions 	GEOM_PART_MBR		# MBR partition scheme
47282714Sandrewoptions 	GEOM_LABEL		# Provides labelization
48282714Sandrewoptions 	GEOM_ELI		# Disk encryption
49263245Simpoptions 	SYSVSHM			# SYSV-style shared memory
50263245Simpoptions 	SYSVMSG			# SYSV-style message queues
51263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
52282714Sandrewoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
53245955Sian
54282714Sandrew# Enable these options for nfs root configured via BOOTP.
55282714Sandrew#options 	BOOTP
56282714Sandrew#options 	BOOTP_NFSROOT
57282714Sandrew#options 	BOOTP_NFSV3
58282714Sandrew#options 	BOOTP_WIRED_TO=mge0
59282714Sandrew
60282714Sandrew# If not using BOOTP, use something like one of these...
61282714Sandrew#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
62282714Sandrewoptions 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
63282714Sandrew#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
64282714Sandrew#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
65282714Sandrew
66245955Sian# Misc pseudo devices
67263245Simpdevice		bpf			# Required for DHCP
68276004Sandrewdevice		firmware		# firmware(9) required for USB wlan
69276004Sandrewdevice		gif			# IPv6 and IPv4 tunneling
70263245Simpdevice		loop			# Network loopback
71276004Sandrewdevice		md			# Memory/malloc disk
72263245Simpdevice		pty			# BSD-style compatibility pseudo ttys
73263245Simpdevice		random			# Entropy device
74276004Sandrewdevice		tun			# Packet tunnel.
75263245Simpdevice		ether			# Required for all ethernet devices
76276004Sandrewdevice		vlan			# 802.1Q VLAN support
77263245Simpdevice		wlan			# 802.11 WLAN support
78245955Sian
79245955Sian# cam support for umass and ahci
80245955Siandevice		scbus
81245955Siandevice		pass
82245955Siandevice		da
83276004Sandrewdevice		cd
84245955Sian
85245955Sian# Serial ports
86245955Siandevice		uart
87245955Sian
88245955Sian# Networking
89245955Siandevice		mge			# Marvell Gigabit Ethernet controller
90245955Siandevice		mii
91289945Szbbdevice		mdio
92245955Siandevice		e1000phy
93245955Sian
94245955Sian# USB
95245955Sianoptions 	USB_HOST_ALIGN=32	# Align DMA to cacheline
96276004Sandrewdevice		usb  			# Basic usb support			
97276004Sandrewdevice		ehci 			# USB host controller
98276004Sandrewdevice		umass			# Mass storage
99276004Sandrewdevice		uhid 			# Human-interface devices
100276004Sandrewdevice		rum  			# Ralink Technology RT2501USB wireless NICs
101276004Sandrewdevice		uath 			# Atheros AR5523 wireless NICs
102276004Sandrewdevice		ural 			# Ralink Technology RT2500USB wireless NICs
103276004Sandrewdevice		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
104276004Sandrewdevice		urtw 			# Realtek RTL8187B/L USB
105276004Sandrewdevice		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
106276004Sandrewdevice		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
107245955Sian
108245955Sian# I2C (TWSI)
109245955Siandevice		iic
110245955Siandevice		iicbus
111295621Sandrewdevice		twsi
112245955Sian
113294413Szbb# GPIO
114294413Szbbdevice		gpio
115294413Szbb
116245955Sian# SATA
117245955Siandevice		mvs
118245955Siandevice		ahci
119245955Sian
120245955Sian# Sound
121276004Sandrewdevice		sound
122276004Sandrewdevice		snd_uaudio
123245955Sian
124245955Sian#crypto
125276004Sandrewdevice		cesa			# Marvell security engine
126276004Sandrewdevice		crypto
127276004Sandrewdevice		cryptodev
128245955Sian
129245955Sian# IPSec
130276004Sandrewdevice		enc
131276004Sandrewoptions 	IPSEC
132276004Sandrewoptions 	IPSEC_NAT_T
133276004Sandrewoptions 	TCP_SIGNATURE		# include support for RFC 2385
134245955Sian
135245955Sian# IPFW
136276004Sandrewoptions 	IPFIREWALL
137276004Sandrewoptions 	IPFIREWALL_DEFAULT_TO_ACCEPT
138276004Sandrewoptions 	IPFIREWALL_VERBOSE
139276004Sandrewoptions 	IPFIREWALL_VERBOSE_LIMIT=100
140276004Sandrewoptions 	IPFIREWALL_NAT
141276004Sandrewoptions 	LIBALIAS
142276004Sandrewoptions 	DUMMYNET
143276004Sandrewoptions 	IPDIVERT
144245955Sian
145245955Sian#PF 
146276004Sandrewdevice		pf
147276004Sandrewdevice		pflog
148276004Sandrewdevice		pfsync
149245955Sian
150245955Sian# ALTQ, required for PF
151276004Sandrewoptions 	ALTQ			# Basic ALTQ support
152276004Sandrewoptions 	ALTQ_CBQ		# Class Based Queueing
153276004Sandrewoptions 	ALTQ_RED		# Random Early Detection
154276004Sandrewoptions 	ALTQ_RIO		# RED In/Out
155276004Sandrewoptions 	ALTQ_HFSC		# Hierarchical Packet Scheduler
156276004Sandrewoptions 	ALTQ_CDNR		# Traffic conditioner
157276004Sandrewoptions 	ALTQ_PRIQ		# Priority Queueing
158276004Sandrewoptions 	ALTQ_NOPCC		# Required if the TSC is unusable
159245955Sian#options 	ALTQ_DEBUG
160245955Sian
161245955Sian# To use this configuration with the (rare) model 1001N (nand flash),
162245955Sian# create a kernel config file that looks like this:
163245955Sian#
164245955Sian# include DREAMPLUG-1001
165276004Sandrew# nomakeoptions	FDT_DTS_FILE
166245955Sian# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
167245955Sian# device 	nand
168245955Sian
169282714Sandrew# Flattened Device Tree
170282714Sandrewoptions 	FDT			# Configure using FDT/DTB data
171282714Sandrewoptions 	FDT_DTB_STATIC
172282714Sandrewmakeoptions	FDT_DTS_FILE=dreamplug-1001.dts
173