RB800 revision 1.40
1# $NetBSD: RB800,v 1.40 2022/08/07 03:08:40 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.40 $" 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 FFS_EI # FFS Endian Independent support 86#options FFS_NO_SNAPSHOT # No FFS snapshot support 87options QUOTA # legacy UFS quotas 88options QUOTA2 # new, in-filesystem UFS quotas 89options UFS_DIRHASH # UFS Large Directory Hashing 90#options UFS_EXTATTR # Extended attribute support for UFS1 91options WAPBL # File system journaling support 92#options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 93options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 94 # immutable) behave as system flags. 95#options DISKLABEL_EI # disklabel Endian Independent support 96options NFSSERVER # Network File System server 97 98options NFS_BOOT_BOOTP # Support BOOTP NFS root 99#options NFS_BOOT_DHCP # Support DHCP NFS root 100 101# Networking options 102#options GATEWAY # packet forwarding 103options INET # IP + ICMP + TCP + UDP 104options INET_CSUM_COUNTERS 105options TCP_CSUM_COUNTERS 106options UDP_CSUM_COUNTERS 107#options INET6 # IPV6 108#options IPSEC # IP security 109#options IPSEC_DEBUG # debug for IP security 110#options MROUTING # IP multicast routing 111#options PIM # Protocol Independent Multicast 112#options NETATALK # AppleTalk networking protocols 113#options PPP_BSDCOMP # BSD-Compress compression support for PPP 114#options PPP_DEFLATE # Deflate compression support for PPP 115#options PPP_FILTER # Active filter support for PPP (requires bpf) 116#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 117 118# These options enable verbose messages for several subsystems. 119# Warning, these may compile large string tables into the kernel! 120options PCIVERBOSE # verbose PCI device autoconfig messages 121options MIIVERBOSE # verbose PHY autoconfig messages 122#options PCI_CONFIG_DUMP # verbosely dump PCI config space 123options SCSIVERBOSE # human readable SCSI error messages 124options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 125options PCI_CONFIGURE_VERBOSE # Show PCI config information 126 127# wscons options 128#options WSEMUL_SUN # sun terminal emulation 129#options WSEMUL_VT100 # VT100 / VT220 emulation 130#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 131 132# Kernel root file system and dump configuration. 133config netbsd root on ? type ? 134config nfsnetbsd root on tsec1 type nfs 135 136# 137# Device configuration 138# 139 140mainbus0 at root # Processor Local Bus 141 142cpunode* at mainbus? node ? 143 144cpu0 at cpunode? 145 146obio0 at cpunode? # On-chip Peripheral Bus 147#ds1553rtc0 at obio0 addr 0xf8000000 size 8192 148#wdc0 at obio0 cs 2 149#atabus* at wdc? 150#wd* at atabus? 151gpio* at gpiobus? 152 153# NOR Flash 154#options NOR_VERBOSE 155cfi0 at obio0 cs 0 156nor* at cfi? 157flash* at nor? offset 0 size 0x1000000 158 159e500wdog* at cpunode? # Watchdog timer 160 161duart* at cpunode? 162com* at duart? port ? 163options CONSPEED=115200 164options CONSADDR="DUART1_BASE" 165 166tsec0 at cpunode? phy 2 # 3-Speed Ethernet Controller (phy 2) 167mdio0 at tsec0 168tsec1 at cpunode? mdio 0 phy 1 # 3-Speed Ethernet Controller (phy 1) 169atphy* at mii? # Attansic PHY 170ukphy* at mii? 171#options TSEC_EVENT_COUNTERS 172 173diic* at cpunode? # i2c bus 174iic* at diic? 175#lm* at iic? addr 0x48 176#lm* at iic? addr 0x49 177#lm* at iic? addr 0x4a 178#lm* at iic? addr 0x4b 179#lm* at iic? addr 0x4c 180#lm* at iic? addr 0x4d 181#lm* at iic? addr 0x4e 182#lm* at iic? addr 0x4f 183 184options PCI_MEMBASE=0xa0000000,PCI_MEMSIZE=0x04000000 185options PCI_IOBASE=0xb0000000,PCI_IOSIZE=0x00100000 186pq3pcie* at cpunode? # PCI-Express controller 187pq3pci* at cpunode? # PCI(X) 188pci* at pq3pcie? 189pci* at pq3pci? 190 191ppb* at pci? dev ? function ? # PCI-PCI bridges 192pci* at ppb? 193 194alc* at pci? dev ? function ? 195 196# NVM Express controllers and devices 197nvme* at pci? dev ? function ? 198ld* at nvme? nsid ? 199 200ahcisata* at pci? dev ? function ? # AHCI SATA controllers 201atabus* at ahcisata? channel ? 202 203#ehci* at pci? dev ? function ? 204#ohci* at pci? dev ? function ? 205#uhci* at pci? dev ? function ? 206#usb* at ehci? 207#usb* at ohci? 208#usb* at uhci? 209#uhub* at usb? 210#umass* at uhub? port ? 211#scsibus* at umass? channel ? 212 213arcmsr* at pci? dev ? function ? 214scsibus* at arcmsr? 215sd* at scsibus? target ? lun ? 216 217viaide* at pci? dev ? function ? 218atabus* at viaide? channel ? 219wd* at atabus? drive ? 220#rtk* at pci? dev ? function ? 221wm* at pci? dev ? function ? # Intel Ethernet 222 223makphy* at mii? phy ? # Marvell PHYs 224ukphy* at mii? phy ? # generic unknown PHYs 225 226pseudo-device md # memory disk device 227pseudo-device loop # network loopback 228pseudo-device bpfilter # packet filter 229pseudo-device carp # Common Address Redundancy Protocol 230pseudo-device clockctl # user control of clock subsystem 231pseudo-device drvctl # user control of drive subsystem 232pseudo-device ksyms # /dev/ksyms 233pseudo-device pty # pseudo-terminals 234pseudo-device kttcp # kernel ttcp 235 236include "dev/veriexec.config" 237