CP3100 revision 1.45
1# $NetBSD: CP3100,v 1.45 2017/07/29 18:08:57 maxv Exp $ 2# 3# CP3100 -- Certance CP3100 Kernel 4# 5 6include "arch/evbarm/conf/std.cp3100" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 32 13 14# Standard system options 15 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17options NTP # NTP phase/frequency locked loop 18 19# CPU options 20 21# For XScale systems 22options CPU_XSCALE_80321 # Support the XScale core 23makeoptions CPUFLAGS="-mcpu=xscale" 24 25# Architecture options 26options XSCALE_CACHE_READ_WRITE_ALLOCATE 27#options HZ=512 28 29# File systems 30 31file-system FFS # UFS 32file-system LFS # log-structured file system 33file-system MFS # memory file system 34file-system NFS # Network file system 35#file-system ADOSFS # AmigaDOS-compatible file system 36#file-system EXT2FS # second extended file system (linux) 37#file-system CD9660 # ISO 9660 + Rock Ridge file system 38#file-system MSDOSFS # MS-DOS file system 39file-system FDESC # /dev/fd 40file-system KERNFS # /kern 41file-system NULLFS # loopback file system 42file-system PROCFS # /proc 43#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 44#file-system UMAPFS # NULLFS + uid and gid remapping 45#file-system UNION # union file system 46file-system PTYFS # /dev/pts/N support 47 48# File system options 49#options QUOTA # legacy UFS quotas 50#options QUOTA2 # new, in-filesystem UFS quotas 51#options DISKLABEL_EI # disklabel Endian Independent support 52#options FFS_EI # FFS Endian Independent support 53options NFSSERVER 54options WAPBL # File system journaling support 55#options FFS_NO_SNAPSHOT # No FFS snapshot support 56 57# Networking options 58 59options GATEWAY # packet forwarding 60options INET # IP + ICMP + TCP + UDP 61options INET6 # IPV6 62#options IPSEC # IP security 63#options IPSEC_DEBUG # debug for IP security 64#options MROUTING # IP multicast routing 65#options PIM # Protocol Independent Multicast 66#options NETATALK # AppleTalk networking 67#options PPP_BSDCOMP # BSD-Compress compression support for PPP 68#options PPP_DEFLATE # Deflate compression support for PPP 69#options PPP_FILTER # Active filter support for PPP (requires bpf) 70options IPFILTER_LOG # ipmon(8) log support 71options IPFILTER_LOOKUP # ippool(8) support 72#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 73 74options NFS_BOOT_BOOTP 75options NFS_BOOT_DHCP 76#options NFS_BOOT_BOOTPARAM 77 78# Compatibility options 79 80options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 81#options COMPAT_43 # 4.3BSD compatibility. 82#options COMPAT_09 # NetBSD 0.9, 83#options COMPAT_10 # NetBSD 1.0, 84#options COMPAT_11 # NetBSD 1.1, 85#options COMPAT_12 # NetBSD 1.2, 86#options COMPAT_13 # NetBSD 1.3, 87#options COMPAT_14 # NetBSD 1.4, 88#options COMPAT_15 # NetBSD 1.5, 89#options COMPAT_16 # NetBSD 1.6, 90#options COMPAT_20 # NetBSD 2.0, 91#options COMPAT_30 # NetBSD 3.0, 92#options COMPAT_40 # NetBSD 4.0, 93options COMPAT_50 # NetBSD 5.0, 94options COMPAT_60 # NetBSD 6.0, and 95options COMPAT_70 # NetBSD 7.0 binary compatibility. 96options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 97 98# Shared memory options 99 100options SYSVMSG # System V-like message queues 101options SYSVSEM # System V-like semaphores 102options SYSVSHM # System V-like memory sharing 103 104# Device options 105 106#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 107#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 108#options MEMORY_DISK_IS_ROOT # use memory disk as root 109 110# Console options. The default console is speed is 115200 baud. 111options CONSPEED=115200 # Console speed 112 113# Miscellaneous kernel options 114options KTRACE # system call tracing, a la ktrace(1) 115options IRQSTATS # manage IRQ statistics 116#options SCSIVERBOSE # Verbose SCSI errors 117#options PCIVERBOSE # Verbose PCI descriptions 118#options MIIVERBOSE # Verbose MII autoconfuration messages 119#options PCI_CONFIG_DUMP # verbosely dump PCI config space 120#options DDB_KEYCODE=0x40 121options USERCONF # userconf(4) support 122#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 123#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 124 125# Development and Debugging options 126 127options PERFCTRS # performance counters 128options DIAGNOSTIC # internal consistency checks 129#options DEBUG 130#options PMAP_DEBUG # Enable pmap_debug_level code 131#options VERBOSE_INIT_ARM # verbose bootstraping messages 132options DDB # in-kernel debugger 133options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 134#makeoptions DEBUG="-g" # compile full symbol table 135makeoptions COPY_SYMTAB=1 136 137config netbsd root on ? type ? 138config netbsd-wm0 root on wm0 type nfs 139config netbsd-wd0 root on wd0a type ffs 140config netbsd-sd0 root on sd0a type ffs 141 142# The main bus device 143mainbus0 at root 144 145# The boot CPU 146cpu0 at mainbus? 147 148# On-board device support 149obio* at mainbus? 150 151# Console UART. 152# Note: "xint 4" is actually the HPI# pin 153com0 at obio? addr 0xfe800000 xint 4 154 155# i80321 I/O Processor peripheral support 156iopxs* at mainbus? 157 158iopaau* at iopxs? # Application Accelerator Unit 159iopiic* at iopxs? # I2C Controller Unit(s) 160iic0 at iopiic? 161iic1 at iopiic? 162iopwdog* at iopxs? # Watchdog timer 163pci0 at iopxs? bus ? # PCI/PCI-X support 164 165# IIC Devices 166m41trtc0 at iic1 addr 0x68 # M41T11 Realtime Clock 167 168# 169# Storage devices 170# 171 172# Serial ATA: i31244 173artsata* at pci? dev ? function ? # Intel i31244 SATA controller 174atabus* at ata? 175 176# ATA Disks 177wd* at atabus? drive ? flags 0x0000 178 179# SCSI: Symbios Logic 53c1010 180# 181# Wire down the Target/Host instances. Disable the target contoller for 182# now as we don't currently support SCSI target mode. 183siop0 at pci0 dev 2 function 1 # Host controller 184#siop1 at pci0 dev 2 function 0 # Target controller 185scsibus* at scsi? 186 187# SCSI Devices 188sd* at scsibus? target ? lun ? # SCSI disk drives 189st* at scsibus? target ? lun ? # SCSI tape drives 190cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 191ch* at scsibus? target ? lun ? # SCSI autochangers 192ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 193ss* at scsibus? target ? lun ? # SCSI Scanners 194uk* at scsibus? target ? lun ? # SCSI unknown 195 196# 197# Networking devices 198# 199 200# PCI network devices 201wm* at pci? dev ? function ? # Intel i82546EB Gig-E 202 203# MII/PHY support 204makphy* at mii? phy ? # Marvell 88E1000 PHYs 205 206# Pseudo-Devices 207 208# disk/mass storage pseudo-devices 209pseudo-device ccd # concatenated/striped disk devices 210#pseudo-device cgd # cryptographic disk devices 211pseudo-device raid # RAIDframe disk driver 212options RAID_AUTOCONFIG # auto-configuration of RAID components 213# Options to enable various other RAIDframe RAID types. 214#options RF_INCLUDE_EVENODD=1 215#options RF_INCLUDE_RAID5_RS=1 216#options RF_INCLUDE_PARITYLOGGING=1 217#options RF_INCLUDE_CHAINDECLUSTER=1 218#options RF_INCLUDE_INTERDECLUSTER=1 219#options RF_INCLUDE_PARITY_DECLUSTERING=1 220#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 221#pseudo-device fss # file system snapshot device 222#pseudo-device putter # for puffs and pud 223 224#pseudo-device md # memory disk device (ramdisk) 225pseudo-device vnd # disk-like interface to files 226options VND_COMPRESSION # compressed vnd(4) 227 228# network pseudo-devices 229pseudo-device bpfilter # Berkeley packet filter 230pseudo-device ipfilter # IP filter (firewall) and NAT 231pseudo-device loop # network loopback 232#pseudo-device tun # network tunneling over tty 233#pseudo-device vlan # IEEE 802.1q encapsulation 234#pseudo-device bridge # simple inter-network bridging 235 236# miscellaneous pseudo-devices 237pseudo-device pty # pseudo-terminals 238pseudo-device clockctl # user control of clock subsystem 239pseudo-device ksyms # /dev/ksyms 240 241# data mover pseudo-devices 242#pseudo-device swdmover # software dmover(9) back-end 243#pseudo-device dmoverio # /dev/dmover dmover(9) interface 244