WII revision 1.2 1 # $NetBSD: WII,v 1.2 2024/01/22 21:28:15 jmcneill Exp $
2 #
3 # Nintendo Wii
4 #
5
6 include "arch/evbppc/conf/std.wii"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 ident "WII"
11
12 options MSGBUFSIZE=0x10000
13
14 maxusers 32
15
16 options INSECURE # disable kernel security levels
17 options NTP # NTP phase/frequency locked loop
18 options KTRACE # system call tracing via ktrace(1)
19
20 options SYSVMSG # System V message queues
21 options SYSVSEM # System V semaphores
22 options SYSVSHM # System V shared memory
23
24 options USERCONF # userconf(4) support
25 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
26 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
27
28 # Alternate buffer queue strategies for better responsiveness under high
29 # disk I/O load.
30 #options BUFQ_READPRIO
31 options BUFQ_PRIOCSCAN
32
33 # Diagnostic/debugging support options
34 options DIAGNOSTIC # cheap kernel consistency checks
35 #options DEBUG # expensive debugging checks/support
36 options DDB # in-kernel debugger
37 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
38 #options TRAP_PANICWAIT
39 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
40
41 #options KGDB # remote debugger
42 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0xff600400,KGDB_DEVRATE=9600
43 makeoptions DEBUG="-g" # compile full symbol table
44
45 # Compatibility options
46 include "conf/compat_netbsd50.config"
47 #options COMPAT_386BSD_MBRPART # recognize old partition ID
48
49 # File systems
50 file-system FFS # UFS
51 file-system EXT2FS # second extended file system (linux)
52 file-system LFS # log-structured file system
53 file-system MFS # memory file system
54 file-system NFS # Network File System client
55 file-system CD9660 # ISO 9660 + Rock Ridge file system
56 file-system MSDOSFS # MS-DOS file system
57 file-system FDESC # /dev/fd
58 file-system KERNFS # /kern
59 file-system NULLFS # loopback file system
60 file-system OVERLAY # overlay file system
61 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
62 file-system PROCFS # /proc
63 file-system TMPFS # efficient memory file system
64 file-system UMAPFS # NULLFS + uid and gid remapping
65 file-system UNION # union file system
66 file-system PTYFS # /dev/pts/N support
67
68 # File system options
69 options FFS_EI # FFS Endian Independent support
70 #options FFS_NO_SNAPSHOT # No FFS snapshot support
71 #options QUOTA # legacy UFS quotas
72 #options QUOTA2 # new, in-filesystem UFS quotas
73 #options UFS_DIRHASH # UFS Large Directory Hashing
74 #options UFS_EXTATTR # Extended attribute support for UFS1
75 options WAPBL # File system journaling support
76 #options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental
77 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
78 # immutable) behave as system flags.
79 options DISKLABEL_EI # disklabel Endian Independent support
80 #options NFSSERVER # Network File System server
81
82 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
83 options NFS_BOOT_RWSIZE=1024
84
85 # Networking options
86 options GATEWAY # packet forwarding
87 options INET # IP + ICMP + TCP + UDP
88 options INET6 # IPV6
89 options IPSEC # IP security
90 #options IPSEC_DEBUG # debug for IP security
91 options MROUTING # IP multicast routing
92 options PIM # Protocol Independent Multicast
93 #options NETATALK # AppleTalk networking protocols
94 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
95 #options PPP_DEFLATE # Deflate compression support for PPP
96 #options PPP_FILTER # Active filter support for PPP (requires bpf)
97 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
98
99 # These options enable verbose messages for several subsystems.
100 # Warning, these may compile large string tables into the kernel!
101 options MIIVERBOSE # verbose PHY autoconfig messages
102 #options SCSIVERBOSE # human readable SCSI error messages
103 options USBVERBOSE # verbose USB device autoconfig messages
104
105 # Kernel root file system and dump configuration.
106 config netbsd root on ? type ?
107
108 #
109 # Device configuration
110 #
111
112 mainbus0 at root
113
114 cpu0 at mainbus0
115 genfb0 at mainbus0 addr 0x0c002000
116 wsdisplay* at wsemuldisplaydev?
117 options WSEMUL_VT100
118 options WSDISPLAY_CUSTOM_OUTPUT
119 options WS_DEFAULT_FG=WSCOL_WHITE
120 options WS_DEFAULT_BG=WSCOL_BLACK
121 options WS_KERNEL_FG=WSCOL_GREEN
122 options WS_KERNEL_BG=WSCOL_BLACK
123 options WSDISPLAY_COMPAT_PCVT
124 options WSDISPLAY_COMPAT_SYSCONS
125 options WSDISPLAY_COMPAT_USL
126 #options WSDISPLAY_COMPAT_RAWKBD
127 options WSDISPLAY_DEFAULTSCREENS=4
128 options WSDISPLAY_SCROLLSUPPORT
129
130 hollywood0 at mainbus0 irq 14
131 bwai0 at mainbus0 addr 0x0d006c00 irq 5 # Audio interface
132 bwdsp0 at mainbus0 addr 0x0c005000 irq 6 # DSP
133
134 #iosipc0 at hollywood0 addr 0x0d000000 irq 30 # IOS IPC
135 resetbtn0 at hollywood0 irq 17 # Reset button
136
137 ehci0 at hollywood0 addr 0x0d040000 irq 4 # EHCI
138 #ohci0 at hollywood0 addr 0x0d050000 irq 5 # OHCI0
139 #ohci1 at hollywood0 addr 0x0d060000 irq 6 # OHCI1
140 usb* at usbus?
141
142 sdhc0 at hollywood0 addr 0x0d070000 irq 7 # SD card
143 sdhc1 at hollywood0 addr 0x0d080000 irq 8 # SDIO/BT
144 sdmmc* at sdmmcbus?
145 ld* at sdmmc?
146
147 include "dev/usb/usbdevices.config"
148 include "dev/bluetooth/bluetoothdevices.config"
149
150 # MII/PHY support
151 urlphy* at mii? phy ?
152 ukphy* at mii? phy ?
153
154 # Radio support
155 radio* at radiodev?
156
157 # Audio support
158 audio* at audiobus?
159 spkr* at audio? # PC speaker (synthesized)
160 midi* at midibus?
161 pseudo-device sequencer # MIDI sequencer
162
163 # SCSI bus support
164 scsibus* at scsi? channel ?
165
166 # SCSI devices
167 sd* at scsibus? target ? lun ? # SCSI disk drives
168 st* at scsibus? target ? lun ? # SCSI tape drives
169 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
170 ch* at scsibus? target ? lun ? # SCSI autochangers
171 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
172 ss* at scsibus? target ? lun ? # SCSI scanners
173 uk* at scsibus? target ? lun ? # SCSI unknown
174
175 pseudo-device vnd # disk-like interface to files
176 #pseudo-device fss # file system snapshot device
177 #pseudo-device cgd # cryptographic disk devices
178 #pseudo-device md # memory disk device
179 pseudo-device loop # network loopback
180 pseudo-device bpfilter # packet filter
181 pseudo-device carp # Common Address Redundancy Protocol
182 pseudo-device npf # NPF packet filter
183 pseudo-device ppp # Point-to-Point Protocol
184 pseudo-device sl # Serial Line IP
185 pseudo-device tun # network tunneling over tty
186 pseudo-device gre # generic L3 over IP tunnel
187 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
188 #pseudo-device faith # IPv[46] tcp relay translation i/f
189 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
190 pseudo-device vlan # IEEE 802.1q encapsulation
191 pseudo-device pty # pseudo-terminals
192 pseudo-device clockctl # user control of clock subsystem
193 pseudo-device drvctl # user control of drive subsystem
194 pseudo-device putter # for puffs and pud
195 pseudo-device ksyms
196
197 # wscons pseudo-devices
198 pseudo-device wsmux # mouse & keyboard multiplexor
199 pseudo-device wsfont
200 options FONT_BOLD8x16
201
202 include "dev/veriexec.config"
203