ARMADILLO9 revision 1.9
11.9Shamajima# $NetBSD: ARMADILLO9,v 1.9 2006/02/06 14:03:22 hamajima Exp $ 21.1Shamajima# 31.1Shamajima# ARMADILLO9 -- Atmark Techno, Armadillo-9 41.1Shamajima# 51.1Shamajima 61.1Shamajimainclude "arch/evbarm/conf/std.armadillo9" 71.1Shamajima 81.1Shamajima#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Shamajimaoptions MSGBUFSIZE=65536 101.1Shamajima#options KSTACK_CHECK_MAGIC 111.1Shamajima 121.1Shamajima# estimated number of users 131.1Shamajimamaxusers 16 141.1Shamajima 151.1Shamajima# Standard system options 161.1Shamajimaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 171.1Shamajimaoptions NTP # NTP phase/frequency locked loop 181.1Shamajima 191.1Shamajima# CPU options 201.1Shamajimaoptions CPU_ARM9 # Support the ARM9TDMI core 211.1Shamajima 221.1Shamajima# File systems 231.1Shamajimafile-system FFS # UFS 241.1Shamajima#file-system LFS # log-structured file system 251.1Shamajimafile-system MFS # memory file system 261.1Shamajimafile-system NFS # Network file system 271.1Shamajima#file-system ADOSFS # AmigaDOS-compatible file system 281.1Shamajimafile-system EXT2FS # second extended file system (linux) 291.1Shamajimafile-system CD9660 # ISO 9660 + Rock Ridge file system 301.1Shamajimafile-system MSDOSFS # MS-DOS file system 311.1Shamajimafile-system FDESC # /dev/fd 321.1Shamajima#file-system FILECORE # Acorn filecore file system 331.1Shamajimafile-system KERNFS # /kern 341.1Shamajimafile-system NULLFS # loopback file system 351.1Shamajima#file-system PORTAL # portal filesystem (still experimental) 361.1Shamajimafile-system PROCFS # /proc 371.1Shamajima#file-system UMAPFS # NULLFS + uid and gid remapping 381.1Shamajimafile-system UNION # union file system 391.1Shamajimafile-system PTYFS # /dev/pts/N support 401.1Shamajima 411.1Shamajima# File system options 421.1Shamajima#options QUOTA # UFS quotas 431.1Shamajima#options FFS_EI # FFS Endian Independant support 441.1Shamajimaoptions SOFTDEP # FFS soft updates support 451.1Shamajima#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 461.1Shamajimaoptions NFSSERVER # Network File System server 471.6Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 481.1Shamajima#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 491.1Shamajima # immutable) behave as system flags. 501.1Shamajima 511.1Shamajima# Networking options 521.1Shamajima#options GATEWAY # packet forwarding 531.1Shamajimaoptions INET # IP + ICMP + TCP + UDP 541.1Shamajimaoptions INET6 # IPV6 551.1Shamajima#options IPSEC # IP security 561.1Shamajima#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 571.1Shamajima#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 581.1Shamajima#options IPSEC_DEBUG # debug for IP security 591.1Shamajima#options MROUTING # IP multicast routing 601.1Shamajima#options PIM # Protocol Independent Multicast 611.1Shamajima#options NS # XNS 621.1Shamajima#options NSIP # XNS tunneling over IP 631.1Shamajima#options ISO,TPIP # OSI 641.1Shamajima#options EON # OSI tunneling over IP 651.1Shamajima#options CCITT,LLC,HDLC # X.25 661.1Shamajima#options NETATALK # AppleTalk networking 671.1Shamajima#options PPP_BSDCOMP # BSD-Compress compression support for PPP 681.1Shamajima#options PPP_DEFLATE # Deflate compression support for PPP 691.1Shamajima#options PPP_FILTER # Active filter support for PPP (requires bpf) 701.1Shamajima#options PFIL_HOOKS # pfil(9) packet filter hooks 711.1Shamajima#options IPFILTER_LOG # ipmon(8) log support 721.1Shamajima#options IPFILTER_DEFAULT_BLOCK # block all packets by default 731.1Shamajima#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 741.1Shamajima 751.1Shamajima# These options control the verified exec feature 761.1Shamajima#options VERIFIED_EXEC 771.1Shamajima 781.1Shamajimaoptions NFS_BOOT_BOOTP 791.1Shamajimaoptions NFS_BOOT_DHCP 801.1Shamajima#options NFS_BOOT_BOOTPARAM 811.1Shamajima 821.1Shamajima# Compatibility options 831.1Shamajima#options COMPAT_16 # NetBSD 1.6 compatibility. 841.1Shamajimaoptions COMPAT_20 # NetBSD 2.0 851.1Shamajimaoptions COMPAT_30 # NetBSD 3.0 compatibility. 861.1Shamajimaoptions COMPAT_43 # 4.3BSD compatibility. 871.1Shamajima#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 881.1Shamajimaoptions COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 891.1Shamajimaoptions COMPAT_LINUX # binary compatibility with Linux 901.1Shamajimaoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 911.1Shamajima 921.1Shamajima# Shared memory options 931.1Shamajimaoptions SYSVMSG # System V-like message queues 941.1Shamajimaoptions SYSVSEM # System V-like semaphores 951.1Shamajima#options SEMMNI=10 # number of semaphore identifiers 961.1Shamajima#options SEMMNS=60 # number of semaphores in system 971.1Shamajima#options SEMUME=10 # max number of undo entries per process 981.1Shamajima#options SEMMNU=30 # number of undo structures in system 991.1Shamajimaoptions SYSVSHM # System V-like memory sharing 1001.1Shamajima#options SHMMAXPGS=1024 # 1024 pages is the default 1011.1Shamajimaoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 1021.1Shamajima 1031.1Shamajima# Device options 1041.1Shamajima 1051.1Shamajima#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 1061.1Shamajima#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 1071.1Shamajima#options MEMORY_DISK_IS_ROOT # use memory disk as root 1081.1Shamajima 1091.1Shamajima# Console options. The default console is speed is 115200 baud. 1101.1Shamajimaoptions CONSPEED=115200 # Console speed 1111.9Shamajimaoptions CONUNIT=0 # Console port number 1121.1Shamajima 1131.1Shamajima# Miscellaneous kernel options 1141.1Shamajimaoptions KTRACE # system call tracing, a la ktrace(1) 1151.1Shamajimaoptions SYSTRACE # system call vetting via systrace(1) 1161.1Shamajima#options IRQSTATS # manage IRQ statistics 1171.1Shamajima#options LKM # loadable kernel modules 1181.1Shamajima#options KMEMSTATS # kernel memory statistics 1191.1Shamajima#options SCSIVERBOSE # Verbose SCSI errors 1201.1Shamajima#options PCIVERBOSE # Verbose PCI descriptions 1211.1Shamajima#options MIIVERBOSE # Verbose MII autoconfuration messages 1221.1Shamajima#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1231.1Shamajima#options DDB_KEYCODE=0x40 1241.1Shamajima#options USERCONF # userconf(4) support 1251.1Shamajima#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1261.1Shamajima#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 1271.1Shamajima 1281.1Shamajima# Development and Debugging options 1291.1Shamajima 1301.1Shamajima#options PERFCTRS # performance counters 1311.1Shamajimaoptions DIAGNOSTIC # internally consistency checks 1321.1Shamajima#options DEBUG 1331.1Shamajima#options PMAP_DEBUG # Enable pmap_debug_level code 1341.1Shamajima#options IPKDB # remote kernel debugging 1351.1Shamajima#options VERBOSE_INIT_ARM # verbose bootstraping messages 1361.1Shamajimaoptions DDB # in-kernel debugger 1371.1Shamajima#options DDB_ONPANIC=1 1381.1Shamajimaoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB 1391.1Shamajima#makeoptions DEBUG="-g" # compile full symbol table 1401.1Shamajimaoptions SYMTAB_SPACE=450000 1411.1Shamajima 1421.1Shamajima#options PMAP_INCLUDE_PTE_SYNC 1431.1Shamajima#options LOCKDEBUG 1441.1Shamajima 1451.2Shamajimaconfig netbsd root on ? type ? 1461.1Shamajima#config netbsd root on epe0 type nfs 1471.2Shamajima#config netbsd root on wd0 type ffs 1481.1Shamajima#config netbsd root on sd0 type ffs 1491.1Shamajima 1501.1Shamajima# The main bus device 1511.1Shamajimamainbus0 at root 1521.1Shamajima 1531.1Shamajima# The boot cpu 1541.1Shamajimacpu0 at mainbus? 1551.1Shamajima 1561.1Shamajima# Cirrus Logic EP93xx System-on-chip 1571.1Shamajimaepsoc0 at mainbus? 1581.1Shamajima 1591.1Shamajima# AHB Peripheral 1601.1Shamajima# On-chip 10/100 Ethernet 1611.1Shamajimaepe0 at epsoc? addr 0x80010000 size 0x10000 intr 39 1621.1Shamajima# On-chip USB host controller 1631.1Shamajimaohci0 at epsoc? addr 0x80020000 size 0x1000 intr 56 1641.1Shamajima# On-chip Raster (not yet) 1651.1Shamajima#vga0 at epsoc? addr 0x80030000 size 0x10000 intr ?? 1661.1Shamajima# On-chip PCMCIA controller 1671.1Shamajimaeppcic0 at epsoc? addr 0x80080020 size 0x24 intr 49 1681.1Shamajima# On-chip IDE (not yet) 1691.1Shamajima#wdc0 at epsoc? addr 0x800a0000 size 0x38 intr ?? 1701.1Shamajima 1711.1Shamajima# APB Peripheral 1721.1Shamajima# On-chip timers 1731.1Shamajimaepclk0 at epsoc? addr 0x80810000 size 0x90 intr 4 1741.1Shamajima# GPIO 1751.1Shamajimaepgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59 1761.1Shamajimagpio* at epgpio? 1771.1Shamajima# On-chip serial UARTS 1781.1Shamajimaepcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52 1791.1Shamajimaepcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54 1801.1Shamajima#epcom2 at epsoc? addr 0x808e0000 size 0x1000 intr 55 1811.1Shamajima# RealTime Clock (no battery backup) 1821.1Shamajimaeprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37 1831.1Shamajima# Watchdog Timer 1841.1Shamajimaepwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36 1851.1Shamajima# LED 1861.1Shamajimaepled0 at epgpio0 port 4 bit1 0 bit2 1 1871.1Shamajima 1881.1Shamajima# I^2C Controller Unit 1891.1Shamajimaarmadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5 1901.1Shamajimaiic* at armadillo9iic? 1911.1Shamajimaseeprom0 at iic? addr 0x50 size 128 1921.1Shamajima#s3531rtc0 at iic? addr 0x30 1931.1Shamajima 1941.1Shamajima# PCMCIA bus support 1951.1Shamajimapcmcia* at eppcic0 controller ? socket ? 1961.1Shamajima 1971.1Shamajima# PCMCIA network interfaces 1981.1Shamajimane* at pcmcia? function ? # NE2000-compatible Ethernet 1991.1Shamajimawi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 2001.1Shamajima 2011.1Shamajima# MII/PHY support 2021.1Shamajimalxtphy* at mii? phy ? # Level One LXT-970 PHYs 2031.1Shamajima 2041.1Shamajima# PCMCIA serial interfaces 2051.1Shamajimacom* at pcmcia? function ? # Modems and serial cards 2061.1Shamajima 2071.1Shamajima# PCMCIA IDE disk 2081.1Shamajimawdc* at pcmcia? function ? 2091.1Shamajima 2101.1Shamajima# USB Controller and Devices 2111.1Shamajima 2121.1Shamajima# USB bus support 2131.1Shamajimausb* at ohci? 2141.1Shamajima 2151.1Shamajima# USB Hubs 2161.1Shamajimauhub* at usb? 2171.1Shamajimauhub* at uhub? port ? configuration ? interface ? 2181.1Shamajima 2191.1Shamajima# USB HID device 2201.1Shamajimauhidev* at uhub? port ? configuration ? interface ? 2211.1Shamajima 2221.1Shamajima# USB Mice 2231.1Shamajima#ums* at uhidev? reportid ? 2241.1Shamajima#wsmouse* at ums? mux 0 2251.1Shamajima 2261.1Shamajima# USB Keyboards 2271.1Shamajima#ukbd* at uhidev? reportid ? 2281.1Shamajima#wskbd* at ukbd? console ? mux 1 2291.1Shamajima 2301.1Shamajima# USB Generic HID devices 2311.1Shamajimauhid* at uhidev? reportid ? 2321.1Shamajima 2331.1Shamajima# USB Mass Storage 2341.1Shamajimaumass* at uhub? port ? configuration ? interface ? 2351.1Shamajimascsibus* at umass? 2361.1Shamajima 2371.1Shamajima# USB audio 2381.1Shamajima#uaudio* at uhub? port ? configuration ? 2391.1Shamajima 2401.1Shamajima# USB MIDI 2411.1Shamajima#umidi* at uhub? port ? configuration ? 2421.1Shamajima 2431.1Shamajima# USB Generic driver 2441.1Shamajimaugen* at uhub? port ? 2451.1Shamajima 2461.1Shamajima# ATA (IDE) bus support 2471.1Shamajimaatabus* at ata? 2481.1Shamajima 2491.1Shamajima# IDE drives 2501.1Shamajimawd* at atabus? drive ? flags 0x0000 2511.1Shamajima 2521.1Shamajima# ATAPI bus support 2531.1Shamajimaatapibus* at atapi? 2541.1Shamajima 2551.1Shamajima# ATAPI devices 2561.1Shamajimacd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 2571.1Shamajimasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2581.1Shamajimauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2591.1Shamajima 2601.1Shamajima# SCSI devices 2611.1Shamajimasd* at scsibus? target ? lun ? # SCSI disk drives 2621.1Shamajimacd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2631.1Shamajimauk* at scsibus? target ? lun ? # SCSI unknown 2641.1Shamajima 2651.1Shamajima# Audio support 2661.1Shamajima#audio* at audiobus? 2671.1Shamajima 2681.1Shamajima# MIDI support 2691.1Shamajima#midi* at midibus? 2701.1Shamajima 2711.1Shamajima# Pseudo-Devices 2721.1Shamajima 2731.1Shamajima# disk/mass storage pseudo-devices 2741.1Shamajima#pseudo-device md 1 # memory disk device (ramdisk) 2751.8Scubepseudo-device vnd # disk-like interface to files 2761.1Shamajima#pseudo-device fss 4 # file system snapshot device 2771.1Shamajima 2781.1Shamajima# network pseudo-devices 2791.7Srpaulopseudo-device bpfilter # Berkeley packet filter 2801.1Shamajima#pseudo-device ipfilter # IP filter (firewall) and NAT 2811.1Shamajimapseudo-device loop # network loopback 2821.8Scube#pseudo-device ppp # Point-to-Point Protocol 2831.1Shamajima#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 2841.8Scube#pseudo-device sl # Serial Line IP 2851.8Scube#pseudo-device strip # Starmode Radio IP (Metricom) 2861.1Shamajima#pseudo-device irframetty # IrDA frame line discipline 2871.1Shamajima#pseudo-device tap # virtual Ethernet 2881.8Scube#pseudo-device tun # network tunneling over tty 2891.8Scube#pseudo-device gre # generic L3 over IP tunnel 2901.8Scube#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2911.8Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2921.8Scube#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2931.1Shamajima#pseudo-device vlan # IEEE 802.1q encapsulation 2941.1Shamajima#pseudo-device bridge # simple inter-network bridging 2951.1Shamajima#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2961.1Shamajima#pseudo-device pf # PF packet filter 2971.1Shamajima#pseudo-device pflog # PF log if 2981.1Shamajima#pseudo-device kttcp # network loopback 2991.1Shamajima 3001.1Shamajima# miscellaneous pseudo-devices 3011.1Shamajimapseudo-device pty # pseudo-terminals 3021.1Shamajimapseudo-device rnd # /dev/random and in-kernel generator 3031.1Shamajima#options RND_COM 3041.1Shamajimapseudo-device clockctl # user control of clock subsystem 3051.1Shamajimapseudo-device ksyms # /dev/ksyms 3061.4Sthorpej#pseudo-device crypto # /dev/crypto device 3071.5Sthorpej#pseudo-device swcrypto # software crypto implementation 3081.1Shamajima#pseudo-device sequencer 1 # MIDI sequencer 3091.1Shamajima 3101.1Shamajima# 3111.1Shamajima# wscons options 3121.1Shamajima# 3131.1Shamajima# builtin terminal emulations 3141.1Shamajima#options WSEMUL_SUN # sun terminal emulation 3151.1Shamajimaoptions WSEMUL_VT100 # VT100 / VT220 emulation 3161.1Shamajima# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 3171.1Shamajima#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 3181.1Shamajima#options WS_DEFAULT_FG=WSCOL_WHITE 3191.1Shamajima#options WS_DEFAULT_BG=WSCOL_BLACK 3201.1Shamajima#options WS_DEFAULT_COLATTR="(0)" 3211.1Shamajima#options WS_DEFAULT_MONOATTR="(0)" 3221.1Shamajima#options WS_KERNEL_FG=WSCOL_GREEN 3231.1Shamajima#options WS_KERNEL_BG=WSCOL_BLACK 3241.1Shamajima#options WS_KERNEL_COLATTR="" 3251.1Shamajima#options WS_KERNEL_MONOATTR="" 3261.1Shamajima# customization of console border color 3271.1Shamajima#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 3281.1Shamajima#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 3291.1Shamajima# compatibility to other console drivers 3301.1Shamajima#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 3311.1Shamajima#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 3321.1Shamajima#options WSDISPLAY_COMPAT_USL # VT handling 3331.1Shamajima#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 3341.1Shamajima# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 3351.1Shamajima#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 3361.1Shamajima# allocate a number of virtual screens at autoconfiguration time 3371.1Shamajima#options WSDISPLAY_DEFAULTSCREENS=4 3381.1Shamajima# use a large software cursor that doesn't blink 3391.1Shamajima#options PCDISPLAY_SOFTCURSOR 3401.1Shamajima# modify the screen type of the console; defaults to "80x25" 3411.1Shamajima#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 3421.1Shamajima# work around a hardware bug that loaded fonts don't work; found on ATI cards 3431.1Shamajima#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 3441.1Shamajima# the following enables some functions to get mouse console support. 3451.1Shamajima# if you want a really secure system, it may be better not to enable them, 3461.1Shamajima# see wsmoused(8), section SECURITY CONSIDERATIONS for more info. 3471.1Shamajima#options WSDISPLAY_CHARFUNCS # mouse console support 3481.1Shamajima# console scrolling support. 3491.1Shamajima#options WSDISPLAY_SCROLLSUPPORT 3501.1Shamajima# enable VGA raster mode capable of displaying multilingual text on console 3511.1Shamajima#options VGA_RASTERCONSOLE 3521.1Shamajima 3531.1Shamajima# wscons pseudo-devices 3541.1Shamajima#pseudo-device wsmux # mouse & keyboard multiplexor 3551.1Shamajima#pseudo-device wsfont 356