xref: /netbsd-src/sys/arch/evbarm/conf/BCM56340 (revision b83ebeba7f767758d2778bb0f9d7a76534253621)
1#
2#	$NetBSD: BCM56340,v 1.10 2015/08/07 13:53:28 maxv 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
91options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
92#options 	COMPAT_43	# 4.3BSD compatibility.
93#options 	COMPAT_09	# NetBSD 0.9,
94#options 	COMPAT_10	# NetBSD 1.0,
95#options 	COMPAT_11	# NetBSD 1.1,
96#options 	COMPAT_12	# NetBSD 1.2,
97#options 	COMPAT_13	# NetBSD 1.3,
98#options 	COMPAT_14	# NetBSD 1.4,
99#options 	COMPAT_15	# NetBSD 1.5,
100#options 	COMPAT_16	# NetBSD 1.6,
101#options 	COMPAT_20	# NetBSD 2.0,
102options 	COMPAT_30	# NetBSD 3.0,
103options 	COMPAT_40	# NetBSD 4.0,
104options 	COMPAT_50	# NetBSD 5.0,
105options 	COMPAT_60	# NetBSD 6.0, and
106options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
107#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
108#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
109
110# Shared memory options
111
112options 	SYSVMSG		# System V-like message queues
113options 	SYSVSEM		# System V-like semaphores
114options 	SYSVSHM		# System V-like memory sharing
115
116# Device options
117
118#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
119#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
120#options 	MEMORY_DISK_DYNAMIC
121#options 	MINIROOTSIZE=1000	# Size in blocks
122#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
123
124# Wedge support
125options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
126options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
127
128# Miscellaneous kernel options
129options 	MODULAR		# support dynamically loaded kernel modules
130options 	MODULAR_DEFAULT_AUTOLOAD
131options 	KTRACE		# system call tracing, a la ktrace(1)
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	# internal 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
150options 	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
158makeoptions	COPY_SYMTAB=1
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? flags 0	# 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
196options 	CONSPEED=9600
197com0		at bcmcca? channel 0
198com*		at bcmcca? channel 1
199
200# ChipCommonB Peripherals
201bcmccb0		at mainbus?		# ChipCommonB
202bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
203pci*		at bcmpax?
204ppb*		at pci? dev ? function ?
205pci*		at ppb?
206
207ahcisata*	at pci? dev ? function ?
208atabus* 	at ahcisata? channel ?
209#options 	ATADEBUG
210wd*		at atabus? drive ?
211wm*		at pci? dev ? function ?
212makphy*		at mii?
213ukphy*		at mii?
214
215bcmmdio0	at bcmccb0
216bcmeth*		at bcmccb? port ?
217
218# SDHC controllers
219sdhc0		at bcmccb0
220sdmmc*		at sdhc?		# SD/MMC bus
221ld*		at sdmmc?
222
223# Random Number Generator
224bcmrng0		at bcmccb0
225
226# NAND controller
227#bcmnand0	at bcmccb0
228
229# NAND layer
230#nand0		at nandbus?
231
232# use the bad block table
233#options NAND_BBT
234
235# Define flash partitions for board
236#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
237#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
238#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
239#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
240#flash4		at nand0 offset 0x680000 size 0			# filesystem
241
242# I2C Controller
243bcmi2c0 	at bcmccb0
244iic*		at bcmi2c?
245
246# NAND Controller
247bcmnand0	at bcmccb0
248nand*		at nandbus?
249flash*		at nand?
250
251# Watchdog timers
252#bcmwdt*	at bcmccb0
253
254# On-board USB
255bcmusb*		at bcmccb0
256ohci*		at bcmusb0
257usb*		at ohci?
258ehci*		at bcmusb0
259usb*		at ehci?
260uhub*		at usb?
261uhub*		at uhub? port ?
262umass*		at uhub? port ? configuration ? interface ?
263scsibus*	at scsi?
264sd*		at scsibus? target ? lun ?
265#wd*		at umass?
266
267axe*		at uhub? port ? configuration ? interface ?
268
269# Hardware clocking and power management
270
271# Pseudo-Devices
272
273# disk/mass storage pseudo-devices
274#pseudo-device	md			# memory disk device (ramdisk)
275#pseudo-device	vnd			# disk-like interface to files
276#pseudo-device	fss			# file system snapshot device
277#pseudo-device	putter			# for puffs and pud
278
279# network pseudo-devices
280pseudo-device	bpfilter		# Berkeley packet filter
281pseudo-device	loop			# network loopback
282#pseudo-device	kttcp			# network loopback
283pseudo-device	vlan
284pseudo-device	bridge
285
286# miscellaneous pseudo-devices
287pseudo-device	pty			# pseudo-terminals
288#options	RND_COM
289#pseudo-device	clockctl		# user control of clock subsystem
290pseudo-device	ksyms			# /dev/ksyms
291pseudo-device	drvctl			# device control
292pseudo-device	lockstat		# lock profiling
293