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