RB800 revision 1.32
1# $NetBSD: RB800,v 1.32 2017/02/19 07:47:00 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.32 $" 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# Diagnostic/debugging support options 41#options VERBOSE_INITPPC 42options DIAGNOSTIC # cheap kernel consistency checks 43options DEBUG # expensive debugging checks/support 44#options SYSCALL_DEBUG # syscall debugging 45options DDB # in-kernel debugger 46options DDB_HISTORY_SIZE=512 # enable history editing in DDB 47options TRAP_PANICWAIT 48makeoptions COPY_SYMTAB=1 # size for embedded symbol table 49 50makeoptions DEBUG="-g" # compile full symbol table 51 52# Compatibility options 53#options COMPAT_09 # NetBSD 0.9, 54#options COMPAT_10 # NetBSD 1.0, 55#options COMPAT_11 # NetBSD 1.1, 56#options COMPAT_12 # NetBSD 1.2, 57options COMPAT_13 # NetBSD 1.3, 58options COMPAT_14 # NetBSD 1.4, 59options COMPAT_15 # NetBSD 1.5, 60options COMPAT_16 # NetBSD 1.6, 61options COMPAT_20 # NetBSD 2.0, 62options COMPAT_30 # NetBSD 3.0, 63options COMPAT_40 # NetBSD 4.0, 64options COMPAT_50 # NetBSD 5.0, 65options COMPAT_60 # NetBSD 6.0, and 66options COMPAT_70 # NetBSD 7.0 binary compatibility. 67options COMPAT_43 # and 4.3BSD 68#options COMPAT_386BSD_MBRPART # recognize old partition ID 69#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 70options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 71 72# Wedge support 73options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 74options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 75 76# File systems 77file-system FFS # UFS 78file-system EXT2FS # second extended file system (linux) 79file-system LFS # log-structured file system 80file-system MFS # memory file system 81file-system NFS # Network File System client 82file-system CD9660 # ISO 9660 + Rock Ridge file system 83file-system MSDOSFS # MS-DOS file system 84#file-system FDESC # /dev/fd 85file-system TMPFS # efficient memory file system 86file-system KERNFS # /kern 87file-system NULLFS # loopback file system 88#file-system OVERLAY # overlay file system 89#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 90file-system PROCFS # /proc 91#file-system UMAPFS # NULLFS + uid and gid remapping 92#file-system UNION # union file system 93file-system PTYFS # /dev/pts/N support 94 95# File system options 96options QUOTA # legacy UFS quotas 97options QUOTA2 # new, in-filesystem UFS quotas 98#options DISKLABEL_EI # disklabel Endian Independent support 99options FFS_EI # FFS Endian Independent support 100options WAPBL # File system journaling support 101options NFSSERVER # Network File System server 102#options FFS_NO_SNAPSHOT # No FFS snapshot support 103options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 104 # immutable) behave as system flags. 105 106options NFS_BOOT_BOOTP # Support BOOTP NFS root 107#options NFS_BOOT_DHCP # Support DHCP NFS root 108 109# Networking options 110#options GATEWAY # packet forwarding 111options INET # IP + ICMP + TCP + UDP 112options INET_CSUM_COUNTERS 113options TCP_CSUM_COUNTERS 114options UDP_CSUM_COUNTERS 115#options INET6 # IPV6 116#options IPSEC # IP security 117#options IPSEC_DEBUG # debug for IP security 118#options MROUTING # IP multicast routing 119#options PIM # Protocol Independent Multicast 120#options DIRECTED_BROADCAST # allow broadcasts through routers 121#options NETATALK # AppleTalk networking protocols 122#options PPP_BSDCOMP # BSD-Compress compression support for PPP 123#options PPP_DEFLATE # Deflate compression support for PPP 124#options PPP_FILTER # Active filter support for PPP (requires bpf) 125#options IPFILTER_LOG # ipmon(8) log support 126#options IPFILTER_LOOKUP # ippool(8) support 127#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 128 129# These options enable verbose messages for several subsystems. 130# Warning, these may compile large string tables into the kernel! 131options PCIVERBOSE # verbose PCI device autoconfig messages 132options MIIVERBOSE # verbose PHY autoconfig messages 133#options PCI_CONFIG_DUMP # verbosely dump PCI config space 134options SCSIVERBOSE # human readable SCSI error messages 135options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 136options PCI_CONFIGURE_VERBOSE # Show PCI config information 137 138# wscons options 139#options WSEMUL_SUN # sun terminal emulation 140#options WSEMUL_VT100 # VT100 / VT220 emulation 141#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 142 143# Kernel root file system and dump configuration. 144config netbsd root on ? type ? 145config nfsnetbsd root on tsec1 type nfs 146 147# 148# Device configuration 149# 150 151mainbus0 at root # Processor Local Bus 152 153cpunode* at mainbus? node ? 154 155cpu0 at cpunode? 156 157obio0 at cpunode? # On-chip Peripheral Bus 158#ds1553rtc0 at obio0 addr 0xf8000000 size 8192 159#wdc0 at obio0 cs 2 160#atabus* at wdc? 161#wd* at atabus? 162gpio* at gpiobus? 163 164# NOR Flash 165#options NOR_VERBOSE 166cfi0 at obio0 cs 0 167nor* at cfi? 168flash* at nor? offset 0 size 0x1000000 169 170e500wdog* at cpunode? # Watchdog timer 171 172duart* at cpunode? 173com* at duart? port ? 174options CONSPEED=115200 175options CONSADDR="DUART1_BASE" 176 177tsec0 at cpunode? phy 2 # 3-Speed Ethernet Controller (phy 2) 178mdio0 at tsec0 179tsec1 at cpunode? mdio 0 phy 1 # 3-Speed Ethernet Controller (phy 1) 180atphy* at mii? # Attansic PHY 181ukphy* at mii? 182#options TSEC_EVENT_COUNTERS 183 184diic* at cpunode? # i2c bus 185iic* at diic? 186#lm* at iic? addr 0x48 187#lm* at iic? addr 0x49 188#lm* at iic? addr 0x4a 189#lm* at iic? addr 0x4b 190#lm* at iic? addr 0x4c 191#lm* at iic? addr 0x4d 192#lm* at iic? addr 0x4e 193#lm* at iic? addr 0x4f 194 195options PCI_MEMBASE=0xa0000000,PCI_MEMSIZE=0x04000000 196options PCI_IOBASE=0xb0000000,PCI_IOSIZE=0x00100000 197pq3pcie* at cpunode? # PCI-Express controller 198pq3pci* at cpunode? # PCI(X) 199pci* at pq3pcie? 200pci* at pq3pci? 201 202ppb* at pci? dev ? function ? # PCI-PCI bridges 203pci* at ppb? 204 205alc* at pci? dev ? function ? 206 207#ehci* at pci? dev ? function ? 208#ohci* at pci? dev ? function ? 209#uhci* at pci? dev ? function ? 210#usb* at ehci? 211#usb* at ohci? 212#usb* at uhci? 213#uhub* at usb? 214#umass* at uhub? port ? 215#scsibus* at umass? channel ? 216 217arcmsr* at pci? dev ? function ? 218scsibus* at arcmsr? 219sd* at scsibus? target ? lun ? 220 221viaide* at pci? dev ? function ? 222atabus* at viaide? channel ? 223wd* at atabus? drive ? 224#rtk* at pci? dev ? function ? 225wm* at pci? dev ? function ? # Intel Ethernet 226 227makphy* at mii? phy ? # Marvell PHYs 228ukphy* at mii? phy ? # generic unknown PHYs 229 230pseudo-device md # memory disk device 231pseudo-device loop # network loopback 232pseudo-device bpfilter # packet filter 233pseudo-device clockctl # user control of clock subsystem 234pseudo-device drvctl # user control of drive subsystem 235pseudo-device ksyms # /dev/ksyms 236pseudo-device pty # pseudo-terminals 237pseudo-device kttcp # kernel ttcp 238