1# $NetBSD: CP3100,v 1.51 2020/09/27 13:48:50 roy 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) 70#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 71 72options NFS_BOOT_BOOTP 73options NFS_BOOT_DHCP 74#options NFS_BOOT_BOOTPARAM 75 76# Compatibility options 77 78include "conf/compat_netbsd50.config" 79options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 80 81# Shared memory options 82 83options SYSVMSG # System V-like message queues 84options SYSVSEM # System V-like semaphores 85options SYSVSHM # System V-like memory sharing 86 87# Device options 88 89#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 90#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 91#options MEMORY_DISK_IS_ROOT # use memory disk as root 92 93# Console options. The default console is speed is 115200 baud. 94options CONSPEED=115200 # Console speed 95 96# Miscellaneous kernel options 97options KTRACE # system call tracing, a la ktrace(1) 98options IRQSTATS # manage IRQ statistics 99#options SCSIVERBOSE # Verbose SCSI errors 100#options PCIVERBOSE # Verbose PCI descriptions 101#options MIIVERBOSE # Verbose MII autoconfuration messages 102#options PCI_CONFIG_DUMP # verbosely dump PCI config space 103#options DDB_KEYCODE=0x40 104options USERCONF # userconf(4) support 105#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 106#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 107 108# Development and Debugging options 109 110options DIAGNOSTIC # internal consistency checks 111#options DEBUG 112#options UVMHIST # kernhist for uvm/pmap subsystems 113#options VERBOSE_INIT_ARM # verbose bootstraping messages 114options DDB # in-kernel debugger 115options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 116#makeoptions DEBUG="-g" # compile full symbol table 117makeoptions COPY_SYMTAB=1 118 119config netbsd root on ? type ? 120config netbsd-wm0 root on wm0 type nfs 121config netbsd-wd0 root on wd0a type ffs 122config netbsd-sd0 root on sd0a type ffs 123 124# The main bus device 125mainbus0 at root 126 127# The boot CPU 128cpu0 at mainbus? 129 130# On-board device support 131obio* at mainbus? 132 133# Console UART. 134# Note: "xint 4" is actually the HPI# pin 135com0 at obio? addr 0xfe800000 xint 4 136 137# i80321 I/O Processor peripheral support 138iopxs* at mainbus? 139 140iopaau* at iopxs? # Application Accelerator Unit 141iopiic* at iopxs? # I2C Controller Unit(s) 142iic0 at iopiic? 143iic1 at iopiic? 144iopwdog* at iopxs? # Watchdog timer 145pci0 at iopxs? bus ? # PCI/PCI-X support 146 147# IIC Devices 148m41trtc0 at iic1 addr 0x68 # M41T11 Realtime Clock 149 150# 151# Storage devices 152# 153 154# Serial ATA: i31244 155artsata* at pci? dev ? function ? # Intel i31244 SATA controller 156atabus* at ata? 157 158# ATA Disks 159wd* at atabus? drive ? flags 0x0000 160 161# SCSI: Symbios Logic 53c1010 162# 163# Wire down the Target/Host instances. Disable the target controller for 164# now as we don't currently support SCSI target mode. 165siop0 at pci0 dev 2 function 1 # Host controller 166#siop1 at pci0 dev 2 function 0 # Target controller 167scsibus* at scsi? 168 169# SCSI Devices 170sd* at scsibus? target ? lun ? # SCSI disk drives 171st* at scsibus? target ? lun ? # SCSI tape drives 172cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 173ch* at scsibus? target ? lun ? # SCSI autochangers 174ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 175ss* at scsibus? target ? lun ? # SCSI Scanners 176uk* at scsibus? target ? lun ? # SCSI unknown 177 178# 179# Networking devices 180# 181 182# PCI network devices 183wm* at pci? dev ? function ? # Intel i82546EB Gig-E 184 185# MII/PHY support 186makphy* at mii? phy ? # Marvell 88E1000 PHYs 187 188# Pseudo-Devices 189 190# disk/mass storage pseudo-devices 191pseudo-device ccd # concatenated/striped disk devices 192#pseudo-device cgd # cryptographic disk devices 193pseudo-device raid # RAIDframe disk driver 194options RAID_AUTOCONFIG # auto-configuration of RAID components 195# Options to enable various other RAIDframe RAID types. 196#options RF_INCLUDE_EVENODD=1 197#options RF_INCLUDE_RAID5_RS=1 198#options RF_INCLUDE_PARITYLOGGING=1 199#options RF_INCLUDE_CHAINDECLUSTER=1 200#options RF_INCLUDE_INTERDECLUSTER=1 201#options RF_INCLUDE_PARITY_DECLUSTERING=1 202#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 203#pseudo-device fss # file system snapshot device 204#pseudo-device putter # for puffs and pud 205 206#pseudo-device md # memory disk device (ramdisk) 207pseudo-device vnd # disk-like interface to files 208options VND_COMPRESSION # compressed vnd(4) 209 210# network pseudo-devices 211pseudo-device bpfilter # Berkeley packet filter 212pseudo-device npf # NPF packet filter 213pseudo-device loop # network loopback 214#pseudo-device tun # network tunneling over tty 215#pseudo-device vlan # IEEE 802.1q encapsulation 216#pseudo-device bridge # simple inter-network bridging 217#pseudo-device vether # Virtual Ethernet for bridge 218 219# miscellaneous pseudo-devices 220pseudo-device pty # pseudo-terminals 221pseudo-device clockctl # user control of clock subsystem 222pseudo-device ksyms # /dev/ksyms 223 224# data mover pseudo-devices 225#pseudo-device swdmover # software dmover(9) back-end 226#pseudo-device dmoverio # /dev/dmover dmover(9) interface 227