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