BCM5301X revision 1.15
1#
2#	$NetBSD: BCM5301X,v 1.15 2013/06/30 21:38:56 rmind Exp $
3#
4#	BCM5301X -- Broadcom BCM5301X Eval Board Kernel
5#
6
7include	"arch/evbarm/conf/std.bcm53xx"
8
9# estimated number of users
10
11maxusers	32
12
13# Standard system options
14
15options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
16#options 	NTP		# NTP phase/frequency locked loop
17
18# CPU options
19
20#makeoptions	DEFCOPTS="-O0"
21options 	UVMHIST
22#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30
23options 	BCM53XX_CONSOLE_EARLY
24options 	BCMETH_COUNTERS
25#options 	MULTIPROCESSOR
26options 	CPU_CORTEXA9
27#options 	MEMSIZE=256
28options 	BCM5301
29options 	PMAPCOUNTERS
30options 	BUSDMA_COUNTERS
31
32# Architecture options
33
34# File systems
35
36file-system	FFS		# UFS
37#file-system	LFS		# log-structured file system
38file-system	MFS		# memory file system
39file-system	NFS		# Network file system
40#file-system 	ADOSFS		# AmigaDOS-compatible file system
41#file-system 	EXT2FS		# second extended file system (linux)
42file-system	CD9660		# ISO 9660 + Rock Ridge file system
43file-system	MSDOSFS		# MS-DOS file system
44#file-system	FDESC		# /dev/fd
45file-system	KERNFS		# /kern
46#file-system	NULLFS		# loopback file system
47#file-system	PROCFS		# /proc
48#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
49#file-system	UMAPFS		# NULLFS + uid and gid remapping
50#file-system	UNION		# union file system
51file-system	TMPFS		# memory file system
52file-system	PTYFS		# /dev/pts/N support
53
54# File system options
55#options 	QUOTA		# legacy UFS quotas
56#options 	QUOTA2		# new, in-filesystem UFS quotas
57#options 	FFS_EI		# FFS Endian Independent support
58#options 	NFSSERVER
59options 	WAPBL		# File system journaling support
60#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
61
62# Networking options
63
64#options 	GATEWAY		# packet forwarding
65options 	INET		# IP + ICMP + TCP + UDP
66options 	INET6		# IPV6
67#options 	IPSEC		# IP security
68#options 	IPSEC_DEBUG	# debug for IP security
69#options 	MROUTING	# IP multicast routing
70#options 	PIM		# Protocol Independent Multicast
71#options 	NETATALK	# AppleTalk networking
72#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
73#options 	PPP_DEFLATE	# Deflate compression support for PPP
74#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
75#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
76
77options 	NFS_BOOT_BOOTP
78options 	NFS_BOOT_DHCP
79#options		NFS_BOOT_BOOTSTATIC
80#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
81#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
82#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
83#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
84#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
85
86options		NFS_BOOT_RWSIZE=1024
87
88# Compatibility options
89
90#options 	COMPAT_43	# 4.3BSD compatibility.
91options 	COMPAT_60	# NetBSD 6.0 compatibility.
92options 	COMPAT_50	# NetBSD 5.0 compatibility.
93options 	COMPAT_40	# NetBSD 4.0 compatibility.
94options 	COMPAT_30	# NetBSD 3.0 compatibility.
95#options 	COMPAT_20	# NetBSD 2.0 compatibility.
96#options 	COMPAT_16	# NetBSD 1.6 compatibility.
97#options 	COMPAT_15	# NetBSD 1.5 compatibility.
98#options 	COMPAT_14	# NetBSD 1.4 compatibility.
99#options 	COMPAT_13	# NetBSD 1.3 compatibility.
100#options 	COMPAT_12	# NetBSD 1.2 compatibility.
101#options 	COMPAT_11	# NetBSD 1.1 compatibility.
102#options 	COMPAT_10	# NetBSD 1.0 compatibility.
103#options 	COMPAT_09	# NetBSD 0.9 compatibility.
104#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
105#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
106
107# Shared memory options
108
109options 	SYSVMSG		# System V-like message queues
110options 	SYSVSEM		# System V-like semaphores
111options 	SYSVSHM		# System V-like memory sharing
112
113# Device options
114
115#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
116#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
117#options 	MEMORY_DISK_DYNAMIC
118#options 	MINIROOTSIZE=1000	# Size in blocks
119#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
120
121options 	DKWEDGE_AUTODISCOVER
122options 	DKWEDGE_METHOD_GPT
123
124# Miscellaneous kernel options
125options 	KTRACE		# system call tracing, a la ktrace(1)
126#options 	KMEMSTATS	# kernel memory statistics
127options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
128#options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
129options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
130options 	RNDVERBOSE	# Verbose rnd messages
131#options 	SCSIVERBOSE	# Verbose SCSI errors
132#options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
133#options 	DDB_KEYCODE=0x40
134#options 	USERCONF	# userconf(4) support
135#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
136
137# Development and Debugging options
138
139#options 	PERFCTRS	# performance counters
140options 	DIAGNOSTIC	# internally consistency checks
141options 	DEBUG
142#options 	LOCKDEBUG	# Enable lock debugging
143#options 	PMAP_DEBUG	# Enable pmap_debug_level code
144#options 	IPKDB		# remote kernel debugging
145#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
146options 	DDB		# in-kernel debugger
147options		DDB_ONPANIC=1
148options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
149options 	DDB_COMMANDONENTER="show event"
150options 	DB_MAX_LINE=INT_MAX
151#options 	KGDB
152makeoptions	DEBUG="-g"	# compile full symbol table
153options 	SYMTAB_SPACE=575000
154
155## USB Debugging options
156options USB_DEBUG
157options EHCI_DEBUG
158options OHCI_DEBUG
159options UHUB_DEBUG
160
161
162# Valid options for BOOT_ARGS:
163#  single		Boot to single user only
164#  kdb			Give control to kernel debugger
165#  ask			Ask for file name to reboot from
166#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
167#  memorydisk=<n>	Set memorydisk size to <n> KB
168#  quiet		Show aprint_naive output
169#  verbose		Show aprint_normal and aprint_verbose output
170options		BOOT_ARGS="\"\""
171
172config		netbsd		root on ? type ?
173
174# The main bus device
175mainbus0	at root
176
177# The boot cpu
178cpu0		at mainbus?
179#cpu*		at mainbus?
180
181# The MPCore interrupt controller and global timer
182armperiph0	at mainbus?		# A9 On-Chip Peripherals
183armgic0		at armperiph?		# ARM Generic Interrupt Controller
184arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
185a9tmr0		at armperiph?		# A9 Global Timer
186a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer
187
188# ChipCommonA Peripherals
189bcmcca0		at mainbus?		# ChipCommonA
190#options 	CONADDR=0x18000300, CONSPEED=115200
191com0		at bcmcca? channel 0
192com*		at bcmcca? channel 1
193
194# ChipCommonB Peripherals
195bcmccb0		at mainbus?		# ChipCommonB
196bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
197pci*		at bcmpax?
198ppb*		at pci? dev ? function ?
199pci*		at ppb?
200
201ahcisata*	at pci? dev ? function ?
202atabus* 	at ahcisata? channel ?
203#options 	ATADEBUG
204wd*		at atabus? drive ?
205wm*		at pci? dev ? function ?
206makphy*		at mii?
207ukphy*		at mii?
208
209bcmmdio0	at bcmccb0
210bcmeth*		at bcmccb? port ?
211
212# SDHC controllers
213sdhc0		at bcmccb0
214sdmmc*		at sdhc?		# SD/MMC bus
215ld*		at sdmmc?
216
217# Random Number Generator
218bcmrng0		at bcmccb0
219
220# NAND controller
221#bcmnand0	at bcmccb0
222
223# NAND layer
224#nand0		at nandbus?
225
226# use the bad block table
227#options NAND_BBT
228
229# Define flash partitions for board
230#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
231#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
232#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
233#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
234#flash4		at nand0 offset 0x680000 size 0			# filesystem
235
236# I2C Controller
237bcmi2c0 	at bcmccb0
238iic*		at bcmi2c?
239
240# Watchdog timers
241#bcmwdt*	at bcmccb0
242
243# On-board USB
244bcmusb*		at bcmccb0
245ohci*		at bcmusb0
246usb*		at ohci?
247ehci*		at bcmusb0
248usb*		at ehci?
249uhub*		at usb?
250uhub*		at uhub? port ?
251umass*		at uhub? port ? configuration ? interface ?
252scsibus*	at scsi?
253sd*		at scsibus? target ? lun ?
254#wd*		at umass?
255
256axe*		at uhub? port ? configuration ? interface ?
257
258# Hardware clocking and power management
259
260# Pseudo-Devices
261
262# disk/mass storage pseudo-devices
263#pseudo-device	md			# memory disk device (ramdisk)
264#pseudo-device	vnd			# disk-like interface to files
265#pseudo-device	fss			# file system snapshot device
266#pseudo-device	putter			# for puffs and pud
267
268# network pseudo-devices
269pseudo-device	bpfilter		# Berkeley packet filter
270pseudo-device	loop			# network loopback
271#pseudo-device	kttcp			# network loopback
272pseudo-device	vlan
273pseudo-device	bridge
274
275# miscellaneous pseudo-devices
276pseudo-device	pty			# pseudo-terminals
277#options	RND_COM
278#pseudo-device	clockctl		# user control of clock subsystem
279pseudo-device	ksyms			# /dev/ksyms
280pseudo-device	drvctl			# device control
281pseudo-device	lockstat		# lock profiling
282