ARMADILLO9 revision 1.59
1# $NetBSD: ARMADILLO9,v 1.59 2018/07/12 10:46:43 maxv Exp $ 2# 3# ARMADILLO9 -- Atmark Techno, Armadillo-9 4# 5 6include "arch/evbarm/conf/std.armadillo9" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9options MSGBUFSIZE=65536 10#options KSTACK_CHECK_MAGIC 11 12# estimated number of users 13maxusers 16 14 15# Standard system options 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17options NTP # NTP phase/frequency locked loop 18 19# CPU options 20options CPU_ARM9 # Support the ARM9TDMI core 21 22# File systems 23file-system FFS # UFS 24#file-system LFS # log-structured file system 25file-system MFS # memory file system 26file-system NFS # Network file system 27#file-system ADOSFS # AmigaDOS-compatible file system 28file-system EXT2FS # second extended file system (linux) 29file-system CD9660 # ISO 9660 + Rock Ridge file system 30file-system MSDOSFS # MS-DOS file system 31file-system FDESC # /dev/fd 32#file-system FILECORE # Acorn filecore file system 33file-system KERNFS # /kern 34file-system NULLFS # loopback file system 35file-system PROCFS # /proc 36#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 37#file-system UMAPFS # NULLFS + uid and gid remapping 38file-system UNION # union file system 39file-system PTYFS # /dev/pts/N support 40 41# File system options 42#options QUOTA # legacy UFS quotas 43#options QUOTA2 # new, in-filesystem UFS quotas 44#options DISKLABEL_EI # disklabel Endian Independent support 45#options FFS_EI # FFS Endian Independent support 46options WAPBL # File system journaling support 47#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 48options NFSSERVER # Network File System server 49#options FFS_NO_SNAPSHOT # No FFS snapshot support 50#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 51 # immutable) behave as system flags. 52 53# Networking options 54#options GATEWAY # packet forwarding 55options INET # IP + ICMP + TCP + UDP 56options INET6 # IPV6 57#options IPSEC # IP security 58#options IPSEC_DEBUG # debug for IP security 59#options MROUTING # IP multicast routing 60#options PIM # Protocol Independent Multicast 61#options NETATALK # AppleTalk networking 62#options PPP_BSDCOMP # BSD-Compress compression support for PPP 63#options PPP_DEFLATE # Deflate compression support for PPP 64#options PPP_FILTER # Active filter support for PPP (requires bpf) 65#options IPFILTER_LOG # ipmon(8) log support 66#options IPFILTER_LOOKUP # ippool(8) support 67#options IPFILTER_DEFAULT_BLOCK # block all packets by default 68#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 69 70options NFS_BOOT_BOOTP 71options NFS_BOOT_DHCP 72#options NFS_BOOT_BOOTPARAM 73 74# Compatibility options 75include "conf/compat_netbsd20.config" 76options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 77 78options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 79options COMPAT_LINUX # binary compatibility with Linux 80 81# Shared memory options 82options SYSVMSG # System V-like message queues 83options SYSVSEM # System V-like semaphores 84options SYSVSHM # System V-like memory sharing 85 86# Device options 87 88#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 89#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 90#options MEMORY_DISK_IS_ROOT # use memory disk as root 91 92# Console options. The default console is speed is 115200 baud. 93options CONSPEED=115200 # Console speed 94options CONUNIT=0 # Console port number 95 96# Miscellaneous kernel options 97options KTRACE # system call tracing, a la ktrace(1) 98#options IRQSTATS # manage IRQ statistics 99#options SCSIVERBOSE # Verbose SCSI errors 100#options PCIVERBOSE # Verbose PCI descriptions 101#options MIIVERBOSE # Verbose MII autoconfuration messages 102#options PCI_CONFIG_DUMP # verbosely dump PCI config space 103#options DDB_KEYCODE=0x40 104#options USERCONF # userconf(4) support 105#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 106#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 107 108# Development and Debugging options 109 110options DIAGNOSTIC # internal consistency checks 111#options DEBUG 112#options PMAP_DEBUG # Enable pmap_debug_level code 113#options VERBOSE_INIT_ARM # verbose bootstraping messages 114options DDB # in-kernel debugger 115#options DDB_ONPANIC=1 116options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 117#makeoptions DEBUG="-g" # compile full symbol table 118makeoptions COPY_SYMTAB=1 119 120#options PMAP_INCLUDE_PTE_SYNC 121#options LOCKDEBUG 122 123config netbsd root on ? type ? 124#config netbsd root on epe0 type nfs 125#config netbsd root on wd0 type ffs 126#config netbsd root on sd0 type ffs 127 128# The main bus device 129mainbus0 at root 130 131# The boot cpu 132cpu0 at mainbus? 133 134# Cirrus Logic EP93xx System-on-chip 135epsoc0 at mainbus? 136 137# AHB Peripheral 138# On-chip 10/100 Ethernet 139epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39 140# On-chip USB host controller 141ohci0 at epsoc? addr 0x80020000 size 0x1000 intr 56 142# On-chip Raster (not yet) 143#vga0 at epsoc? addr 0x80030000 size 0x10000 intr ?? 144# On-chip PCMCIA controller 145eppcic0 at epsoc? addr 0x80080000 size 0x44 146# On-chip IDE (not yet) 147#wdc0 at epsoc? addr 0x800a0000 size 0x38 intr ?? 148 149# APB Peripheral 150# On-chip timers 151epclk0 at epsoc? addr 0x80810000 size 0x90 intr 4 152# GPIO 153epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59 154gpio* at epgpio? 155# On-chip serial UARTS 156epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52 157epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54 158#epcom2 at epsoc? addr 0x808e0000 size 0x1000 intr 55 159# RealTime Clock (no battery backup) 160eprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37 161# Watchdog Timer 162epwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36 163# LED 164epled0 at epgpio0 port 4 bit1 0 bit2 1 165 166# I^2C Controller Unit 167armadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5 168iic* at armadillo9iic? 169seeprom0 at iic? addr 0x50 flags 1 # 128 bytes 170#s3531rtc0 at iic? addr 0x30 171 172# PCMCIA bus support 173pcmcia* at eppcic0 controller ? socket ? 174 175# PCMCIA network interfaces 176ne* at pcmcia? function ? # NE2000-compatible Ethernet 177wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 178 179# MII/PHY support 180lxtphy* at mii? phy ? # Level One LXT-970 PHYs 181 182# PCMCIA serial interfaces 183com* at pcmcia? function ? # Modems and serial cards 184 185# PCMCIA IDE disk 186wdc* at pcmcia? function ? 187 188# USB Controller and Devices 189 190# USB bus support 191usb* at ohci? 192 193# USB Hubs 194uhub* at usb? 195uhub* at uhub? port ? 196 197# USB HID device 198uhidev* at uhub? port ? configuration ? interface ? 199 200# USB Mice 201#ums* at uhidev? reportid ? 202#wsmouse* at ums? mux 0 203 204# USB Keyboards 205#ukbd* at uhidev? reportid ? 206#wskbd* at ukbd? console ? mux 1 207 208# USB Generic HID devices 209uhid* at uhidev? reportid ? 210 211# USB Mass Storage 212umass* at uhub? port ? configuration ? interface ? 213scsibus* at umass? 214 215# USB audio 216#uaudio* at uhub? port ? configuration ? 217 218# USB MIDI 219#umidi* at uhub? port ? configuration ? 220 221# USB Generic driver 222ugen* at uhub? port ? 223 224# ATA (IDE) bus support 225atabus* at ata? 226 227# IDE drives 228wd* at atabus? drive ? flags 0x0000 229 230# ATAPI bus support 231atapibus* at atapi? 232 233# ATAPI devices 234cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 235sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 236uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 237 238# SCSI devices 239sd* at scsibus? target ? lun ? # SCSI disk drives 240cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 241uk* at scsibus? target ? lun ? # SCSI unknown 242 243# Audio support 244#audio* at audiobus? 245 246#spkr* at audio? # PC speaker (synthesized) 247 248# MIDI support 249#midi* at midibus? 250 251# Pseudo-Devices 252 253# disk/mass storage pseudo-devices 254#pseudo-device md # memory disk device (ramdisk) 255pseudo-device vnd # disk-like interface to files 256options VND_COMPRESSION # compressed vnd(4) 257#pseudo-device fss # file system snapshot device 258#pseudo-device putter # for puffs and pud 259 260# network pseudo-devices 261pseudo-device bpfilter # Berkeley packet filter 262#pseudo-device ipfilter # IP filter (firewall) and NAT 263pseudo-device loop # network loopback 264#pseudo-device ppp # Point-to-Point Protocol 265#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 266#pseudo-device sl # Serial Line IP 267#pseudo-device strip # Starmode Radio IP (Metricom) 268#pseudo-device irframetty # IrDA frame line discipline 269#pseudo-device tap # virtual Ethernet 270#pseudo-device tun # network tunneling over tty 271#pseudo-device gre # generic L3 over IP tunnel 272#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 273#pseudo-device faith # IPv[46] tcp relay translation i/f 274#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 275#pseudo-device vlan # IEEE 802.1q encapsulation 276#pseudo-device bridge # simple inter-network bridging 277#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 278#pseudo-device pf # PF packet filter 279#pseudo-device pflog # PF log if 280#pseudo-device kttcp # network loopback 281 282# miscellaneous pseudo-devices 283pseudo-device pty # pseudo-terminals 284#options RND_COM 285pseudo-device clockctl # user control of clock subsystem 286pseudo-device ksyms # /dev/ksyms 287#pseudo-device crypto # /dev/crypto device 288#pseudo-device swcrypto # software crypto implementation 289#pseudo-device sequencer # MIDI sequencer 290 291# 292# wscons options 293# 294# builtin terminal emulations 295#options WSEMUL_SUN # sun terminal emulation 296options WSEMUL_VT100 # VT100 / VT220 emulation 297# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 298#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 299#options WS_DEFAULT_FG=WSCOL_WHITE 300#options WS_DEFAULT_BG=WSCOL_BLACK 301#options WS_DEFAULT_COLATTR="(0)" 302#options WS_DEFAULT_MONOATTR="(0)" 303#options WS_KERNEL_FG=WSCOL_GREEN 304#options WS_KERNEL_BG=WSCOL_BLACK 305#options WS_KERNEL_COLATTR="" 306#options WS_KERNEL_MONOATTR="" 307# customization of console border color 308#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 309#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 310# compatibility to other console drivers 311#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 312#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 313#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 314#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 315# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 316#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 317# allocate a number of virtual screens at autoconfiguration time 318#options WSDISPLAY_DEFAULTSCREENS=4 319# use a large software cursor that doesn't blink 320#options PCDISPLAY_SOFTCURSOR 321# modify the screen type of the console; defaults to "80x25" 322#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 323# work around a hardware bug that loaded fonts don't work; found on ATI cards 324#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 325# console scrolling support. 326#options WSDISPLAY_SCROLLSUPPORT 327# enable VGA raster mode capable of displaying multilingual text on console 328#options VGA_RASTERCONSOLE 329 330# wscons pseudo-devices 331#pseudo-device wsmux # mouse & keyboard multiplexor 332#pseudo-device wsfont 333