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