WII revision 1.3 1 # $NetBSD: WII,v 1.3 2024/01/23 21:48:12 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 hwgpio0 at hollywood0 addr 0x0d0000c0 irq 10 # GPIO
135 gpio0 at hwgpio0
136 gpioiic0 at gpio0 offset 0 mask 0xc000 flag 1
137 iic0 at gpioiic0
138 avenc0 at iic0 addr 0x70 # A/V Encoder
139
140 #iosipc0 at hollywood0 addr 0x0d000000 irq 30 # IOS IPC
141 resetbtn0 at hollywood0 irq 17 # Reset button
142
143 ehci0 at hollywood0 addr 0x0d040000 irq 4 # EHCI
144 #ohci0 at hollywood0 addr 0x0d050000 irq 5 # OHCI0
145 #ohci1 at hollywood0 addr 0x0d060000 irq 6 # OHCI1
146 usb* at usbus?
147
148 sdhc0 at hollywood0 addr 0x0d070000 irq 7 # SD card
149 sdhc1 at hollywood0 addr 0x0d080000 irq 8 # SDIO/BT
150 sdmmc* at sdmmcbus?
151 ld* at sdmmc?
152
153 include "dev/usb/usbdevices.config"
154 include "dev/bluetooth/bluetoothdevices.config"
155
156 # MII/PHY support
157 urlphy* at mii? phy ?
158 ukphy* at mii? phy ?
159
160 # Radio support
161 radio* at radiodev?
162
163 # Audio support
164 audio* at audiobus?
165 spkr* at audio? # PC speaker (synthesized)
166 midi* at midibus?
167 pseudo-device sequencer # MIDI sequencer
168
169 # SCSI bus support
170 scsibus* at scsi? channel ?
171
172 # SCSI devices
173 sd* at scsibus? target ? lun ? # SCSI disk drives
174 st* at scsibus? target ? lun ? # SCSI tape drives
175 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
176 ch* at scsibus? target ? lun ? # SCSI autochangers
177 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
178 ss* at scsibus? target ? lun ? # SCSI scanners
179 uk* at scsibus? target ? lun ? # SCSI unknown
180
181 pseudo-device vnd # disk-like interface to files
182 #pseudo-device fss # file system snapshot device
183 #pseudo-device cgd # cryptographic disk devices
184 #pseudo-device md # memory disk device
185 pseudo-device loop # network loopback
186 pseudo-device bpfilter # packet filter
187 pseudo-device carp # Common Address Redundancy Protocol
188 pseudo-device npf # NPF packet filter
189 pseudo-device ppp # Point-to-Point Protocol
190 pseudo-device sl # Serial Line IP
191 pseudo-device tun # network tunneling over tty
192 pseudo-device gre # generic L3 over IP tunnel
193 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
194 #pseudo-device faith # IPv[46] tcp relay translation i/f
195 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
196 pseudo-device vlan # IEEE 802.1q encapsulation
197 pseudo-device pty # pseudo-terminals
198 pseudo-device clockctl # user control of clock subsystem
199 pseudo-device drvctl # user control of drive subsystem
200 pseudo-device putter # for puffs and pud
201 pseudo-device ksyms
202
203 # wscons pseudo-devices
204 pseudo-device wsmux # mouse & keyboard multiplexor
205 pseudo-device wsfont
206 options FONT_BOLD8x16
207
208 include "dev/veriexec.config"
209