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