1 1.44 simonb # $NetBSD: VIPER,v 1.44 2022/08/07 02:52:25 simonb Exp $ 2 1.1 pooka # 3 1.1 pooka # Arcom Viper 4 1.1 pooka # 5 1.1 pooka 6 1.1 pooka include "arch/evbarm/conf/std.viper" 7 1.1 pooka 8 1.1 pooka #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 1.1 pooka #options MSGBUFSIZE=65536 10 1.1 pooka #options KSTACK_CHECK_MAGIC 11 1.1 pooka 12 1.1 pooka # estimated number of users 13 1.1 pooka maxusers 32 14 1.1 pooka 15 1.1 pooka # Standard system options 16 1.1 pooka 17 1.1 pooka options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 18 1.1 pooka options NTP # NTP phase/frequency locked loop 19 1.1 pooka 20 1.1 pooka # CPU options 21 1.1 pooka 22 1.2 pooka options CPU_XSCALE_PXA250 # XScale PXA255 23 1.1 pooka makeoptions CPUFLAGS="-mcpu=xscale" 24 1.1 pooka #options CPU_XSCALE_CCLKCFG=xyz 25 1.1 pooka 26 1.1 pooka # File systems 27 1.1 pooka 28 1.1 pooka file-system FFS # UFS 29 1.1 pooka #file-system LFS # log-structured file system 30 1.1 pooka file-system MFS # memory file system 31 1.1 pooka file-system NFS # Network file system 32 1.1 pooka #file-system ADOSFS # AmigaDOS-compatible file system 33 1.1 pooka file-system EXT2FS # second extended file system (linux) 34 1.1 pooka #file-system CD9660 # ISO 9660 + Rock Ridge file system 35 1.1 pooka file-system MSDOSFS # MS-DOS file system 36 1.1 pooka #file-system FDESC # /dev/fd 37 1.1 pooka #file-system FILECORE # Acorn filecore file system 38 1.1 pooka file-system KERNFS # /kern 39 1.1 pooka file-system NULLFS # loopback file system 40 1.1 pooka file-system PROCFS # /proc 41 1.27 msaitoh #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 42 1.1 pooka #file-system UMAPFS # NULLFS + uid and gid remapping 43 1.1 pooka file-system UNION # union file system 44 1.7 christos file-system PTYFS # /dev/pts/N support 45 1.1 pooka 46 1.1 pooka # File system options 47 1.44 simonb #options FFS_EI # FFS Endian Independent support 48 1.21 bouyer #options QUOTA # legacy UFS quotas 49 1.21 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 50 1.44 simonb #options UFS_DIRHASH # UFS Large Directory Hashing 51 1.44 simonb #options UFS_EXTATTR # Extended attribute support for UFS1 52 1.39 rin #options DISKLABEL_EI # disklabel Endian Independent support 53 1.44 simonb options NFSSERVER # Network File System server 54 1.1 pooka 55 1.1 pooka # Networking options 56 1.1 pooka 57 1.1 pooka #options GATEWAY # packet forwarding 58 1.1 pooka options INET # IP + ICMP + TCP + UDP 59 1.1 pooka options INET6 # IPV6 60 1.1 pooka #options IPSEC # IP security 61 1.1 pooka #options IPSEC_DEBUG # debug for IP security 62 1.1 pooka #options MROUTING # IP multicast routing 63 1.1 pooka #options NETATALK # AppleTalk networking 64 1.1 pooka #options PPP_BSDCOMP # BSD-Compress compression support for PPP 65 1.1 pooka #options PPP_DEFLATE # Deflate compression support for PPP 66 1.1 pooka #options PPP_FILTER # Active filter support for PPP (requires bpf) 67 1.1 pooka #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 68 1.1 pooka 69 1.1 pooka options NFS_BOOT_DHCP 70 1.1 pooka options NFS_BOOT_BOOTPARAM 71 1.1 pooka options NFS_BOOT_RWSIZE=1024 72 1.1 pooka 73 1.1 pooka # Compatibility options 74 1.1 pooka 75 1.41 mrg include "conf/compat_netbsd30.config" 76 1.41 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 77 1.1 pooka 78 1.1 pooka # Shared memory options 79 1.1 pooka 80 1.1 pooka options SYSVMSG # System V-like message queues 81 1.1 pooka options SYSVSEM # System V-like semaphores 82 1.1 pooka options SYSVSHM # System V-like memory sharing 83 1.1 pooka 84 1.1 pooka # Device options 85 1.1 pooka 86 1.1 pooka #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 87 1.1 pooka #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 88 1.1 pooka #options MEMORY_DISK_IS_ROOT # use memory disk as root 89 1.1 pooka 90 1.1 pooka # Console options. The default console is speed is 115200 bps. 91 1.1 pooka #options CONSPEED=9600 # Console speed 92 1.1 pooka 93 1.1 pooka # Miscellaneous kernel options 94 1.1 pooka options KTRACE # system call tracing, a la ktrace(1) 95 1.1 pooka options IRQSTATS # manage IRQ statistics 96 1.1 pooka #options SCSIVERBOSE # Verbose SCSI errors 97 1.1 pooka #options PCIVERBOSE # Verbose PCI descriptions 98 1.1 pooka #options MIIVERBOSE # Verbose MII autoconfuration messages 99 1.1 pooka #options PCI_CONFIG_DUMP # verbosely dump PCI config space 100 1.1 pooka #options DDB_KEYCODE=0x40 101 1.1 pooka #options USERCONF # userconf(4) support 102 1.1 pooka #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 103 1.1 pooka 104 1.1 pooka # Development and Debugging options 105 1.1 pooka 106 1.33 dholland options DIAGNOSTIC # internal consistency checks 107 1.1 pooka #options DEBUG 108 1.43 skrll #options UVMHIST # kernhist for uvm/pmap subsystems 109 1.1 pooka #options VERBOSE_INIT_ARM # verbose bootstraping messages 110 1.1 pooka options DDB # in-kernel debugger 111 1.41 mrg options DDB_ONPANIC=1 112 1.1 pooka options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 113 1.1 pooka #makeoptions DEBUG="-g" # compile full symbol table 114 1.36 joerg makeoptions COPY_SYMTAB=1 115 1.1 pooka 116 1.1 pooka ##options PMAP_INCLUDE_PTE_SYNC 117 1.1 pooka ##options LOCKDEBUG 118 1.1 pooka 119 1.1 pooka config netbsd root on ? type ? 120 1.1 pooka 121 1.1 pooka # The main bus device 122 1.1 pooka mainbus0 at root 123 1.1 pooka 124 1.1 pooka # The boot CPU 125 1.1 pooka cpu0 at mainbus? 126 1.1 pooka 127 1.1 pooka # peripherals 128 1.1 pooka pxaip0 at mainbus0 129 1.1 pooka 130 1.1 pooka # interrupt controller & gpio pins 131 1.1 pooka pxaintc0 at pxaip0 132 1.1 pooka pxagpio0 at pxaip0 133 1.1 pooka 134 1.1 pooka # serial ports 135 1.1 pooka options COM_PXA2X0 136 1.1 pooka options FFUARTCONSOLE 137 1.1 pooka com0 at pxaip0 addr 0x40100000 intr 22 # FFUART 138 1.1 pooka com1 at pxaip0 addr 0x40200000 intr 21 # BTUART 139 1.1 pooka com2 at pxaip0 addr 0x40700000 intr 20 140 1.1 pooka 141 1.1 pooka # these two are not hanging off of pxaip, not really tested either 142 1.1 pooka #com3 at pxaip0 addr 0x14300000 # COM5 143 1.1 pooka #com4 at pxaip0 addr 0x14300010 # COM4 144 1.1 pooka 145 1.1 pooka # SMC91C111 ethernet 146 1.1 pooka sm0 at pxaip0 addr 0x08000300 intr 0 147 1.1 pooka 148 1.1 pooka # MII/PHY support 149 1.1 pooka sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 150 1.1 pooka 151 1.1 pooka # Pseudo-Devices 152 1.1 pooka 153 1.1 pooka # disk/mass storage pseudo-devices 154 1.20 hannken #pseudo-device md # memory disk device (ramdisk) 155 1.10 cube pseudo-device vnd # disk-like interface to files 156 1.19 pooka #pseudo-device fss # file system snapshot device 157 1.27 msaitoh #pseudo-device putter # for puffs and pud 158 1.1 pooka 159 1.1 pooka # network pseudo-devices 160 1.9 rpaulo pseudo-device bpfilter # Berkeley packet filter 161 1.1 pooka pseudo-device loop # network loopback 162 1.1 pooka pseudo-device kttcp # network loopback 163 1.1 pooka 164 1.1 pooka # miscellaneous pseudo-devices 165 1.1 pooka pseudo-device pty # pseudo-terminals 166 1.1 pooka #options RND_COM 167 1.1 pooka pseudo-device clockctl # user control of clock subsystem 168 1.1 pooka pseudo-device ksyms # /dev/ksyms 169 1.1 pooka 170 1.1 pooka # data mover pseudo-devices 171 1.25 skrll #pseudo-device swdmover # software dmover(9) back-end 172 1.1 pooka #pseudo-device dmoverio # /dev/dmover dmover(9) interface 173