VIPER revision 1.40 1 # $NetBSD: VIPER,v 1.40 2017/07/29 12:28:27 maxv Exp $
2 #
3 # Arcom Viper
4 #
5
6 include "arch/evbarm/conf/std.viper"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 #options MSGBUFSIZE=65536
10 #options KSTACK_CHECK_MAGIC
11
12 # estimated number of users
13 maxusers 32
14
15 # Standard system options
16
17 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
18 options NTP # NTP phase/frequency locked loop
19
20 # CPU options
21
22 options CPU_XSCALE_PXA250 # XScale PXA255
23 makeoptions CPUFLAGS="-mcpu=xscale"
24 #options CPU_XSCALE_CCLKCFG=xyz
25
26 # File systems
27
28 file-system FFS # UFS
29 #file-system LFS # log-structured file system
30 file-system MFS # memory file system
31 file-system NFS # Network file system
32 #file-system ADOSFS # AmigaDOS-compatible file system
33 file-system EXT2FS # second extended file system (linux)
34 #file-system CD9660 # ISO 9660 + Rock Ridge file system
35 file-system MSDOSFS # MS-DOS file system
36 #file-system FDESC # /dev/fd
37 #file-system FILECORE # Acorn filecore file system
38 file-system KERNFS # /kern
39 file-system NULLFS # loopback file system
40 file-system PROCFS # /proc
41 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
42 #file-system UMAPFS # NULLFS + uid and gid remapping
43 file-system UNION # union file system
44 file-system PTYFS # /dev/pts/N support
45
46 # File system options
47 #options QUOTA # legacy UFS quotas
48 #options QUOTA2 # new, in-filesystem UFS quotas
49 #options DISKLABEL_EI # disklabel Endian Independent support
50 #options FFS_EI # FFS Endian Independent support
51 options NFSSERVER
52
53 # Networking options
54
55 #options GATEWAY # packet forwarding
56 options INET # IP + ICMP + TCP + UDP
57 options INET6 # IPV6
58 #options IPSEC # IP security
59 #options IPSEC_DEBUG # debug for IP security
60 #options MROUTING # IP multicast routing
61 #options NETATALK # AppleTalk networking
62 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
63 #options PPP_DEFLATE # Deflate compression support for PPP
64 #options PPP_FILTER # Active filter support for PPP (requires bpf)
65 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
66
67 options NFS_BOOT_DHCP
68 options NFS_BOOT_BOOTPARAM
69 options NFS_BOOT_RWSIZE=1024
70
71 # Compatibility options
72
73 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
74 #options COMPAT_LINUX
75 #options COMPAT_43 # 4.3BSD compatibility.
76 #options COMPAT_09 # NetBSD 0.9,
77 #options COMPAT_10 # NetBSD 1.0,
78 #options COMPAT_11 # NetBSD 1.1,
79 #options COMPAT_12 # NetBSD 1.2,
80 #options COMPAT_13 # NetBSD 1.3,
81 #options COMPAT_14 # NetBSD 1.4,
82 #options COMPAT_15 # NetBSD 1.5,
83 #options COMPAT_16 # NetBSD 1.6,
84 #options COMPAT_20 # NetBSD 2.0,
85 options COMPAT_30 # NetBSD 3.0,
86 options COMPAT_40 # NetBSD 4.0,
87 options COMPAT_50 # NetBSD 5.0,
88 options COMPAT_60 # NetBSD 6.0, and
89 options COMPAT_70 # NetBSD 7.0 binary compatibility.
90
91 # Shared memory options
92
93 options SYSVMSG # System V-like message queues
94 options SYSVSEM # System V-like semaphores
95 options SYSVSHM # System V-like memory sharing
96
97 # Device options
98
99 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
100 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
101 #options MEMORY_DISK_IS_ROOT # use memory disk as root
102
103 # Console options. The default console is speed is 115200 bps.
104 #options CONSPEED=9600 # Console speed
105
106 # Miscellaneous kernel options
107 options KTRACE # system call tracing, a la ktrace(1)
108 options IRQSTATS # manage IRQ statistics
109 #options SCSIVERBOSE # Verbose SCSI errors
110 #options PCIVERBOSE # Verbose PCI descriptions
111 #options MIIVERBOSE # Verbose MII autoconfuration messages
112 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
113 #options DDB_KEYCODE=0x40
114 #options USERCONF # userconf(4) support
115 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
116
117 # Development and Debugging options
118
119 #options PERFCTRS # performance counters
120 options DIAGNOSTIC # internal consistency checks
121 #options DEBUG
122 #options PMAP_DEBUG # Enable pmap_debug_level code
123 #options VERBOSE_INIT_ARM # verbose bootstraping messages
124 options DDB # in-kernel debugger
125 options DDB_ONPANIC=1
126 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
127 #makeoptions DEBUG="-g" # compile full symbol table
128 makeoptions COPY_SYMTAB=1
129
130 ##options PMAP_INCLUDE_PTE_SYNC
131 ##options LOCKDEBUG
132
133 config netbsd root on ? type ?
134
135 # The main bus device
136 mainbus0 at root
137
138 # The boot CPU
139 cpu0 at mainbus?
140
141 # peripherals
142 pxaip0 at mainbus0
143
144 # interrupt controller & gpio pins
145 pxaintc0 at pxaip0
146 pxagpio0 at pxaip0
147
148 # serial ports
149 options COM_PXA2X0
150 options FFUARTCONSOLE
151 com0 at pxaip0 addr 0x40100000 intr 22 # FFUART
152 com1 at pxaip0 addr 0x40200000 intr 21 # BTUART
153 com2 at pxaip0 addr 0x40700000 intr 20
154
155 # these two are not hanging off of pxaip, not really tested either
156 #com3 at pxaip0 addr 0x14300000 # COM5
157 #com4 at pxaip0 addr 0x14300010 # COM4
158
159 # SMC91C111 ethernet
160 sm0 at pxaip0 addr 0x08000300 intr 0
161
162 # MII/PHY support
163 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
164
165 # Pseudo-Devices
166
167 # disk/mass storage pseudo-devices
168 #pseudo-device md # memory disk device (ramdisk)
169 pseudo-device vnd # disk-like interface to files
170 #pseudo-device fss # file system snapshot device
171 #pseudo-device putter # for puffs and pud
172
173 # network pseudo-devices
174 pseudo-device bpfilter # Berkeley packet filter
175 pseudo-device loop # network loopback
176 pseudo-device kttcp # network loopback
177
178 # miscellaneous pseudo-devices
179 pseudo-device pty # pseudo-terminals
180 #options RND_COM
181 pseudo-device clockctl # user control of clock subsystem
182 pseudo-device ksyms # /dev/ksyms
183
184 # data mover pseudo-devices
185 #pseudo-device swdmover # software dmover(9) back-end
186 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
187