| @@ -1,39 +1,38 @@ | | | @@ -1,39 +1,38 @@ |
1 | # | | 1 | # |
2 | # $NetBSD: BCM5301X,v 1.5 2012/09/15 06:10:13 matt Exp $ | | 2 | # $NetBSD: BCM5301X,v 1.6 2012/09/22 19:53:03 matt Exp $ |
3 | # | | 3 | # |
4 | # BCM5301X -- Broadcom BCM5301X Eval Board Kernel | | 4 | # BCM5301X -- Broadcom BCM5301X Eval Board Kernel |
5 | # | | 5 | # |
6 | | | 6 | |
7 | include "arch/evbarm/conf/std.bcm53xx" | | 7 | include "arch/evbarm/conf/std.bcm53xx" |
8 | | | 8 | |
9 | # estimated number of users | | 9 | # estimated number of users |
10 | | | 10 | |
11 | maxusers 32 | | 11 | maxusers 32 |
12 | | | 12 | |
13 | # Standard system options | | 13 | # Standard system options |
14 | | | 14 | |
15 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT | | 15 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT |
16 | #options NTP # NTP phase/frequency locked loop | | 16 | #options NTP # NTP phase/frequency locked loop |
17 | | | 17 | |
18 | # CPU options | | 18 | # CPU options |
19 | | | 19 | |
20 | #makeoptions DEFCOPTS="-O0" | | 20 | #makeoptions DEFCOPTS="-O0" |
21 | options UVMHIST | | 21 | options UVMHIST |
22 | #options UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30 | | 22 | #options UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30 |
23 | options BCM53XX_CONSOLE_EARLY | | 23 | options BCM53XX_CONSOLE_EARLY |
24 | #options MULTIPROCESSOR | | 24 | #options MULTIPROCESSOR |
25 | options CPU_CORTEXA9 | | 25 | options CPU_CORTEXA9 |
26 | #options FPU_VFP | | | |
27 | options BCM5301 | | 26 | options BCM5301 |
28 | options PMAPCOUNTERS | | 27 | options PMAPCOUNTERS |
29 | | | 28 | |
30 | # Architecture options | | 29 | # Architecture options |
31 | | | 30 | |
32 | # File systems | | 31 | # File systems |
33 | | | 32 | |
34 | file-system FFS # UFS | | 33 | file-system FFS # UFS |
35 | #file-system LFS # log-structured file system | | 34 | #file-system LFS # log-structured file system |
36 | file-system MFS # memory file system | | 35 | file-system MFS # memory file system |
37 | file-system NFS # Network file system | | 36 | file-system NFS # Network file system |
38 | #file-system ADOSFS # AmigaDOS-compatible file system | | 37 | #file-system ADOSFS # AmigaDOS-compatible file system |
39 | #file-system EXT2FS # second extended file system (linux) | | 38 | #file-system EXT2FS # second extended file system (linux) |
| @@ -145,27 +144,27 @@ options RNDVERBOSE # Verbose rnd messag | | | @@ -145,27 +144,27 @@ options RNDVERBOSE # Verbose rnd messag |
145 | options DIAGNOSTIC # internally consistency checks | | 144 | options DIAGNOSTIC # internally consistency checks |
146 | options DEBUG | | 145 | options DEBUG |
147 | #options LOCKDEBUG # Enable lock debugging | | 146 | #options LOCKDEBUG # Enable lock debugging |
148 | #options PMAP_DEBUG # Enable pmap_debug_level code | | 147 | #options PMAP_DEBUG # Enable pmap_debug_level code |
149 | #options IPKDB # remote kernel debugging | | 148 | #options IPKDB # remote kernel debugging |
150 | #options VERBOSE_INIT_ARM # verbose bootstraping messages | | 149 | #options VERBOSE_INIT_ARM # verbose bootstraping messages |
151 | options DDB # in-kernel debugger | | 150 | options DDB # in-kernel debugger |
152 | options DDB_ONPANIC=1 | | 151 | options DDB_ONPANIC=1 |
153 | options DDB_HISTORY_SIZE=100 # Enable history editing in DDB | | 152 | options DDB_HISTORY_SIZE=100 # Enable history editing in DDB |
154 | options DDB_COMMANDONENTER="show event" | | 153 | options DDB_COMMANDONENTER="show event" |
155 | options DB_MAX_LINE=INT_MAX | | 154 | options DB_MAX_LINE=INT_MAX |
156 | #options KGDB | | 155 | #options KGDB |
157 | makeoptions DEBUG="-g" # compile full symbol table | | 156 | makeoptions DEBUG="-g" # compile full symbol table |
158 | options SYMTAB_SPACE=530000 | | 157 | options SYMTAB_SPACE=575000 |
159 | | | 158 | |
160 | ## USB Debugging options | | 159 | ## USB Debugging options |
161 | options USB_DEBUG | | 160 | options USB_DEBUG |
162 | options EHCI_DEBUG | | 161 | options EHCI_DEBUG |
163 | options OHCI_DEBUG | | 162 | options OHCI_DEBUG |
164 | options UHUB_DEBUG | | 163 | options UHUB_DEBUG |
165 | | | 164 | |
166 | | | 165 | |
167 | # Valid options for BOOT_ARGS: | | 166 | # Valid options for BOOT_ARGS: |
168 | # single Boot to single user only | | 167 | # single Boot to single user only |
169 | # kdb Give control to kernel debugger | | 168 | # kdb Give control to kernel debugger |
170 | # ask Ask for file name to reboot from | | 169 | # ask Ask for file name to reboot from |
171 | # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> | | 170 | # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> |
| @@ -176,47 +175,50 @@ options BOOT_ARGS="\"\"" | | | @@ -176,47 +175,50 @@ options BOOT_ARGS="\"\"" |
176 | | | 175 | |
177 | config netbsd root on ? type ? | | 176 | config netbsd root on ? type ? |
178 | | | 177 | |
179 | # The main bus device | | 178 | # The main bus device |
180 | mainbus0 at root | | 179 | mainbus0 at root |
181 | | | 180 | |
182 | # The boot cpu | | 181 | # The boot cpu |
183 | cpu0 at mainbus? | | 182 | cpu0 at mainbus? |
184 | #cpu* at mainbus? | | 183 | #cpu* at mainbus? |
185 | | | 184 | |
186 | # The MPCore interrupt controller and global timer | | 185 | # The MPCore interrupt controller and global timer |
187 | armperiph0 at mainbus? # A9 On-Chip Peripherals | | 186 | armperiph0 at mainbus? # A9 On-Chip Peripherals |
188 | armgic0 at armperiph? # ARM Generic Interrupt Controller | | 187 | armgic0 at armperiph? # ARM Generic Interrupt Controller |
189 | arml2cc0 at armperiph? # ARM PL310 L2CC | | 188 | arml2cc0 at armperiph? flags 1 # ARM PL310 L2CC |
190 | a9tmr0 at armperiph? # A9 Global Timer | | 189 | a9tmr0 at armperiph? # A9 Global Timer |
191 | a9wdt0 at armperiph? flags 1 # A9 Watchdog Timer | | 190 | a9wdt0 at armperiph? flags 1 # A9 Watchdog Timer |
192 | | | 191 | |
193 | # ChipCommonA Peripherals | | 192 | # ChipCommonA Peripherals |
194 | bcmcca0 at mainbus? # ChipCommonA | | 193 | bcmcca0 at mainbus? # ChipCommonA |
195 | #options CONADDR=0x18000300, CONSPEED=115200 | | 194 | #options CONADDR=0x18000300, CONSPEED=115200 |
196 | com0 at bcmcca? channel 0 | | 195 | com0 at bcmcca? channel 0 |
197 | com* at bcmcca? channel 1 | | 196 | com* at bcmcca? channel 1 |
198 | | | 197 | |
199 | # ChipCommonB Peripherals | | 198 | # ChipCommonB Peripherals |
200 | bcmccb0 at mainbus? # ChipCommonB | | 199 | bcmccb0 at mainbus? # ChipCommonB |
201 | bcmpax* at bcmccb? port ? | | 200 | bcmpax* at bcmccb? port ? |
202 | pci* at bcmpax? | | 201 | pci* at bcmpax? |
203 | ppb* at pci? dev ? function ? | | 202 | ppb* at pci? dev ? function ? |
204 | pci* at ppb? | | 203 | pci* at ppb? |
205 | | | 204 | |
206 | ahcisata* at pci? dev ? function ? | | 205 | ahcisata* at pci? dev ? function ? |
207 | atabus* at ahcisata? channel ? | | 206 | atabus* at ahcisata? channel ? |
| | | 207 | #options ATADEBUG |
208 | wd* at atabus? drive ? | | 208 | wd* at atabus? drive ? |
209 | wm* at pci? dev ? function ? | | 209 | wm* at pci? dev ? function ? |
| | | 210 | makphy* at mii? |
| | | 211 | ukphy* at mii? |
210 | | | 212 | |
211 | bcmmdio0 at bcmccb0 | | 213 | bcmmdio0 at bcmccb0 |
212 | bcmeth* at bcmccb? port ? | | 214 | bcmeth* at bcmccb? port ? |
213 | | | 215 | |
214 | # SDHC controllers | | 216 | # SDHC controllers |
215 | sdhc0 at bcmccb0 | | 217 | sdhc0 at bcmccb0 |
216 | sdmmc* at sdhc? # SD/MMC bus | | 218 | sdmmc* at sdhc? # SD/MMC bus |
217 | ld* at sdmmc? | | 219 | ld* at sdmmc? |
218 | | | 220 | |
219 | # Random Number Generator | | 221 | # Random Number Generator |
220 | bcmrng0 at bcmccb0 | | 222 | bcmrng0 at bcmccb0 |
221 | | | 223 | |
222 | # NAND controller | | 224 | # NAND controller |
| @@ -243,27 +245,27 @@ iic* at bcmi2c? | | | @@ -243,27 +245,27 @@ iic* at bcmi2c? |
243 | #bcmwdt* at bcmccb0 | | 245 | #bcmwdt* at bcmccb0 |
244 | | | 246 | |
245 | # On-board USB | | 247 | # On-board USB |
246 | bcmusb* at bcmccb0 | | 248 | bcmusb* at bcmccb0 |
247 | ohci* at bcmusb0 | | 249 | ohci* at bcmusb0 |
248 | usb* at ohci? | | 250 | usb* at ohci? |
249 | ehci* at bcmusb0 | | 251 | ehci* at bcmusb0 |
250 | usb* at ehci? | | 252 | usb* at ehci? |
251 | uhub* at usb? | | 253 | uhub* at usb? |
252 | uhub* at uhub? port ? | | 254 | uhub* at uhub? port ? |
253 | umass* at uhub? port ? configuration ? interface ? | | 255 | umass* at uhub? port ? configuration ? interface ? |
254 | scsibus* at scsi? | | 256 | scsibus* at scsi? |
255 | sd* at scsibus? target ? lun ? | | 257 | sd* at scsibus? target ? lun ? |
256 | wd* at umass? | | 258 | #wd* at umass? |
257 | | | 259 | |
258 | axe* at uhub? port ? configuration ? interface ? | | 260 | axe* at uhub? port ? configuration ? interface ? |
259 | | | 261 | |
260 | # Hardware clocking and power management | | 262 | # Hardware clocking and power management |
261 | | | 263 | |
262 | # Pseudo-Devices | | 264 | # Pseudo-Devices |
263 | | | 265 | |
264 | # disk/mass storage pseudo-devices | | 266 | # disk/mass storage pseudo-devices |
265 | #pseudo-device md # memory disk device (ramdisk) | | 267 | #pseudo-device md # memory disk device (ramdisk) |
266 | #pseudo-device vnd # disk-like interface to files | | 268 | #pseudo-device vnd # disk-like interface to files |
267 | #pseudo-device fss # file system snapshot device | | 269 | #pseudo-device fss # file system snapshot device |
268 | #pseudo-device putter # for puffs and pud | | 270 | #pseudo-device putter # for puffs and pud |
269 | | | 271 | |