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