ARMADAXP revision 1.14 1 #
2 # $NetBSD: ARMADAXP,v 1.14 2014/08/23 20:26:57 dholland Exp $
3 #
4 # ARMADA XP DEV BOARD
5 #
6
7 include "arch/evbarm/conf/std.armadaxp"
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 options CPU_PJ4B
20
21 # Architecture options
22 options ARMADAXP
23 options L2CACHE_ENABLE
24 #options AURORA_IO_CACHE_COHERENCY
25 options AURORA_L2_PT_WALK
26
27 #options VERBOSE_INIT_ARM
28 #options MVSOC_CONSOLE_EARLY
29
30 # File systems
31 file-system FFS # UFS
32 #file-system LFS # log-structured file system
33 file-system MFS # memory file system
34 file-system NFS # Network file system
35 #file-system ADOSFS # AmigaDOS-compatible file system
36 #file-system EXT2FS # second extended file system (linux)
37 #file-system CD9660 # ISO 9660 + Rock Ridge file system
38 file-system MSDOSFS # MS-DOS file system
39 #file-system FDESC # /dev/fd
40 #file-system KERNFS # /kern
41 #file-system NULLFS # loopback file system
42 #file-system PROCFS # /proc
43 #file-system UMAPFS # NULLFS + uid and gid remapping
44 #file-system UNION # union file system
45 file-system TMPFS # memory file system
46 file-system PTYFS # /dev/pts/N support
47 file-system PUFFS # Pass-to-Userspace Framework File System
48
49 # File system options
50 #options QUOTA # legacy UFS quotas
51 #options QUOTA2 # new, in-filesystem UFS quotas
52 #options FFS_EI # FFS Endian Independent support
53 #options NFSSERVER
54 options WAPBL # File system journaling support
55 #options FFS_NO_SNAPSHOT # No FFS snapshot support
56
57 # Networking options
58 options GATEWAY # packet forwarding
59 options INET # IP + ICMP + TCP + UDP
60 options INET6 # IPV6
61 #options IPSEC # IP security
62 #options IPSEC_DEBUG # debug for IP security
63 options MROUTING # IP multicast routing
64 options PIM # Protocol Independent Multicast
65 options NETATALK # AppleTalk networking
66 options PPP_BSDCOMP # BSD-Compress compression support for PPP
67 options PPP_DEFLATE # Deflate compression support for PPP
68 options PPP_FILTER # Active filter support for PPP (requires bpf)
69 options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
70 options NFS_BOOT_DHCP
71
72 #options NFS_BOOT_BOOTP
73 #options NFS_BOOT_DHCP
74 #options NFS_BOOT_BOOTSTATIC
75 #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
76 #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
77 #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
78 #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
79 #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
80
81 #options NFS_BOOT_RWSIZE=1024
82
83 # Compatibility options
84 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
85 #options COMPAT_43 # 4.3BSD compatibility.
86 #options COMPAT_09 # NetBSD 0.9,
87 #options COMPAT_10 # NetBSD 1.0,
88 #options COMPAT_11 # NetBSD 1.1,
89 #options COMPAT_12 # NetBSD 1.2,
90 #options COMPAT_13 # NetBSD 1.3,
91 #options COMPAT_14 # NetBSD 1.4,
92 #options COMPAT_15 # NetBSD 1.5,
93 #options COMPAT_16 # NetBSD 1.6,
94 #options COMPAT_20 # NetBSD 2.0,
95 #options COMPAT_30 # NetBSD 3.0,
96 #options COMPAT_40 # NetBSD 4.0, and
97 options COMPAT_50 # NetBSD 5.0 binary compatibility.
98 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
99 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
100
101 # Shared memory options
102 options SYSVMSG # System V-like message queues
103 options SYSVSEM # System V-like semaphores
104 #options SEMMNI=10 # number of semaphore identifiers
105 #options SEMMNS=60 # number of semaphores in system
106 #options SEMUME=10 # max number of undo entries per process
107 #options SEMMNU=30 # number of undo structures in system
108 options SYSVSHM # System V-like memory sharing
109
110 # Device options
111 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
112 #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
113 #options MEMORY_DISK_DYNAMIC
114 #options MINIROOTSIZE=1000 # Size in blocks
115 #options MEMORY_DISK_IS_ROOT # use memory disk as root
116
117 # Miscellaneous kernel options
118 options KTRACE # system call tracing, a la ktrace(1)
119 #options KMEMSTATS # kernel memory statistics
120 #options SCSIVERBOSE # Verbose SCSI errors
121 #options MIIVERBOSE # Verbose MII autoconfuration messages
122 #options DDB_KEYCODE=0x40
123 #options USERCONF # userconf(4) support
124 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
125
126 # Development and Debugging options
127 options LOCKDEBUG
128 #options PERFCTRS # performance counters
129 options DIAGNOSTIC # internal consistency checks
130 #options DEBUG
131 #options PMAP_DEBUG # Enable pmap_debug_level code
132 options PMAPCOUNTERS
133 #options IPKDB # remote kernel debugging
134 #options VERBOSE_INIT_ARM # verbose bootstraping messages
135 options DDB # in-kernel debugger
136 options DDB_ONPANIC=1
137 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
138 options DDB_KEYCODE=0x1d # Enter ddb on ^]
139 #options KGDB
140 options KGDB_DEVADDR=0xd0012000
141 makeoptions DEBUG="-g" # compile full symbol table
142 makeoptions COPY_SYMTAB=1
143
144 ## USB Debugging options
145 #options USB_DEBUG
146 #options EHCI_DEBUG
147 #options OHCI_DEBUG
148 #options UHUB_DEBUG
149
150 # Valid options for BOOT_ARGS:
151 # single Boot to single user only
152 # kdb Give control to kernel debugger
153 # ask Ask for file name to reboot from
154 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
155 # memorydisk=<n> Set memorydisk size to <n> KB
156 # quiet Show aprint_naive output
157 # verbose Show aprint_normal and aprint_verbose output
158 #options BOOT_ARGS="\"verbose kdb\""
159 #options BOOT_ARGS="\"pmapdebug=1\""
160
161 config netbsd root on ? type ?
162 #config netbsd root on sd0c type ffs
163 #config netbsd root on wd0a type ffs
164 #config netbsd root on re1 type nfs
165
166 # The main bus device
167 mainbus0 at root
168
169 # The boot cpu
170 cpu0 at mainbus?
171
172 # Specify the memory size in bytes.
173 options MEMSIZE=0x80000000
174
175 # Marvell SoC Bus
176 mvsoc0 at mainbus?
177 options MVSOC_INTERREGS_PBASE=0xd0000000
178
179 # On-chip Timers
180 mvsoctmr* at mvsoc? offset ? irq ?
181
182 # On-chip UART Interface
183 com* at mvsoc?
184 #options COM_DEBUG
185 options CONSADDR=0xd0012000
186 options CONSPEED=115200
187 options CONSFREQ=250000000
188
189 # On-chip Two-Wire Serial Interface (TWSI)
190 gttwsi* at mvsoc? offset ? irq ?
191 iic* at gttwsi?
192
193 # Serial Peripheral Interface (SPI)
194 mvspi* at mvsoc? offset ? irq ?
195 spi* at mvspi?
196
197 spiflash0 at spiflashbus?
198 m25p0 at spi? slave 0
199
200 # TWSI SDRAM Serial Presence Detect
201 spdmem0 at iic? addr 0x56
202
203 # On-chip Cryptographic Engines and Security Accelerator
204 mvcesa* at mvsoc? offset ? irq ?
205
206 # On-chip USB 2.0 Interface
207 ehci* at mvsoc? offset ? irq ?
208
209 # USB bus support
210 usb* at ehci?
211
212 # USB Hubs
213 uhub* at usb?
214 uhub* at uhub? port ?
215
216 # USB Mass Storage
217 umass* at uhub? port ? configuration ? interface ?
218 wd* at umass?
219 scsibus* at scsi?
220 sd* at scsibus? target ? lun ? # SCSI disk drives
221
222 # USB Generic driver
223 ugen* at uhub? port ?
224
225 # USB Network interface
226 udav* at uhub? port ?
227
228 mvsdio* at mvsoc? offset ? irq ?
229 sdmmc* at mvsdio?
230
231 ld* at sdmmc?
232
233 # On-chip Serial-ATA II Host Controller (SATAHC)
234 mvsata* at mvsoc? offset ? irq ?
235 #options MVSATA_WITHOUTDMA
236
237 # ATA (IDE) bus support
238 atabus* at ata?
239 #options ATADEBUG
240
241 # ATAPI bus support
242 atapibus* at atapi?
243
244 # IDE drives
245 wd* at atabus? drive ? flags 0x0000
246
247 # ATAPI devices
248 # flags have the same meaning as for IDE drives.
249 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
250 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
251
252 # On-chip Gigabit Ethernet Controller Interface
253 mvgbec* at mvsoc? offset ?
254 mvgbe* at mvgbec? port ? irq ?
255
256 # On-chip RTC
257 mvsocrtc* at mvsoc? offset ? irq ?
258
259 # On-chip PCI Express Interface
260 mvpex* at mvsoc? offset ? irq ?
261
262 # PCI bus support
263 options PCI_NETBSD_CONFIGURE
264 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
265 pci* at mvpex?
266 pchb* at pci? dev ? function ? # PCI-Host bridges
267
268 # PCI Ethernet
269 wm* at pci? dev ? function ? # Intel 8254x gigabit
270 re* at pci? dev ? function ?
271
272 acphy* at mii? phy ? # Altima AC101 10/100 PHY
273 amhphy* at mii? phy ? # AMD 79c901 PHY (10BASE-T part)
274 bmtphy* at mii? phy ? # Broadcom BCM5201/5202 PHYs
275 brgphy* at mii? phy ? # Broadcom BCM5400/5401 Gig-E PHYs
276 ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
277 dmphy* at mii? phy ? # Davicom DM9101 PHYs
278 exphy* at mii? phy ? # 3Com internal PHYs
279 gentbi* at mii? phy ? # Generic ten-bit 1000BASE-X PHYs
280 glxtphy* at mii? phy ? # Level One LXT-1000 Gig-E PHYs
281 gphyter* at mii? phy ? # NatSemi DP83861 Gig-E PHYs
282 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 PHYs
283 igphy* at mii? phy ? # Intel IGP01E1000, i82566 10/100/1000
284 ikphy* at mii? phy ? # Intel 82563 PHYs
285 inphy* at mii? phy ? # Intel 82555 PHYs
286 iophy* at mii? phy ? # Intel 82553 PHYs
287 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
288 makphy* at mii? phy ? # Marvel 88E1000 Gig-E PHYs
289 nsphy* at mii? phy ? # NatSemi DP83840 PHYs
290 nsphyter* at mii? phy ? # NatSemi DP83843/DP83815 PHYs
291 pnaphy* at mii? phy ? # Generic HomePNA PHYs
292 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
293 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
294 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
295 sqphy* at mii? phy ? # Seeq 80220/80221/80223/80225 PHYs
296 tlphy* at mii? phy ? # ThunderLAN internal PHYs
297 tqphy* at mii? phy ? # TSC Semiconductor 78Q2120 PHYs
298 ukphy* at mii? phy ? # Generic/unknown PHYs
299 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
300
301 # PCI USB devices
302 xhci* at pci? dev ? function ?
303 usb* at xhci?
304
305 # Pseudo-Devices
306 # disk/mass storage pseudo-devices
307 #pseudo-device md # memory disk device (ramdisk)
308 pseudo-device vnd # pseudo disks (see vnconfig)
309 #pseudo-device fss # file system snapshot device
310
311 # network pseudo-devices
312 pseudo-device bpfilter # Berkeley packet filter
313 pseudo-device loop # network loopback
314 pseudo-device kttcp # network loopback
315 pseudo-device putter
316
317 # miscellaneous pseudo-devices
318 pseudo-device pty # pseudo-terminals
319 #options RND_COM
320 #pseudo-device clockctl # user control of clock subsystem
321 pseudo-device ksyms # /dev/ksyms
322