1# 2# GEMINI -- 3# 4 5include "arch/evbarm/conf/std.gemini" 6 7 8# estimated number of users 9 10maxusers 32 11 12# Standard system options 13 14options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 15#options NTP # NTP phase/frequency locked loop 16 17# CPU options 18 19options CPU_FA526 20options SL3516 21options GEMINI_MASTER 22 23# Architecture options 24 25# File systems 26 27file-system FFS # UFS 28#file-system LFS # log-structured file system 29file-system MFS # memory file system 30file-system NFS # Network file system 31#file-system ADOSFS # AmigaDOS-compatible file system 32#file-system EXT2FS # second extended file system (linux) 33#file-system CD9660 # ISO 9660 + Rock Ridge file system 34file-system MSDOSFS # MS-DOS file system 35#file-system FDESC # /dev/fd 36#file-system KERNFS # /kern 37#file-system NULLFS # loopback file system 38#file-system PROCFS # /proc 39#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 40#file-system UMAPFS # NULLFS + uid and gid remapping 41#file-system UNION # union file system 42file-system PTYFS # /dev/pts/N support 43 44# File system options 45#options FFS_EI # FFS Endian Independent support 46#options FFS_NO_SNAPSHOT # No FFS snapshot support 47#options QUOTA # legacy UFS quotas 48#options QUOTA2 # new, in-filesystem UFS quotas 49#options UFS_DIRHASH # UFS Large Directory Hashing 50#options UFS_EXTATTR # Extended attribute support for UFS1 51#options WAPBL # File system journaling support 52#options DISKLABEL_EI # disklabel Endian Independent support 53#options 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 PIM # Protocol Independent Multicast 64#options NETATALK # AppleTalk networking 65#options PPP_BSDCOMP # BSD-Compress compression support for PPP 66#options PPP_DEFLATE # Deflate compression support for PPP 67#options PPP_FILTER # Active filter support for PPP (requires bpf) 68#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 69 70options NFS_BOOT_BOOTP 71options NFS_BOOT_DHCP 72options NFS_BOOT_RWSIZE=1024 73 74# Compatibility options 75 76include "conf/compat_netbsd50.config" 77options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 78 79# Shared memory options 80 81options SYSVMSG # System V-like message queues 82options SYSVSEM # System V-like semaphores 83options SYSVSHM # System V-like memory sharing 84 85# Device options 86 87# Memory disk 88options MEMORY_DISK_IS_ROOT # use memory disk as root 89options MEMORY_DISK_HOOKS 90options MEMORY_DISK_DYNAMIC 91options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 92 93# Miscellaneous kernel options 94options KTRACE # system call tracing, a la ktrace(1) 95#options SCSIVERBOSE # Verbose SCSI errors 96#options MIIVERBOSE # Verbose MII autoconfuration messages 97#options DDB_KEYCODE=0x40 98#options USERCONF # userconf(4) support 99#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 100 101# Development and Debugging options 102 103options DIAGNOSTIC # internal consistency checks 104#options DEBUG 105#options UVMHIST # kernhist for uvm/pmap subsystems 106options VERBOSE_INIT_ARM # verbose bootstraping messages 107options DDB # in-kernel debugger 108options DDB_ONPANIC=1 109options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 110#options KGDB 111makeoptions DEBUG="-g" # compile full symbol table 112##makeoptions COPY_SYMTAB=1 113##options ATADEBUG 114 115# Valid options for BOOT_ARGS: 116# single Boot to single user only 117# kdb Give control to kernel debugger 118# ask Ask for file name to reboot from 119# memorydisk=<n> Set memorydisk size to <n> KB 120# quiet Show aprint_naive output 121# verbose Show aprint_normal and aprint_verbose output 122options BOOT_ARGS="\"\"" 123 124config netbsd root on ? type ? 125 126# The main bus device 127mainbus0 at root 128 129# The boot cpu 130cpu0 at mainbus? 131 132# Specify the memory size in megabytes. 133options MEMSIZE=64 134 135# Specify the (DMA) Bus Address base in megabytes 136options GEMINI_BUSBASE=0 137 138# On-board IO 139obio0 at mainbus? 140 141# On-board 16550 UART(s) 142com0 at obio? addr 0x42000000 intr 18 mult 4 143##options CONSADDR=0x478003f8, CONSPEED=19200 144options CONSADDR=0x42000000, CONSPEED=19200 145 146# Aux COM at IT8712 147##geminilpchc0 at obio? addr 0x47000000 intr 20 148##lpc0 at geminilpchc0 addr 0x47800000 149##com1 at lpc? ldn 0x01 addr 0x3f8 intr -1 150##com1 at lpc? ldn 0x01 addr 0x3f8 intr 4 151 152# Interrupt controller 153geminiicu0 at obio0 addr 0x48000000 intrbase 0 154##geminiicu1 at obio0 addr 0x49000000 intrbase 0 155 156# Watchdog timer 157geminiwdt0 at obio0 addr 0x41000000 size 0x1c 158# Internal PCLK is AHB bus freq, 159# which is 1/6 of APB bus freq, 160# which is 150MHz` 161options GEMINI_WDT_CLOCK_FREQ=25000000 # 25 MHz 162 163# Combined Operating System Timer and Statistics Timer 164geminitmr0 at obio? addr 0x43000000 size 0x3c intr 14 165##geminitmr1 at obio? addr 0x43000000 size 0x3c intr 15 166# Microtime Reference Timer 167geminitmr2 at obio? addr 0x43000000 size 0x3c intr 16 168# 169# Internal PCLK is AHB bus freq, 170# which is 1/6 of APB bus freq, 171# which is 150MHz` 172options GEMINI_TIMER_CLOCK_FREQ=25000000 # 25 MHz 173 174 175# Gemini Inter-processor-interrupt (IPI) 176geminiipi0 at obio? intr 0 177 178# Gemini Inter-processor-messages (IPM) 179geminiipm0 at geminiipi0 180 181# Gemini Pseudo NIC (GPN) 182gpn0 at geminiipm0 183 184# On-board GPIO controllers 185geminigpio0 at obio0 addr 0x4d000000 intrbase 32 intr 22 186geminigpio1 at obio0 addr 0x4e000000 intrbase 64 intr 23 187geminigpio2 at obio0 addr 0x4f000000 intrbase 96 intr 24 188 189# Real Time Clock 190 191# IDE 192##wdc0 at obio? addr 0x63000000 intr 4 193##wdc1 at obio? addr 0x63400000 intr 5 194 195##atabus* at ata? channel ? 196##wd* at atabus? drive ? flags 0x0000 197 198# USB 199##ehci0 at obio? addr 0x68000000 size 0x400 intr 10 # 30? 200##ehci1 at obio? addr 0x69000000 size 0x400 intr 11 # 31? 201 202##usb* at ehci? 203##uhub* at usb? 204##uhub* at uhub? port ? 205 206# USB Ethernet adapters 207##axe* at uhub? 208 209# PCI 210##pci0 at obio? bus ? 211##options PCI_NETBSD_CONFIGURE # set up the PCI bus 212##options PCIVERBOSE 213##options PCI_CONFIG_DUMP 214 215# PCI Ethernet 216##ex* at pci? dev ? function ? # 3Com 90x[BC] 217 218# MII/PHY support 219##exphy* at mii? phy ? # 3Com internal PHYs 220##ukphy* at mii? phy ? # generic unknown PHYs 221 222 223# Pseudo-Devices 224 225# disk/mass storage pseudo-devices 226pseudo-device md # memory disk 227#pseudo-device vnd # disk-like interface to files 228#pseudo-device fss # file system snapshot device 229#pseudo-device putter # for puffs and pud 230 231# network pseudo-devices 232pseudo-device bpfilter # Berkeley packet filter 233pseudo-device loop # network loopback 234#pseudo-device kttcp # network loopback 235 236# miscellaneous pseudo-devices 237pseudo-device pty # pseudo-terminals 238#options RND_COM 239#pseudo-device clockctl # user control of clock subsystem 240pseudo-device ksyms # /dev/ksyms 241 242