Annotation of src/sys/arch/evbarm/conf/CUBOX-I, Revision 1.7
1.7 ! christos 1: # $NetBSD: CUBOX-I,v 1.6 2016/08/07 10:44:05 christos Exp $
1.1 ryo 2: #
3: # CuBox-i
4: # - http://www.solid-run.com/products/cubox-i-mini-computer/
5: #
6:
7: include "arch/evbarm/conf/std.nitrogen6"
8:
9: #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10:
11: # estimated number of users
12:
13: maxusers 32
14:
1.3 ryo 15: # Board Type
16: options EVBARM_BOARDTYPE=cubox_i
17:
1.1 ryo 18: # CPU options
19: options CPU_CORTEX
20: options CPU_CORTEXA9
21: options IMX6
22: options MULTIPROCESSOR
23: options PMAPCOUNTERS
24:
25: # Standard system options
26:
27: options INSECURE # disable kernel security levels - X needs this
28:
29: options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
30: #options NTP # NTP phase/frequency locked loop
31: options KTRACE # system call tracing via ktrace(1)
32:
33: # Note: SysV IPC parameters can be changed dynamically; see sysctl(8).
34: options SYSVMSG # System V-like message queues
35: options SYSVSEM # System V-like semaphores
36: options SYSVSHM # System V-like memory sharing
37:
38: #options USERCONF # userconf(4) support
39: #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
40: options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
41:
42: # Alternate buffer queue strategies for better responsiveness under high
43: # disk I/O load.
44: #options BUFQ_READPRIO
45: options BUFQ_PRIOCSCAN
46:
47: # Diagnostic/debugging support options
48: options VERBOSE_INIT_ARM # verbose bootstraping messages
49: #options PERFCTRS # performance counters
50: options DIAGNOSTIC # internally consistency checks
51:
52: #options DEBUG
53: #options PMAP_DEBUG # Enable pmap_debug_level code
54: options LOCKDEBUG # expensive locking checks/support
55: options IRQSTATS # manage IRQ statistics
56: #options NO_POWERSAVE # uncomment this to run under ICE
57:
58: #makeoptions COPTS="-O2"
59: options DDB # in-kernel debugger
60: #options DDB_KEYCODE=0x1d # ^]
61: #options DDB_COMMANDONENTER="bt" # execute command when ddb is entered
62: options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
63: options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
64: options DDB_VERBOSE_HELP
65: #options IPKDB # remote kernel debugging
66: #options KGDB
67: #options KGDB_DEVNAME="\"imxuart\""
68: #options KGDB_DEVADDR=0x02020000
69: #options KGDB_DEVRATE=115200
70: makeoptions DEBUG="-g" # compile full symbol table
71: makeoptions COPY_SYMTAB=1
72: #options SYSCALL_STATS # per syscall counts
73: #options SYSCALL_TIMES # per syscall times
74: #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris)
75:
76:
77: # Compatibility options
78: options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
79: #options COMPAT_43 # 4.3BSD compatibility.
80: #options COMPAT_09 # NetBSD 0.9,
81: #options COMPAT_10 # NetBSD 1.0,
82: #options COMPAT_11 # NetBSD 1.1,
83: #options COMPAT_12 # NetBSD 1.2,
84: #options COMPAT_13 # NetBSD 1.3,
85: #options COMPAT_14 # NetBSD 1.4,
86: #options COMPAT_15 # NetBSD 1.5,
87: #options COMPAT_16 # NetBSD 1.6,
88: #options COMPAT_20 # NetBSD 2.0,
89: #options COMPAT_30 # NetBSD 3.0,
90: #options COMPAT_40 # NetBSD 4.0,
91: #options COMPAT_50 # NetBSD 5.0,
92: options COMPAT_60 # NetBSD 6.0, and
93: options COMPAT_70 # NetBSD 7.0 binary compatibility.
94: #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
95:
96: options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
97: #options COMPAT_NDIS # NDIS network driver
98: options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
99:
100: # Wedge support
101: options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
102: options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
103:
104: # File systems
105: file-system FFS # UFS
106: file-system MFS # memory file system
107: file-system NFS # Network File System client
108: file-system TMPFS # Efficient memory file-system
109: file-system EXT2FS # second extended file system (linux)
110: file-system LFS # log-structured file system
111: file-system NTFS # Windows/NT file system (experimental)
112: file-system CD9660 # ISO 9660 + Rock Ridge file system
113: file-system MSDOSFS # MS-DOS file system
114: file-system FDESC # /dev/fd
115: file-system KERNFS # /kern
116: file-system NULLFS # loopback file system
117: file-system OVERLAY # overlay file system
118: file-system PROCFS # /proc
119: file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
120: file-system SMBFS # experimental - CIFS; also needs nsmb (below)
121: file-system UMAPFS # NULLFS + uid and gid remapping
122: file-system UNION # union file system
123: file-system CODA # Coda File System; also needs vcoda (below)
124: file-system PTYFS # /dev/ptm support
125: #file-system UDF # experimental - OSTA UDF CD/DVD file-system
126: #file-system HFS # experimental - Apple HFS+ (read-only)
127: #file-system NILFS # experimental - NTT's NiLFS(2)
128:
129: # File system options
130: options QUOTA # legacy UFS quotas
131: options QUOTA2 # new, in-filesystem UFS quotas
132: options FFS_EI # FFS Endian Independent support
133: options WAPBL # File system journaling support
134: # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
135: # It is not recommended for general use.
136: #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
137: options NFSSERVER # Network File System server
138: #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
139: # immutable) behave as system flags.
140: #options FFS_NO_SNAPSHOT # No FFS snapshot support
141:
142: # Networking options
143: #options GATEWAY # packet forwarding
144: options INET # IP + ICMP + TCP + UDP
145: options INET6 # IPv6
146: options IPSEC # IP security
147: #options IPSEC_DEBUG # debug for IP security
1.6 christos 148: #options MPLS # MultiProtocol Label Switching (needs mpls)
1.1 ryo 149: #options MROUTING # IP multicast routing
150: #options PIM # Protocol Independent Multicast
151: options NETATALK # AppleTalk networking protocols
152: options PPP_BSDCOMP # BSD-Compress compression support for PPP
153: options PPP_DEFLATE # Deflate compression support for PPP
154: options PPP_FILTER # Active filter support for PPP (requires bpf)
155: options IPFILTER_LOG # ipmon(8) log support
156: options IPFILTER_LOOKUP # ippool(8) support
157: options IPFILTER_COMPAT # Compat for IP-Filter
158: #options IPFILTER_DEFAULT_BLOCK # block all packets by default
159: #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
160:
161: #options ALTQ # Manipulate network interfaces' output queues
162: #options ALTQ_BLUE # Stochastic Fair Blue
163: #options ALTQ_CBQ # Class-Based Queueing
164: #options ALTQ_CDNR # Diffserv Traffic Conditioner
165: #options ALTQ_FIFOQ # First-In First-Out Queue
166: #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
167: #options ALTQ_HFSC # Hierarchical Fair Service Curve
168: #options ALTQ_LOCALQ # Local queueing discipline
169: #options ALTQ_PRIQ # Priority Queueing
170: #options ALTQ_RED # Random Early Detection
171: #options ALTQ_RIO # RED with IN/OUT
172: #options ALTQ_WFQ # Weighted Fair Queueing
173:
174: # Device options
175:
176: # Console options. also need IMXUARTCONSOLE
177: options CONSDEVNAME="\"imxuart\"",CONADDR=0x02020000,CONSPEED=115200
178: options CONS_OVERRIDE
179:
180: # These options enable verbose messages for several subsystems.
181: # Warning, these may compile large string tables into the kernel!
182: options MIIVERBOSE # verbose PHY autoconfig messages
183: #options PCIVERBOSE # verbose PCI device autoconfig messages
184: #options PCI_CONFIG_DUMP # verbosely dump PCI config space
185: #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
186: #options SCSIVERBOSE # Verbose SCSI errors
187: options USBVERBOSE # verbose USB device autoconfig messages
188:
189: # Kernel root file system and dump configuration.
190: config netbsd root on ? type ?
191:
192: options NFS_BOOT_BOOTP
193: options NFS_BOOT_DHCP
194: #options NFS_BOOT_BOOTPARAM
195: #options NFS_BOOT_BOOTSTATIC
196: #options NFS_BOOTSTATIC_MYIP="\"192.168.0.2\""
197: #options NFS_BOOTSTATIC_GWIP="\"192.168.0.1\""
198: #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
199: #options NFS_BOOTSTATIC_SERVADDR="\"192.168.0.3\""
200: #options NFS_BOOTSTATIC_SERVER="\"192.168.0.3:/nfs/cubox\""
201:
202:
203: #
204: # Device configuration
205: #
206:
207: mainbus0 at root
208:
209: cpu* at mainbus?
210:
211: # The MPCore interrupt controller and global timer
212: armperiph0 at mainbus? # A9 On-Chip Peripherals
213: armgic0 at armperiph? # ARM Generic Interrupt Controller
214: arml2cc0 at armperiph? flags 0 # ARM PL310 L2CC
215: a9tmr0 at armperiph? # A9 Global Timer
216: #a9wdt0 at armperiph? flags 0 # A9 Watchdog Timer
217:
218: axi0 at mainbus?
219:
220: # Enhanced Periodic Interrupt Timer
221: #imxclock0 at axi? addr 0x020d0000 irq 88
222: #imxclock1 at axi? addr 0x020d4000 irq 89
223:
224: # GPIO
225: imxgpio0 at axi? addr 0x0209c000 irqbase 256 irq 98
226: imxgpio1 at axi? addr 0x020a0000 irqbase 288 irq 100
227: imxgpio2 at axi? addr 0x020a4000 irqbase 320 irq 102
228: imxgpio3 at axi? addr 0x020a8000 irqbase 352 irq 104
229: imxgpio4 at axi? addr 0x020ac000 irqbase 384 irq 106
230: imxgpio5 at axi? addr 0x020b0000 irqbase 416 irq 108
231: imxgpio6 at axi? addr 0x020b4000 irqbase 448 irq 110
232: gpio* at imxgpio?
233: options IMX_GPIO_INTR_SPLIT
234:
235: # Clock Control
236: imxccm0 at axi? addr 0x020c4000
237:
238: # On-Chip OTP Controller
239: imxocotp0 at axi? addr 0x021bc000
240:
241: # Secure Non-Volatile Storage
242: imxsnvs0 at axi? addr 0x020cc000
243:
244: # IOMUX
245: imxiomux0 at axi? addr 0x020e0000
246:
247: # WatchDog
248: imxwdog0 at axi? addr 0x020bc000 irq 112 flags 0
249: #imxwdog1 at axi? addr 0x020c0000 irq 113 flags 0
250:
251: # Serial
252: imxuart0 at axi? addr 0x02020000 irq 58 # UART1
253: #imxuart1 at axi? addr 0x021e8000 irq 59 # UART2
254: #imxuart2 at axi? addr 0x021ec000 irq 60 # UART3
255: #imxuart3 at axi? addr 0x021f0000 irq 61 # UART4
256: #imxuart4 at axi? addr 0x021f4000 irq 62 # UART5
257: options IMXUARTCONSOLE
258:
259: # SATA
260: ahcisata* at axi? addr 0x02200000 irq 71
261: atabus* at ahcisata? channel ?
262: wd* at atabus? drive ? flags 0x0000
263:
264: # ATAPI bus support
265: atapibus* at atapi?
266:
267: # ATAPI devices
268: # flags have the same meaning as for IDE drives.
269: cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
270: sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
271: st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
272: uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
273:
274:
275: # Network Interfaces
276: enet0 at axi? addr 0x02188000 irq 150 # iMX6 SoC Ethernet
277:
278: # MII/PHY support
279: acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
280: amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
281: atphy* at mii? phy ? # Attansic/Atheros PHYs
282: bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
283: brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
284: ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
285: dmphy* at mii? phy ? # Davicom DM9101 PHYs
286: etphy* at mii? phy ? # Agere/LSI ET1011 TruePHY Gig-E PHYs
287: exphy* at mii? phy ? # 3Com internal PHYs
288: gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
289: glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
290: gphyter* at mii? phy ? # NS83861 Gig-E PHY
291: icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
292: igphy* at mii? phy ? # Intel IGP01E1000
293: ihphy* at mii? phy ? # Intel 82577 PHYs
294: ikphy* at mii? phy ? # Intel 82563 PHYs
295: inphy* at mii? phy ? # Intel 82555 PHYs
296: iophy* at mii? phy ? # Intel 82553 PHYs
297: lxtphy* at mii? phy ? # Level One LXT-970 PHYs
298: makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
299: micphy* at mii? phy ? # Micrel KSZ9021RNI PHYs
300: nsphy* at mii? phy ? # NS83840 PHYs
301: nsphyter* at mii? phy ? # NS83843 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/8110 internal PHYs
305: rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
306: sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
307: tlphy* at mii? phy ? # ThunderLAN PHYs
308: tqphy* at mii? phy ? # TDK Semiconductor PHYs
309: ukphy* at mii? phy ? # generic unknown PHYs
310: urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
311:
312: # USB Controller and Devices
313: imxusbc0 at axi? addr 0x02184000
314: ehci0 at imxusbc0 unit 0 irq 75 # OTG
315: ehci1 at imxusbc0 unit 1 irq 72 # Host1
316: #ehci2 at imxusbc0 unit 2 irq 73 # Host2
317: #ehci3 at imxusbc0 unit 3 irq 74 # Host3
318:
319: usb* at ehci?
320:
321: # USB device drivers
322: include "dev/usb/usbdevices.config"
323:
1.2 uebayasi 324: midi* at midibus?
325:
1.1 ryo 326: # SD/MMC controller
327: #sdhc0 at axi? addr 0x02190000 irq 54 # uSDHC1
1.5 ryo 328: sdhc1 at axi? addr 0x02194000 irq 55 # uSDHC2
1.1 ryo 329: #sdhc2 at axi? addr 0x02198000 irq 56 # uSDHC3
330: #sdhc3 at axi? addr 0x0219c000 irq 57 # uSDHC4
1.5 ryo 331: sdmmc* at sdhc?
1.1 ryo 332: #options SDHC_DEBUG
333: #options SDMMC_DEBUG
334:
1.5 ryo 335: ld* at sdmmc? # MMC/SD card
1.1 ryo 336:
337:
338: # Pseudo-Devices
339:
340: pseudo-device crypto # /dev/crypto device
341: pseudo-device swcrypto # software crypto implementation
342:
343: # disk/mass storage pseudo-devices
344: pseudo-device bio # RAID control device driver
345: pseudo-device ccd # concatenated/striped disk devices
346: pseudo-device cgd # cryptographic disk devices
347: pseudo-device raid # RAIDframe disk driver
348: #options RAID_AUTOCONFIG # auto-configuration of RAID components
349: #Options to enable various other RAIDframe RAID types.
350: #options RF_INCLUDE_EVENODD=1
351: #options RF_INCLUDE_RAID5_RS=1
352: #options RF_INCLUDE_PARITYLOGGING=1
353: #options RF_INCLUDE_CHAINDECLUSTER=1
354: #options RF_INCLUDE_INTERDECLUSTER=1
355: #options RF_INCLUDE_PARITY_DECLUSTERING=1
356: #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
357: pseudo-device fss # file system snapshot device
358: pseudo-device putter # for puffs and pud
359:
360: pseudo-device vnd # disk-like interface to files
361: options VND_COMPRESSION # compressed vnd(4)
362:
363:
364: # network pseudo-devices
365: pseudo-device bpfilter # Berkeley packet filter
366: #pseudo-device carp # Common Address Redundancy Protocol
367: #pseudo-device ipfilter # IP filter (firewall) and NAT
368: pseudo-device loop # network loopback
1.6 christos 369: #pseudo-device mpls # MPLS pseudo-interface
1.1 ryo 370: pseudo-device ppp # Point-to-Point Protocol
371: pseudo-device pppoe # PPP over Ethernet (RFC 2516)
372: pseudo-device sl # Serial Line IP
373: pseudo-device strip # Starmode Radio IP (Metricom)
374: pseudo-device irframetty # IrDA frame line discipline
375: pseudo-device tun # network tunneling over tty
376: pseudo-device tap # virtual Ethernet
377: pseudo-device gre # generic L3 over IP tunnel
378: pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
379: #pseudo-device faith # IPv[46] tcp relay translation i/f
380: pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
381: pseudo-device vlan # IEEE 802.1q encapsulation
382: pseudo-device bridge # simple inter-network bridging
383: #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
384: pseudo-device agr # IEEE 802.3ad link aggregation
385: #pseudo-device pf # PF packet filter
386: #pseudo-device pflog # PF log if
387: #pseudo-device pfsync # PF sync if
388: #pseudo-device npf # NPF packet filter
389:
390: #
391: # accept filters
392: pseudo-device accf_data # "dataready" accept filter
393: pseudo-device accf_http # "httpready" accept filter
394:
395: # miscellaneous pseudo-devices
396: pseudo-device pty # pseudo-terminals
397: pseudo-device sequencer # MIDI sequencer
398: # rnd works; RND_COM does not on port i386 yet.
399: #options RND_COM # use "com" randomness as well (BROKEN)
400: pseudo-device clockctl # user control of clock subsystem
401: pseudo-device ksyms # /dev/ksyms
402: pseudo-device lockstat # lock profiling
403: pseudo-device bcsp # BlueCore Serial Protocol
404: pseudo-device btuart # Bluetooth HCI UART (H4)
405:
406: # a pseudo device needed for Coda # also needs CODA (above)
407: pseudo-device vcoda # coda minicache <-> venus comm.
408:
409: # a pseudo device needed for SMBFS
410: pseudo-device nsmb # experimental - SMB requester
411:
412: # wscons pseudo-devices
413: pseudo-device wsmux # mouse & keyboard multiplexor
414: pseudo-device wsfont
415:
416: # pseudo audio device driver
417: #pseudo-device pad
418:
419: # userland interface to drivers, including autoconf and properties retrieval
420: pseudo-device drvctl
421:
422: options FILEASSOC # fileassoc(9) - required for Veriexec
1.7 ! christos 423: # and PAX_SEGVGUARD
1.1 ryo 424:
425: # Veriexec
426: #
427: # a pseudo device needed for veriexec
428: pseudo-device veriexec
429: #
430: # Uncomment the fingerprint methods below that are desired. Note that
431: # removing fingerprint methods will have almost no impact on the kernel
432: # code size.
433: #
434: options VERIFIED_EXEC_FP_RMD160
435: options VERIFIED_EXEC_FP_SHA256
436: options VERIFIED_EXEC_FP_SHA384
437: options VERIFIED_EXEC_FP_SHA512
438: options VERIFIED_EXEC_FP_SHA1
439: options VERIFIED_EXEC_FP_MD5
440:
441: options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
442: options PAX_ASLR=0 # PaX Address Space Layout Randomization
CVSweb <webmaster@jp.NetBSD.org>