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