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