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