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