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