CI20 revision 1.1 1 1.1 macallan # $NetBSD: CI20,v 1.1 2014/11/22 15:17:02 macallan Exp $
2 1.1 macallan #
3 1.1 macallan # MIPS Creator CI20
4 1.1 macallan #
5 1.1 macallan
6 1.1 macallan # for now
7 1.1 macallan include "arch/evbmips/conf/std.ingenic"
8 1.1 macallan
9 1.1 macallan #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10 1.1 macallan
11 1.1 macallan #ident "DB120-$Revision: 1.1 $"
12 1.1 macallan
13 1.1 macallan maxusers 32
14 1.1 macallan
15 1.1 macallan #makeoptions COPTS="-Os" # Optimise for space. Implies -O2
16 1.1 macallan
17 1.1 macallan options MIPS32R2
18 1.1 macallan makeoptions CPUFLAGS+="-mips32r2"
19 1.1 macallan makeoptions NEED_MDSETIMAGE="yes"
20 1.1 macallan makeoptions NEED_BINARY="yes"
21 1.1 macallan makeoptions NEED_UBOOTIMAGE="gz"
22 1.1 macallan options COM_16650,COM_TOLERANCE=50 # +/- 5%
23 1.1 macallan options CONSPEED=115200 # u-boot default
24 1.1 macallan options CONSADDR=0x10030000
25 1.1 macallan options MEMSIZE="(256*1024*1024)"
26 1.1 macallan
27 1.1 macallan # Options for necessary to use MD
28 1.1 macallan #options MEMORY_DISK_HOOKS
29 1.1 macallan #options MEMORY_DISK_IS_ROOT # force root on memory disk
30 1.1 macallan #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
31 1.1 macallan #options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks
32 1.1 macallan #options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks
33 1.1 macallan #options MEMORY_DISK_ROOT_SIZE=7300
34 1.1 macallan
35 1.1 macallan # Size reduction options
36 1.1 macallan #options VNODE_OP_NOINLINE
37 1.1 macallan #options PIPE_SOCKETPAIR
38 1.1 macallan options SOSEND_NO_LOAN
39 1.1 macallan
40 1.1 macallan # Standard system options
41 1.1 macallan options KTRACE # system call tracing support
42 1.1 macallan #options SYSVMSG # System V message queues
43 1.1 macallan #options SYSVSEM # System V semaphores
44 1.1 macallan #options SYSVSHM # System V shared memory
45 1.1 macallan options NTP # network time protocol
46 1.1 macallan
47 1.1 macallan # Debugging options
48 1.1 macallan options DIAGNOSTIC # extra kernel sanity checking
49 1.1 macallan options DEBUG # extra kernel debugging support
50 1.1 macallan #options KMEMSTATS # kernel memory statistics (vmstat -m)
51 1.1 macallan #options USERCONF # userconf(4) support
52 1.1 macallan #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
53 1.1 macallan options DDB # kernel dynamic debugger
54 1.1 macallan options DDB_HISTORY_SIZE=100 # enable history editing in DDB
55 1.1 macallan makeoptions DEBUG="-g" # compile full symbol table
56 1.1 macallan makeoptions COPY_SYMTAB=1 # size for embedded symbol table
57 1.1 macallan
58 1.1 macallan # Compatibility options
59 1.1 macallan #options COMPAT_43 # compatibility with 4.3BSD binaries
60 1.1 macallan #options COMPAT_09 # NetBSD 0.9,
61 1.1 macallan #options COMPAT_10 # NetBSD 1.0,
62 1.1 macallan #options COMPAT_11 # NetBSD 1.1,
63 1.1 macallan #options COMPAT_12 # NetBSD 1.2,
64 1.1 macallan #options COMPAT_13 # NetBSD 1.3,
65 1.1 macallan #options COMPAT_14 # NetBSD 1.4,
66 1.1 macallan #options COMPAT_15 # NetBSD 1.5,
67 1.1 macallan #options COMPAT_16 # NetBSD 1.6,
68 1.1 macallan #options COMPAT_20 # NetBSD 2.0,
69 1.1 macallan #options COMPAT_30 # NetBSD 3.0, and
70 1.1 macallan #options COMPAT_40 # NetBSD 4.0 binary compatibility.
71 1.1 macallan #options EXEC_ECOFF # exec ECOFF binaries
72 1.1 macallan #options COMPAT_ULTRIX # binary compatibility with Ultrix
73 1.1 macallan #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
74 1.1 macallan
75 1.1 macallan # File systems
76 1.1 macallan file-system FFS # Berkeley Fast Filesystem
77 1.1 macallan file-system MFS # memory-based filesystem
78 1.1 macallan #file-system EXT2FS # second extended file system (linux)
79 1.1 macallan file-system NFS # Sun NFS-compatible filesystem client
80 1.1 macallan #file-system KERNFS # kernel data-structure filesystem
81 1.1 macallan #file-system NULLFS # NULL layered filesystem
82 1.1 macallan #file-system OVERLAY # overlay file system
83 1.1 macallan #file-system FDESC # user file descriptor filesystem
84 1.1 macallan #file-system UMAPFS # uid/gid remapping filesystem
85 1.1 macallan #file-system LFS # Log-based filesystem (still experimental)
86 1.1 macallan #file-system PROCFS # /proc
87 1.1 macallan #file-system CD9660 # ISO 9660 + Rock Ridge file system
88 1.1 macallan #file-system UNION # union file system
89 1.1 macallan #file-system MSDOSFS # MS-DOS FAT filesystem(s).
90 1.1 macallan #file-system CODA # Coda File System; also needs vcoda (below)
91 1.1 macallan #file-system PTYFS # /dev/pts/N support
92 1.1 macallan
93 1.1 macallan # File system options
94 1.1 macallan #options NFSSERVER # Sun NFS-compatible filesystem server
95 1.1 macallan #options QUOTA # legacy UFS quotas
96 1.1 macallan #options QUOTA2 # new, in-filesystem UFS quotas
97 1.1 macallan #options FFS_EI # FFS Endian Independent support
98 1.1 macallan options WAPBL # File system journaling support
99 1.1 macallan options FFS_NO_SNAPSHOT # No FFS snapshot support
100 1.1 macallan #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
101 1.1 macallan # immutable) behave as system flags.
102 1.1 macallan
103 1.1 macallan # Networking options
104 1.1 macallan #options GATEWAY # IP packet forwarding
105 1.1 macallan options INET # Internet protocols
106 1.1 macallan #options INET6 # IPV6
107 1.1 macallan #options IPSEC # IP security
108 1.1 macallan #options IPSEC_DEBUG # debug for IP security
109 1.1 macallan #options MROUTING # packet forwarding of multicast packets
110 1.1 macallan #options PIM # Protocol Independent Multicast
111 1.1 macallan #options NETATALK # AppleTalk (over Ethernet) protocol
112 1.1 macallan #options PPP_BSDCOMP # BSD-Compress compression support for PPP
113 1.1 macallan #options PPP_DEFLATE # Deflate compression support for PPP
114 1.1 macallan #options PPP_FILTER # Active filter support for PPP (requires bpf)
115 1.1 macallan #options IPFILTER_LOG # ipmon(8) log support
116 1.1 macallan #options IPFILTER_LOOKUP # ippool(8) support
117 1.1 macallan
118 1.1 macallan # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
119 1.1 macallan #options TCP_COMPAT_42
120 1.1 macallan
121 1.1 macallan # JIT compiler for bpfilter
122 1.1 macallan #options SLJIT
123 1.1 macallan #options BPFJIT
124 1.1 macallan
125 1.1 macallan # These options enable verbose messages for several subsystems.
126 1.1 macallan # Warning, these may compile large string tables into the kernel!
127 1.1 macallan options MIIVERBOSE # verbose PHY autoconfig messages
128 1.1 macallan
129 1.1 macallan # Bitmask for enabling the PCI IDE channels in the southbridge.
130 1.1 macallan # Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
131 1.1 macallan #
132 1.1 macallan # Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
133 1.1 macallan # channels for you (thus causing the NetBSD `pciide' driver to ignore them).
134 1.1 macallan #options PCI_NETBSD_ENABLE_IDE=0x1
135 1.1 macallan
136 1.1 macallan options NFS_BOOT_BOOTP
137 1.1 macallan #options NFS_BOOT_DHCP
138 1.1 macallan #options NFS_V2_ONLY
139 1.1 macallan
140 1.1 macallan config netbsd root on ? type ?
141 1.1 macallan
142 1.1 macallan mainbus0 at root
143 1.1 macallan cpu0 at mainbus?
144 1.1 macallan #wdog0 at mainbus?
145 1.1 macallan #options COM_REGMAP
146 1.1 macallan com* at mainbus?
147 1.1 macallan #ehci* at arbus? addr ?
148 1.1 macallan #usb* at ehci?
149 1.1 macallan #uhub* at usb?
150 1.1 macallan #uhub* at uhub? port ?
151 1.1 macallan #umass* at uhub? port ? configuration ? interface ?
152 1.1 macallan #scsibus* at umass? channel ?
153 1.1 macallan #sd* at scsibus? target ? lun ?
154 1.1 macallan #ae* at arbus? addr ?
155 1.1 macallan #ath* at arbus? addr ?
156 1.1 macallan #athflash* at arbus? addr ?
157 1.1 macallan #argpio* at arbus? addr ?
158 1.1 macallan #gpio* at argpio?
159 1.1 macallan
160 1.1 macallan # no RTC! so fake with a stub (required to prevent evbmips panic)
161 1.1 macallan
162 1.1 macallan
163 1.1 macallan # MII/PHY support
164 1.1 macallan #acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
165 1.1 macallan #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
166 1.1 macallan #dmphy* at mii? phy ? # Davicom DM9101 PHYs
167 1.1 macallan #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
168 1.1 macallan #gphyter* at mii? phy ? # NS83861 Gig-E PHY
169 1.1 macallan #icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
170 1.1 macallan #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
171 1.1 macallan #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
172 1.1 macallan #nsphy* at mii? phy ? # NS83840 PHYs
173 1.1 macallan #nsphyter* at mii? phy ? # NS83843 PHYs
174 1.1 macallan #pnaphy* at mii? phy ? # generic HomePNA PHYs
175 1.1 macallan #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
176 1.1 macallan #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
177 1.1 macallan #tlphy* at mii? phy ? # ThunderLAN PHYs
178 1.1 macallan #tqphy* at mii? phy ? # TDK Semiconductor PHYs
179 1.1 macallan #rlphy* at mii? phy ? # RealTek PHYs
180 1.1 macallan #ukphy* at mii? phy ? # generic unknown PHYs
181 1.1 macallan
182 1.1 macallan
183 1.1 macallan # Pseudo-devices
184 1.1 macallan
185 1.1 macallan # Disk/mass storage pseudo-devices
186 1.1 macallan #pseudo-device ccd # concatenated disk devices
187 1.1 macallan #pseudo-device raid # RAIDframe disk driver
188 1.1 macallan #pseudo-device fss # file system snapshot device
189 1.1 macallan #pseudo-device md # memory disk device (ramdisk)
190 1.1 macallan #pseudo-device vnd # disk-like interface to files
191 1.1 macallan
192 1.1 macallan # Network pseudo-devices
193 1.1 macallan pseudo-device bpfilter # Berkeley packet filter
194 1.1 macallan #pseudo-device ipfilter # IP filter (firewall) and NAT
195 1.1 macallan pseudo-device loop # network loopback
196 1.1 macallan #pseudo-device ppp # Point-to-Point Protocol
197 1.1 macallan #pseudo-device sl # Serial Line IP
198 1.1 macallan #pseudo-device strip # Starmode Radio IP (Metricom)
199 1.1 macallan #pseudo-device tun # network tunneling over tty
200 1.1 macallan #pseudo-device tap # virtual Ethernet
201 1.1 macallan #pseudo-device gre # generic L3 over IP tunnel
202 1.1 macallan #pseudo-device ipip # RFC 2003 IP Encapsulation
203 1.1 macallan #pseudo-device gif # RFC1933 tunnel
204 1.1 macallan #pseudo-device faith # IPv[46] tcp relay translation
205 1.1 macallan #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
206 1.1 macallan #pseudo-device vlan # IEEE 802.1q encapsulation
207 1.1 macallan #pseudo-device bridge # simple inter-network bridging
208 1.1 macallan
209 1.1 macallan # Miscellaneous pseudo-devices
210 1.1 macallan pseudo-device pty # pseudo-terminals
211 1.1 macallan pseudo-device clockctl # user control of clock subsystem
212 1.1 macallan pseudo-device ksyms # /dev/ksyms
213 1.1 macallan
214 1.1 macallan # A pseudo device needed for Coda # also needs CODA (above)
215 1.1 macallan #pseudo-device vcoda # coda minicache <-> venus comm.
216