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