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