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#    https://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 (https://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$
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 	TCP_HHOOK		# hhook(9) framework for TCP
36options 	FFS			# Berkeley Fast Filesystem
37options 	SOFTUPDATES		# Enable FFS soft updates support
38options 	NFSCL			# Network Filesystem Client
39options 	NFSLOCKD		# Network Lock Manager
40#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
41options 	MSDOSFS			# MSDOS Filesystem
42options 	CD9660			# ISO 9660 filesystem
43options 	NULLFS			# NULL filesystem
44options 	TMPFS			# Efficient memory filesystem
45options 	GEOM_PART_GPT		# GUID Partition Tables
46options 	GEOM_PART_BSD		# BSD partition scheme
47options 	GEOM_PART_MBR		# MBR partition scheme
48options 	GEOM_LABEL		# Provides labelization
49options 	GEOM_ELI		# Disk encryption
50options 	SYSVSHM			# SYSV-style shared memory
51options 	SYSVMSG			# SYSV-style message queues
52options 	SYSVSEM			# SYSV-style semaphores
53options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
54
55# Enable these options for nfs root configured via BOOTP.
56#options 	BOOTP
57#options 	BOOTP_NFSROOT
58#options 	BOOTP_NFSV3
59#options 	BOOTP_WIRED_TO=mge0
60
61# If not using BOOTP, use something like one of these...
62#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
63options 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
64#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
65#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
66
67# Misc pseudo devices
68device		bpf			# Required for DHCP
69device		firmware		# firmware(9) required for USB wlan
70device		gif			# IPv6 and IPv4 tunneling
71device		loop			# Network loopback
72device		md			# Memory/malloc disk
73device		pty			# BSD-style compatibility pseudo ttys
74device		random			# Entropy device
75device		tuntap			# Packet tunnel.
76device		ether			# Required for all ethernet devices
77device		vlan			# 802.1Q VLAN support
78device		wlan			# 802.11 WLAN support
79
80# cam support for umass and ahci
81device		scbus
82device		pass
83device		da
84device		cd
85
86# Serial ports
87device		uart
88
89# Networking
90device		mge			# Marvell Gigabit Ethernet controller
91device		mii
92device		mdio
93device		e1000phy
94
95# USB
96options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
97device		usb  			# Basic usb support			
98device		ehci 			# USB host controller
99device		umass			# Mass storage
100device		uhid 			# Human-interface devices
101device		rum  			# Ralink Technology RT2501USB wireless NICs
102device		uath 			# Atheros AR5523 wireless NICs
103device		ural 			# Ralink Technology RT2500USB wireless NICs
104device		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
105device		urtw 			# Realtek RTL8187B/L USB
106device		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
107device		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
108
109# I2C (TWSI)
110device		iic
111device		iicbus
112device		twsi
113
114# GPIO
115device		gpio
116
117# SATA
118device		mvs
119device		ahci
120
121# Sound
122device		sound
123device		snd_uaudio
124
125#crypto
126device		cesa			# Marvell security engine
127device		crypto
128device		cryptodev
129
130# IPSec
131device		enc
132options 	IPSEC
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