1# $NetBSD: RB800,v 1.38 2020/11/10 11:19:57 rin Exp $ 2# 3# RB800 -- everything that's currently supported 4# 5 6include "arch/evbppc/conf/std.mpc85xx" 7 8options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10ident "RB800-$Revision: 1.38 $" 11 12maxusers 32 13 14#options UVMHIST 15#options UVMHIST_PRINT 16 17options MPC8544 18options PPC_HAVE_SPE 19no options GUR_BASE 20options GUR_BASE=0xe0000000 21options ROUTERBOOT 22 23options PAX_ASLR=0 24 25#options INSECURE # disable kernel security levels 26#options NTP # NTP phase/frequency locked loop 27options KTRACE # system call tracing via ktrace(1) 28 29options SYSVMSG # System V message queues 30options SYSVSEM # System V semaphores 31options SYSVSHM # System V shared memory 32 33options MODULAR # new style module(7) framework 34options MODULAR_DEFAULT_AUTOLOAD 35 36options USERCONF # userconf(4) support 37#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 40# Alternate buffer queue strategies for better responsiveness under high 41# disk I/O load. 42#options BUFQ_READPRIO 43options BUFQ_PRIOCSCAN 44 45# Diagnostic/debugging support options 46#options VERBOSE_INITPPC 47options DIAGNOSTIC # cheap kernel consistency checks 48options DEBUG # expensive debugging checks/support 49#options SYSCALL_DEBUG # syscall debugging 50options DDB # in-kernel debugger 51options DDB_HISTORY_SIZE=512 # enable history editing in DDB 52options TRAP_PANICWAIT 53makeoptions COPY_SYMTAB=1 # size for embedded symbol table 54 55makeoptions DEBUG="-g" # compile full symbol table 56 57# Compatibility options 58include "conf/compat_netbsd13.config" 59#options COMPAT_386BSD_MBRPART # recognize old partition ID 60 61# Wedge support 62options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 63options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 64 65# File systems 66file-system FFS # UFS 67file-system EXT2FS # second extended file system (linux) 68file-system LFS # log-structured file system 69file-system MFS # memory file system 70file-system NFS # Network File System client 71file-system CD9660 # ISO 9660 + Rock Ridge file system 72file-system MSDOSFS # MS-DOS file system 73#file-system FDESC # /dev/fd 74file-system TMPFS # efficient memory file system 75file-system KERNFS # /kern 76file-system NULLFS # loopback file system 77#file-system OVERLAY # overlay file system 78#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 79file-system PROCFS # /proc 80#file-system UMAPFS # NULLFS + uid and gid remapping 81#file-system UNION # union file system 82file-system PTYFS # /dev/pts/N support 83 84# File system options 85options QUOTA # legacy UFS quotas 86options QUOTA2 # new, in-filesystem UFS quotas 87#options DISKLABEL_EI # disklabel Endian Independent support 88options FFS_EI # FFS Endian Independent support 89options WAPBL # File system journaling support 90options NFSSERVER # Network File System server 91#options FFS_NO_SNAPSHOT # No FFS snapshot support 92options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 93 # immutable) behave as system flags. 94 95options NFS_BOOT_BOOTP # Support BOOTP NFS root 96#options NFS_BOOT_DHCP # Support DHCP NFS root 97 98# Networking options 99#options GATEWAY # packet forwarding 100options INET # IP + ICMP + TCP + UDP 101options INET_CSUM_COUNTERS 102options TCP_CSUM_COUNTERS 103options UDP_CSUM_COUNTERS 104#options INET6 # IPV6 105#options IPSEC # IP security 106#options IPSEC_DEBUG # debug for IP security 107#options MROUTING # IP multicast routing 108#options PIM # Protocol Independent Multicast 109#options NETATALK # AppleTalk networking protocols 110#options PPP_BSDCOMP # BSD-Compress compression support for PPP 111#options PPP_DEFLATE # Deflate compression support for PPP 112#options PPP_FILTER # Active filter support for PPP (requires bpf) 113#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 114 115# These options enable verbose messages for several subsystems. 116# Warning, these may compile large string tables into the kernel! 117options PCIVERBOSE # verbose PCI device autoconfig messages 118options MIIVERBOSE # verbose PHY autoconfig messages 119#options PCI_CONFIG_DUMP # verbosely dump PCI config space 120options SCSIVERBOSE # human readable SCSI error messages 121options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 122options PCI_CONFIGURE_VERBOSE # Show PCI config information 123 124# wscons options 125#options WSEMUL_SUN # sun terminal emulation 126#options WSEMUL_VT100 # VT100 / VT220 emulation 127#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 128 129# Kernel root file system and dump configuration. 130config netbsd root on ? type ? 131config nfsnetbsd root on tsec1 type nfs 132 133# 134# Device configuration 135# 136 137mainbus0 at root # Processor Local Bus 138 139cpunode* at mainbus? node ? 140 141cpu0 at cpunode? 142 143obio0 at cpunode? # On-chip Peripheral Bus 144#ds1553rtc0 at obio0 addr 0xf8000000 size 8192 145#wdc0 at obio0 cs 2 146#atabus* at wdc? 147#wd* at atabus? 148gpio* at gpiobus? 149 150# NOR Flash 151#options NOR_VERBOSE 152cfi0 at obio0 cs 0 153nor* at cfi? 154flash* at nor? offset 0 size 0x1000000 155 156e500wdog* at cpunode? # Watchdog timer 157 158duart* at cpunode? 159com* at duart? port ? 160options CONSPEED=115200 161options CONSADDR="DUART1_BASE" 162 163tsec0 at cpunode? phy 2 # 3-Speed Ethernet Controller (phy 2) 164mdio0 at tsec0 165tsec1 at cpunode? mdio 0 phy 1 # 3-Speed Ethernet Controller (phy 1) 166atphy* at mii? # Attansic PHY 167ukphy* at mii? 168#options TSEC_EVENT_COUNTERS 169 170diic* at cpunode? # i2c bus 171iic* at diic? 172#lm* at iic? addr 0x48 173#lm* at iic? addr 0x49 174#lm* at iic? addr 0x4a 175#lm* at iic? addr 0x4b 176#lm* at iic? addr 0x4c 177#lm* at iic? addr 0x4d 178#lm* at iic? addr 0x4e 179#lm* at iic? addr 0x4f 180 181options PCI_MEMBASE=0xa0000000,PCI_MEMSIZE=0x04000000 182options PCI_IOBASE=0xb0000000,PCI_IOSIZE=0x00100000 183pq3pcie* at cpunode? # PCI-Express controller 184pq3pci* at cpunode? # PCI(X) 185pci* at pq3pcie? 186pci* at pq3pci? 187 188ppb* at pci? dev ? function ? # PCI-PCI bridges 189pci* at ppb? 190 191alc* at pci? dev ? function ? 192 193# NVM Express controllers and devices 194nvme* at pci? dev ? function ? 195ld* at nvme? nsid ? 196 197ahcisata* at pci? dev ? function ? # AHCI SATA controllers 198atabus* at ahcisata? channel ? 199 200#ehci* at pci? dev ? function ? 201#ohci* at pci? dev ? function ? 202#uhci* at pci? dev ? function ? 203#usb* at ehci? 204#usb* at ohci? 205#usb* at uhci? 206#uhub* at usb? 207#umass* at uhub? port ? 208#scsibus* at umass? channel ? 209 210arcmsr* at pci? dev ? function ? 211scsibus* at arcmsr? 212sd* at scsibus? target ? lun ? 213 214viaide* at pci? dev ? function ? 215atabus* at viaide? channel ? 216wd* at atabus? drive ? 217#rtk* at pci? dev ? function ? 218wm* at pci? dev ? function ? # Intel Ethernet 219 220makphy* at mii? phy ? # Marvell PHYs 221ukphy* at mii? phy ? # generic unknown PHYs 222 223pseudo-device md # memory disk device 224pseudo-device loop # network loopback 225pseudo-device bpfilter # packet filter 226pseudo-device carp # Common Address Redundancy Protocol 227pseudo-device clockctl # user control of clock subsystem 228pseudo-device drvctl # user control of drive subsystem 229pseudo-device ksyms # /dev/ksyms 230pseudo-device pty # pseudo-terminals 231pseudo-device kttcp # kernel ttcp 232 233include "dev/veriexec.config" 234