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