MV2120 revision 1.5
11.5Sjakllsch# $NetBSD: MV2120,v 1.5 2012/02/14 15:09:03 jakllsch Exp $ 21.1Sjakllsch# 31.1Sjakllsch# This configuration supports for HP MV2120/MV5140/MV5150. 41.1Sjakllsch 51.1Sjakllschinclude "arch/evbarm/conf/std.mv2120" 61.1Sjakllsch 71.1Sjakllschoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 81.5Sjakllschoptions SYMTAB_SPACE="(1024 * 908)" 91.1Sjakllsch 101.1Sjakllschmakeoptions DEBUG="-g" 111.1Sjakllsch 121.1Sjakllsch# estimated number of users 131.1Sjakllsch 141.1Sjakllschmaxusers 32 151.1Sjakllsch 161.1Sjakllsch# Board Type 171.3Sjakllschmakeoptions BOARDTYPE="mv2120" 181.3Sjakllschoptions EVBARM_BOARDTYPE=mv2120 191.1Sjakllsch 201.1Sjakllsch# CPU options 211.3Sjakllschoptions CPU_ARM9E 221.3Sjakllschmakeoptions CPUFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s -Os" 231.1Sjakllsch 241.1Sjakllsch# Marvell SoC options 251.1Sjakllschoptions ORION 261.1Sjakllsch 271.1Sjakllsch# Standard system options 281.1Sjakllsch 291.3Sjakllschoptions MSGBUFSIZE=32768 301.1Sjakllsch 311.1Sjakllschoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 321.1Sjakllschoptions NTP # NTP phase/frequency locked loop 331.1Sjakllsch 341.1Sjakllsch# File systems 351.1Sjakllsch 361.1Sjakllschfile-system FFS # UFS 371.1Sjakllschfile-system EXT2FS # second extended file system (linux) 381.1Sjakllschfile-system LFS # log-structured file system 391.1Sjakllschfile-system MFS # memory file system 401.1Sjakllschfile-system NFS # Network File System client 411.1Sjakllschfile-system NTFS # Windows/NT file system (experimental) 421.1Sjakllschfile-system CD9660 # ISO 9660 + Rock Ridge file system 431.1Sjakllschfile-system MSDOSFS # MS-DOS file system 441.1Sjakllschfile-system FDESC # /dev/fd 451.1Sjakllschfile-system KERNFS # /kern 461.1Sjakllschfile-system NULLFS # loopback file system 471.1Sjakllschfile-system OVERLAY # overlay file system 481.1Sjakllschfile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 491.1Sjakllschfile-system PROCFS # /proc 501.1Sjakllschfile-system UMAPFS # NULLFS + uid and gid remapping 511.1Sjakllschfile-system UNION # union file system 521.1Sjakllschfile-system CODA # Coda File System; also needs vcoda (below) 531.1Sjakllschfile-system SMBFS # experimental - CIFS; also needs nsmb (below) 541.1Sjakllschfile-system PTYFS # /dev/ptm support 551.1Sjakllschfile-system TMPFS # Efficient memory file-system 561.1Sjakllschfile-system UDF # experimental - OSTA UDF CD/DVD file-system 571.1Sjakllschfile-system HFS # experimental - Apple HFS+ (read-only) 581.1Sjakllsch 591.1Sjakllsch# File system options 601.1Sjakllschoptions QUOTA # UFS quotas 611.1Sjakllsch#options FFS_EI # FFS Endian Independent support 621.4Sdhollandoptions WAPBL # File system journaling support 631.1Sjakllsch# Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 641.1Sjakllsch# It is not recommended for general use. 651.1Sjakllsch#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 661.1Sjakllschoptions NFSSERVER # Network File System server 671.1Sjakllsch#options FFS_NO_SNAPSHOT # No FFS snapshot support 681.1Sjakllsch#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 691.1Sjakllsch # immutable) behave as system flags. 701.1Sjakllsch 711.1Sjakllsch# Networking options 721.1Sjakllsch 731.1Sjakllschoptions TCP_CSUM_COUNTERS 741.1Sjakllschoptions UDP_CSUM_COUNTERS 751.1Sjakllsch 761.1Sjakllsch#options GATEWAY # packet forwarding 771.1Sjakllschoptions INET # IP + ICMP + TCP + UDP 781.1Sjakllschoptions INET6 # IPv6 791.1Sjakllsch#options IPSEC # IP security 801.1Sjakllsch#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 811.1Sjakllsch#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 821.1Sjakllsch#options IPSEC_DEBUG # debug for IP security 831.1Sjakllsch#options MROUTING # IP multicast routing 841.1Sjakllsch#options PIM # Protocol Independent Multicast 851.1Sjakllsch#options ISO,TPIP # OSI 861.1Sjakllsch#options EON # OSI tunneling over IP 871.1Sjakllsch#options NETATALK # AppleTalk networking protocols 881.1Sjakllschoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 891.1Sjakllschoptions PPP_DEFLATE # Deflate compression support for PPP 901.1Sjakllschoptions PPP_FILTER # Active filter support for PPP (requires bpf) 911.1Sjakllschoptions PFIL_HOOKS # pfil(9) packet filter hooks 921.1Sjakllschoptions IPFILTER_LOG # ipmon(8) log support 931.1Sjakllschoptions IPFILTER_LOOKUP # ippool(8) support 941.1Sjakllschoptions IPFILTER_COMPAT # Compat for IP-Filter 951.1Sjakllsch#options IPFILTER_DEFAULT_BLOCK # block all packets by default 961.1Sjakllsch#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 971.1Sjakllsch 981.1Sjakllschoptions NFS_BOOT_BOOTP 991.1Sjakllsch#options NFS_BOOT_BOOTPARAM 1001.1Sjakllschoptions NFS_BOOT_DHCP 1011.1Sjakllschoptions NFS_BOOT_TCP 1021.1Sjakllsch 1031.1Sjakllsch# Compatibility options 1041.1Sjakllsch 1051.1Sjakllsch#options COMPAT_09 # NetBSD 0.9 compatibility. 1061.1Sjakllsch#options COMPAT_10 # NetBSD 1.0 compatibility. 1071.1Sjakllsch#options COMPAT_11 # NetBSD 1.1 compatibility. 1081.1Sjakllsch#options COMPAT_12 # NetBSD 1.2 compatibility. 1091.1Sjakllsch#options COMPAT_13 # NetBSD 1.3 compatibility. 1101.1Sjakllsch#options COMPAT_14 # NetBSD 1.4 compatibility. 1111.1Sjakllsch#options COMPAT_15 # NetBSD 1.5 compatibility. 1121.1Sjakllschoptions COMPAT_16 # NetBSD 1.6 compatibility. 1131.1Sjakllschoptions COMPAT_20 # NetBSD 2.0 compatibility. 1141.1Sjakllschoptions COMPAT_30 # NetBSD 3.0 compatibility. 1151.1Sjakllschoptions COMPAT_40 # NetBSD 4.0 compatibility. 1161.3Sjakllschoptions COMPAT_50 # NetBSD 5.0 compatibility. 1171.1Sjakllsch#options COMPAT_43 # 4.3BSD compatibility. 1181.1Sjakllsch#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 1191.1Sjakllsch 1201.1Sjakllschoptions COMPAT_LINUX # binary compatibility with Linux 1211.1Sjakllschoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1221.1Sjakllsch 1231.1Sjakllsch# Shared memory options 1241.1Sjakllsch 1251.1Sjakllsch#options SYSVMSG # System V-like message queues 1261.1Sjakllsch#options SYSVSEM # System V-like semaphores 1271.1Sjakllsch#options SEMMNI=10 # number of semaphore identifiers 1281.1Sjakllsch#options SEMMNS=60 # number of semaphores in system 1291.1Sjakllsch#options SEMUME=10 # max number of undo entries per process 1301.1Sjakllsch#options SEMMNU=30 # number of undo structures in system 1311.1Sjakllsch#options SYSVSHM # System V-like memory sharing 1321.1Sjakllsch#options SHMMAXPGS=1024 # 1024 pages is the default 1331.1Sjakllschoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 1341.1Sjakllsch 1351.1Sjakllsch# Device options 1361.1Sjakllsch 1371.1Sjakllsch#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 1381.1Sjakllsch#options MEMORY_DISK_IS_ROOT # use memory disk as root 1391.1Sjakllsch#options MEMORY_DISK_DYNAMIC 1401.1Sjakllsch#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 1411.1Sjakllsch#options MEMORY_RBFLAGS=RB_AUTOBOOT 1421.1Sjakllsch 1431.1Sjakllsch# Miscellaneous kernel options 1441.1Sjakllsch 1451.1Sjakllschoptions KTRACE # system call tracing, a la ktrace(1) 1461.1Sjakllschoptions IRQSTATS # manage IRQ statistics 1471.1Sjakllsch#options KMEMSTATS # kernel memory statistics 1481.1Sjakllschoptions DDB # in-kernel debugger 1491.1Sjakllschoptions MIIVERBOSE # Verbose MII autoconfuration messages 1501.1Sjakllsch#options PCIVERBOSE # Verbose PCI descriptions 1511.1Sjakllschoptions SCSIVERBOSE # human readable SCSI error messages 1521.1Sjakllschoptions USBVERBOSE # verbose USB device autoconfig messages 1531.1Sjakllsch#options DDB_KEYCODE=0x40 1541.1Sjakllschoptions USERCONF # userconf(4) support 1551.1Sjakllsch#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1561.1Sjakllsch#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 1571.1Sjakllsch 1581.1Sjakllschconfig netbsd root on ? type ? 1591.1Sjakllschconfig netbsd-mvgbe0 root on mvgbe0 type nfs 1601.5Sjakllschconfig netbsd-wd0e root on wd0e type ? 1611.5Sjakllschconfig netbsd-wd0f root on wd0f type ? 1621.5Sjakllschconfig netbsd-wd0g root on wd0g type ? 1631.5Sjakllschconfig netbsd-wd0h root on wd0h type ? 1641.1Sjakllsch 1651.1Sjakllsch# The main bus device 1661.1Sjakllschmainbus0 at root 1671.1Sjakllsch 1681.1Sjakllsch# The boot cpu 1691.1Sjakllschcpu0 at mainbus? 1701.1Sjakllsch 1711.1Sjakllsch# Mervell MV88Fxx81 Orion System-on-Chip 1721.1Sjakllschmvsoc0 at mainbus? 1731.1Sjakllsch 1741.1Sjakllsch# On-chip PCI Express Interface 1751.3Sjakllsch#mvpex* at mvsoc? offset ? irq ? 1761.1Sjakllsch 1771.1Sjakllsch# On-chip PCI Interface 1781.3Sjakllsch#gtpci* at mvsoc? offset ? irq ? 1791.1Sjakllsch 1801.1Sjakllsch# PCI bus support 1811.1Sjakllsch#options PCI_NETBSD_CONFIGURE 1821.1Sjakllsch#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1831.1Sjakllsch 1841.3Sjakllsch#pci* at mvpex? 1851.3Sjakllsch#pci* at gtpci? 1861.3Sjakllsch 1871.3Sjakllsch#pchb* at pci? dev ? function ? # PCI-Host bridges 1881.1Sjakllsch 1891.3Sjakllsch# PCI IDE Controller 1901.3Sjakllsch#mvsata* at pci? dev ? function ? # Marvell SATA Controller 1911.1Sjakllsch 1921.1Sjakllsch# On-chip Serial-ATA II Host Controller (SATAHC) 1931.1Sjakllschmvsata* at mvsoc? offset ? irq ? 1941.1Sjakllsch 1951.1Sjakllsch# On-chip Gigabit Ethernet Controller Interface 1961.1Sjakllschmvgbec* at mvsoc? offset ? 1971.1Sjakllschmvgbe* at mvgbec? port ? irq ? 1981.1Sjakllsch 1991.1Sjakllsch# On-chip USB 2.0 Interface 2001.1Sjakllschehci* at mvsoc? offset ? irq ? 2011.1Sjakllsch 2021.1Sjakllsch# On-chip Cryptographic Engines and Security Accelerator 2031.1Sjakllsch#mvcesa* at mvsoc? offset ? irq ? 2041.1Sjakllsch 2051.1Sjakllsch# On-chip Two-Wire Serial Interface (TWSI) 2061.1Sjakllschgttwsi* at mvsoc? offset ? irq ? 2071.1Sjakllschiic* at gttwsi? # I2C bus 2081.1Sjakllsch 2091.1Sjakllsch# On-chip UART Interface 2101.1Sjakllschcom* at mvsoc? offset ? irq ? 2111.1Sjakllsch 2121.1Sjakllsch# On-chip IDMA Controller 2131.3Sjakllsch#gtidmac* at mvsoc? offset ? irq ? 2141.1Sjakllsch 2151.1Sjakllsch# On-chip General Purpose I/O Port Interface 2161.1Sjakllschmvsocgpp* at mvsoc? offset ? irq ? 2171.1Sjakllschgpio* at mvsocgpp? 2181.1Sjakllsch 2191.1Sjakllsch# On-chip Timers 2201.1Sjakllschmvsoctmr* at mvsoc? offset ? irq ? 2211.1Sjakllsch 2221.1Sjakllsch# Real Time Clock 2231.1Sjakllschpcf8563rtc* at iic? addr 0x51 2241.1Sjakllsch 2251.1Sjakllsch# MII/PHY support 2261.1Sjakllschmakphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 2271.1Sjakllsch 2281.1Sjakllsch# ATA (IDE) bus support 2291.1Sjakllschatabus* at ata? 2301.1Sjakllsch#options ATADEBUG 2311.1Sjakllsch 2321.1Sjakllsch# IDE drives 2331.1Sjakllschwd0 at atabus0 drive 0 flags 0x0000 2341.1Sjakllschwd1 at atabus1 drive 0 flags 0x0000 2351.1Sjakllschwd* at atabus? drive ? flags 0x0000 2361.1Sjakllsch 2371.1Sjakllsch# ATAPI bus support 2381.1Sjakllschatapibus* at atapi? 2391.1Sjakllsch 2401.1Sjakllsch# ATAPI devices 2411.1Sjakllsch# flags have the same meaning as for IDE drives. 2421.1Sjakllschcd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2431.1Sjakllschsd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2441.1Sjakllschst* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 2451.1Sjakllschuk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2461.1Sjakllsch 2471.1Sjakllsch# SCSI bus support 2481.1Sjakllschscsibus* at scsi? 2491.1Sjakllsch 2501.1Sjakllsch# SCSI devices 2511.1Sjakllschsd* at scsibus? target ? lun ? # SCSI disk drives 2521.1Sjakllschcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2531.1Sjakllschst* at scsibus? target ? lun ? # SCSI tape drives 2541.1Sjakllschuk* at scsibus? target ? lun ? # SCSI unknown 2551.1Sjakllsch 2561.1Sjakllschusb* at ehci? 2571.1Sjakllschinclude "dev/usb/usbdevices.config" 2581.1Sjakllschinclude "dev/bluetooth/bluetoothdevices.config" 2591.1Sjakllsch 2601.1Sjakllschaudio* at audiobus? 2611.1Sjakllschmidi* at midibus? 2621.1Sjakllsch 2631.1Sjakllsch# Pseudo-Devices 2641.1Sjakllsch 2651.1Sjakllschpseudo-device crypto # /dev/crypto device 2661.1Sjakllschpseudo-device swcrypto # software crypto implementation 2671.1Sjakllsch 2681.1Sjakllsch# disk/mass storage pseudo-devices 2691.3Sjakllsch#pseudo-device bio # RAID control device driver 2701.1Sjakllschpseudo-device ccd 4 # concatenated/striped disk devices 2711.1Sjakllschpseudo-device cgd 4 # cryptographic disk devices 2721.1Sjakllschpseudo-device raid 8 # RAIDframe disk driver 2731.1Sjakllschoptions RAID_AUTOCONFIG # auto-configuration of RAID components 2741.1Sjakllsch# Options to enable various other RAIDframe RAID types. 2751.1Sjakllsch#options RF_INCLUDE_EVENODD=1 2761.1Sjakllsch#options RF_INCLUDE_RAID5_RS=1 2771.1Sjakllsch#options RF_INCLUDE_PARITYLOGGING=1 2781.1Sjakllsch#options RF_INCLUDE_CHAINDECLUSTER=1 2791.1Sjakllsch#options RF_INCLUDE_INTERDECLUSTER=1 2801.1Sjakllsch#options RF_INCLUDE_PARITY_DECLUSTERING=1 2811.1Sjakllsch#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2821.1Sjakllschpseudo-device fss # file system snapshot device 2831.1Sjakllschpseudo-device putter # for puffs and pud 2841.1Sjakllsch 2851.1Sjakllsch#pseudo-device md # memory disk device (ramdisk) 2861.1Sjakllschpseudo-device vnd # disk-like interface to files 2871.1Sjakllschoptions VND_COMPRESSION # compressed vnd(4) 2881.1Sjakllsch 2891.1Sjakllsch# network pseudo-devices 2901.1Sjakllschpseudo-device bpfilter # Berkeley packet filter 2911.1Sjakllsch#pseudo-device carp # Common Address Redundancy Protocol 2921.1Sjakllschpseudo-device ipfilter # IP filter (firewall) and NAT 2931.1Sjakllschpseudo-device loop # network loopback 2941.1Sjakllschpseudo-device ppp # Point-to-Point Protocol 2951.1Sjakllschpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2961.1Sjakllsch#pseudo-device sl # Serial Line IP 2971.1Sjakllsch#pseudo-device strip # Starmode Radio IP (Metricom) 2981.1Sjakllsch#pseudo-device irframetty # IrDA frame line discipline 2991.1Sjakllschpseudo-device tap # virtual Ethernet 3001.1Sjakllschpseudo-device tun # network tunneling over tty 3011.1Sjakllsch#pseudo-device gre # generic L3 over IP tunnel 3021.1Sjakllschpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 3031.1Sjakllsch#pseudo-device faith # IPv[46] TCP relay translation i/f 3041.1Sjakllschpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3051.1Sjakllschpseudo-device vlan # IEEE 802.1q encapsulation 3061.1Sjakllsch#pseudo-device bridge # simple inter-network bridging 3071.1Sjakllsch#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3081.1Sjakllsch#pseudo-device agr # IEEE 802.3ad link aggregation 3091.1Sjakllsch#pseudo-device pf # PF packet filter 3101.1Sjakllsch#pseudo-device pflog # PF log if 3111.1Sjakllsch 3121.1Sjakllsch# miscellaneous pseudo-devices 3131.1Sjakllschpseudo-device pty # pseudo-terminals 3141.1Sjakllsch#pseudo-device sequencer 1 # MIDI sequencer 3151.1Sjakllsch#options RND_COM 3161.1Sjakllschpseudo-device clockctl # user control of clock subsystem 3171.1Sjakllschpseudo-device ksyms # /dev/ksyms 3181.1Sjakllsch 3191.1Sjakllsch# a pseudo device needed for Coda # also needs CODA (above) 3201.1Sjakllschpseudo-device vcoda 4 # coda minicache <-> venus comm. 3211.1Sjakllsch 3221.1Sjakllsch# a pseudo device needed for SMBFS 3231.1Sjakllschpseudo-device nsmb # experimental - SMB requester 3241.1Sjakllsch 3251.1Sjakllsch# wscons pseudo-devices 3261.1Sjakllschpseudo-device wsmux # mouse & keyboard multiplexor 3271.1Sjakllschpseudo-device wsfont 3281.1Sjakllsch 3291.1Sjakllsch# data mover pseudo-devices 3301.3Sjakllsch#pseudo-device swdmover # softare dmover(9) back-end 3311.3Sjakllsch#pseudo-device dmoverio # /dev/dmover dmover(9) interface 3321.1Sjakllsch 3331.1Sjakllschpseudo-device dm 3341.1Sjakllsch 3351.1Sjakllschoptions FILEASSOC # fileassoc(9) - required for Veriexec 3361.1Sjakllsch 3371.1Sjakllsch# Veriexec 3381.1Sjakllschpseudo-device veriexec 3391.1Sjakllsch# 3401.1Sjakllsch# Uncomment the fingerprint methods below that are desired. Note that 3411.1Sjakllsch# removing fingerprint methods will have almost no impact on the kernel 3421.1Sjakllsch# code size. 3431.1Sjakllsch# 3441.1Sjakllschoptions VERIFIED_EXEC_FP_RMD160 3451.1Sjakllschoptions VERIFIED_EXEC_FP_SHA256 3461.1Sjakllschoptions VERIFIED_EXEC_FP_SHA384 3471.1Sjakllschoptions VERIFIED_EXEC_FP_SHA512 3481.1Sjakllschoptions VERIFIED_EXEC_FP_SHA1 3491.1Sjakllschoptions VERIFIED_EXEC_FP_MD5 3501.1Sjakllsch 3511.1Sjakllschoptions PAX_MPROTECT=0 # PaX mprotect(2) restrictions 3521.1Sjakllschoptions PAX_ASLR=0 # PaX Address Space Layout Randomization 3531.1Sjakllsch 3541.1Sjakllschpseudo-device drvctl 3551.1Sjakllsch 3561.1Sjakllschoptions DKWEDGE_AUTODISCOVER 3571.1Sjakllschoptions DKWEDGE_METHOD_GPT 3581.1Sjakllschoptions BUFQ_READPRIO 3591.1Sjakllschoptions BUFQ_PRIOCSCAN 360