Module Name: src
Committed By: matt
Date: Sat Dec 24 01:42:48 UTC 2011
Added Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: INSTALL_XLPEVB32 XLPEVB
XLPEVB32
Log Message:
Add config files for the XLPEVB for the XLP8xx board. (should work on any
XLP eval board).
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/evbmips/conf/INSTALL_XLPEVB32 \
src/sys/arch/evbmips/conf/XLPEVB src/sys/arch/evbmips/conf/XLPEVB32
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/sys/arch/evbmips/conf/INSTALL_XLPEVB32
diff -u /dev/null src/sys/arch/evbmips/conf/INSTALL_XLPEVB32:1.1.2.1
--- /dev/null Sat Dec 24 01:42:48 2011
+++ src/sys/arch/evbmips/conf/INSTALL_XLPEVB32 Sat Dec 24 01:42:48 2011
@@ -0,0 +1,19 @@
+# $NetBSD: INSTALL_XLPEVB32,v 1.1.2.1 2011/12/24 01:42:48 matt Exp $
+
+include "arch/evbmips/conf/XLPEVB32"
+
+no config netbsd-wm0
+no config netbsd-sd0a
+
+makeoptions NEED_MDSETIMAGE="yes"
+
+#ident "INSTALL_XLSATX32-$Revision: 1.1.2.1 $"
+
+# Enable the hooks used for initializing the root memory-disk.
+# The ramdisk size must be kept in sync manually with the size of
+# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+pseudo-device md # memory disk device
+options MEMORY_DISK_HOOKS
+options MEMORY_DISK_IS_ROOT # force root on memory disk
+options MEMORY_DISK_SERVER=0 # no userspace memory disk
+options MEMORY_DISK_ROOT_SIZE=12288 # size of memory disk, in blocks
Index: src/sys/arch/evbmips/conf/XLPEVB
diff -u /dev/null src/sys/arch/evbmips/conf/XLPEVB:1.1.2.1
--- /dev/null Sat Dec 24 01:42:48 2011
+++ src/sys/arch/evbmips/conf/XLPEVB Sat Dec 24 01:42:48 2011
@@ -0,0 +1,221 @@
+# $NetBSD: XLPEVB,v 1.1.2.1 2011/12/24 01:42:48 matt Exp $
+
+include "arch/evbmips/conf/std.rmixlp"
+
+#ident "XLSATX-$Revision: 1.1.2.1 $"
+
+#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
+
+maxusers 32
+
+#
+# MEMSIZE can be used to limit memory amount used
+#
+#options MEMSIZE=0x10000000 # 256MB
+
+#
+# MEMLIMIT can be used to limit memory address used
+#
+defparam opt_memsize.h MEMLIMIT
+#options MEMLIMIT=0x10000000 # 256MB
+
+options NOFPU # No FPU
+#options FPEMUL # emulate FPU insn
+
+# Standard system options
+options KTRACE # system call tracing support
+options SYSVMSG # System V message queues
+options SYSVSEM # System V semaphores
+options SYSVSHM # System V shared memory
+#options SHMMAXPGS=1024 # 1024 pages is the default
+#options LKM # loadable kernel modules
+options NTP # network time protocol
+
+# Debugging options
+options DIAGNOSTIC # extra kernel sanity checking
+options DEBUG # extra kernel debugging support
+#options KMEMSTATS # kernel memory statistics (vmstat -m)
+options MSGBUFSIZE=65536 # kernel dmesg buffer
+options USERCONF # userconf(4) support
+#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
+options DDB # kernel dynamic debugger
+options DDB_HISTORY_SIZE=100 # enable history editing in DDB
+makeoptions DEBUG="-g" # compile full symbol table
+options SYMTAB_SPACE=500000 # size for embedded symbol table
+#options DDB_COMMANDONENTER="trace;show registers"
+options DB_MAX_LINE=-1
+
+# Compatibility options
+#options COMPAT_43 # compatibility with 4.3BSD binaries
+#options COMPAT_09 # NetBSD 0.9 binary compatibility
+#options COMPAT_10 # NetBSD 1.0 binary compatibility
+#options COMPAT_11 # NetBSD 1.1 binary compatibility
+#options COMPAT_12 # NetBSD 1.2 binary compatibility
+#options COMPAT_13 # NetBSD 1.3 binary compatibility
+#options COMPAT_14 # NetBSD 1.4 binary compatibility
+#options COMPAT_15 # NetBSD 1.5 binary compatibility
+options COMPAT_16 # NetBSD 1.6 binary compatibility
+options COMPAT_20 # NetBSD 2.0 binary compatibility
+options COMPAT_30 # NetBSD 3.0 compatibility.
+options COMPAT_40 # NetBSD 4.0 compatibility.
+#options EXEC_ECOFF # exec ECOFF binaries
+#options COMPAT_ULTRIX # binary compatibility with Ultrix
+options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
+
+# File systems
+file-system FFS # Berkeley Fast Filesystem
+file-system MFS # memory-based filesystem
+#file-system EXT2FS # second extended file system (linux)
+file-system NFS # Sun NFS-compatible filesystem client
+file-system KERNFS # kernel data-structure filesystem
+#file-system NULLFS # NULL layered filesystem
+#file-system OVERLAY # overlay file system
+#file-system FDESC # user file descriptor filesystem
+#file-system UMAPFS # uid/gid remapping filesystem
+#file-system LFS # Log-based filesystem (still experimental)
+#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
+file-system PROCFS # /proc
+file-system CD9660 # ISO 9660 + Rock Ridge file system
+file-system TMPFS # Efficient memory file system
+#file-system UNION # union file system
+file-system MSDOSFS # MS-DOS FAT filesystem(s).
+#file-system CODA # Coda File System; also needs vcoda (below)
+file-system PTYFS # /dev/pts/N support
+
+# File system options
+#options NFSSERVER # Sun NFS-compatible filesystem server
+#options QUOTA # FFS quotas
+#options FFS_EI # FFS Endian Independant support
+#options SOFTDEP # FFS soft updates support.
+options WAPBL # File system journaling support - Experimental
+options FFS_NO_SNAPSHOT # No FFS snapshot support
+#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
+ # immutable) behave as system flags.
+
+# Networking options
+#options GATEWAY # IP packet forwarding
+options INET # Internet protocols
+#options INET6 # IPV6
+#options IPSEC # IP security
+#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
+#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
+#options IPSEC_DEBUG # debug for IP security
+#options MROUTING # packet forwarding of multicast packets
+#options PIM # Protocol Independent Multicast
+#options ISO,TPIP # OSI networking
+#options EON # OSI tunneling over IP
+#options NETATALK # AppleTalk (over Ethernet) protocol
+#options PPP_BSDCOMP # BSD-Compress compression support for PPP
+#options PPP_DEFLATE # Deflate compression support for PPP
+#options PPP_FILTER # Active filter support for PPP (requires bpf)
+#options PFIL_HOOKS # pfil(9) packet filter hooks
+#options IPFILTER_LOG # ipmon(8) log support
+#options IPFILTER_LOOKUP # ippool(8) support
+
+# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
+#options TCP_COMPAT_42
+
+# These options enable verbose messages for several subsystems.
+# Warning, these may compile large string tables into the kernel!
+#options PCI_NETBSD_CONFIGURE # NetBSD configures the PCI bus
+options PCIVERBOSE # verbose PCI device autoconfig messages
+#options PCI_CONFIG_DUMP # verbosely dump PCI config space
+#options SCSIVERBOSE # human readable SCSI error messages
+options MIIVERBOSE # verbose PHY autoconfig messages
+
+# Bitmask for enabling the PCI IDE channels in the southbridge.
+# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
+#
+# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
+# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
+options PCI_NETBSD_ENABLE_IDE=0x1
+
+options NFS_BOOT_DHCP
+
+config netbsd root on ? type ?
+config netbsd-wm0 root on wm0 type nfs
+config netbsd-sd0a root on sd0a type ffs
+
+
+mainbus0 at root
+cpunode* at mainbus? node ?
+cpucore* at cpunode? core ?
+cpu* at cpucore? thread ?
+rmixlp_pcie0 at mainbus? # XLP
+pci0 at rmixlp_pcie0
+com0 at pci0 dev 6 function 0 # XLP
+options COM_REGMAP
+ppb* at pci?
+pci* at ppb?
+wm* at pci? dev ? function ? # Intel i82546EB Gig-E
+makphy* at mii? phy ? # Marvell 88E1000 PHYs
+ukphy* at mii? phy ? # unknown PHY
+com* at pci? dev ? function ?
+ehci* at pci? dev ? function 6 # won't match
+ohci* at pci? dev ? function 7 # won't match
+#ehci* at pci? dev ? function 6
+#ohci* at pci? dev ? function ?
+xlsdio* at pci? dev ? function ?
+sdhc* at xlsdio? slot 0
+sdmmc* at sdhc?
+ld* at sdmmc?
+xlnae* at pci? dev ? function ?
+nae5 at xlnae? port 16
+xli2c0 at pci0 dev 6 function 2
+xli2c1 at pci0 dev 6 function 3
+iic* at xli2c?
+spdmem* at iic? addr 0x51
+spdmem* at iic? addr 0x52
+seeprom* at iic1 addr 0x57 size 2048
+ahcisata* at pci? dev ? function ?
+siisata* at pci? dev ? function ?
+atabus* at ata?
+wd* at atabus? drive ? flags 0x0000
+
+# USB
+usb* at ohci?
+usb* at ehci?
+uhub* at usb?
+uhub* at uhub? port ?
+umass* at uhub? port ? configuration ? interface ?
+wd* at umass?
+scsibus* at umass? channel ?
+sd* at scsibus? target ? lun ?
+
+
+# Pseudo-devices
+
+# Disk/mass storage pseudo-devices
+#pseudo-device ccd 4 # concatenated disk devices
+#pseudo-device raid 4 # RAIDframe disk driver
+#options RAID_AUTOCONFIG # auto-configuration of RAID
+#pseudo-device fss 4 # file system snapshot device
+pseudo-device vnd # disk-like interface to files
+
+# Network pseudo-devices
+pseudo-device bpfilter # Berkeley packet filter
+pseudo-device ipfilter # IP filter (firewall) and NAT
+pseudo-device loop # network loopback
+#pseudo-device ppp # Point-to-Point Protocol
+#pseudo-device sl # Serial Line IP
+#pseudo-device strip # Starmode Radio IP (Metricom)
+#pseudo-device tun # network tunneling over tty
+#pseudo-device tap # virtual Ethernet
+#pseudo-device gre # generic L3 over IP tunnel
+#pseudo-device ipip 2 # RFC 2003 IP Encapsulation
+#pseudo-device gif # RFC1933 tunnel
+#pseudo-device faith # IPv[46] tcp relay translation
+#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
+#pseudo-device vlan # IEEE 802.1q encapsulation
+#pseudo-device bridge # simple inter-network bridging
+pseudo-device kttcp # kernel ttcp
+
+# Miscellaneous pseudo-devices
+pseudo-device pty # pseudo-terminals
+#pseudo-device sequencer 1 # MIDI sequencer
+pseudo-device rnd # /dev/random & kernel generator
+pseudo-device clockctl # user control of clock subsystem
+pseudo-device ksyms # /dev/ksyms
+
+# A pseudo device needed for Coda # also needs CODA (above)
+#pseudo-device vcoda 4 # coda minicache <-> venus comm.
Index: src/sys/arch/evbmips/conf/XLPEVB32
diff -u /dev/null src/sys/arch/evbmips/conf/XLPEVB32:1.1.2.1
--- /dev/null Sat Dec 24 01:42:48 2011
+++ src/sys/arch/evbmips/conf/XLPEVB32 Sat Dec 24 01:42:48 2011
@@ -0,0 +1,17 @@
+# $NetBSD: XLPEVB32,v 1.1.2.1 2011/12/24 01:42:48 matt Exp $
+#
+
+#ident "XLSATX32-$Revision: 1.1.2.1 $"
+
+include "arch/evbmips/conf/XLPEVB"
+
+#options MEMLIMIT=0x20000000 # 512MB
+options ENABLE_MIPS_KSEGX
+options PCI_NETBSD_CONFIGURE
+#options PCI_CONFIG_DUMP
+options PCI_VERBOSE
+#options SDMMC_DEBUG
+
+makeoptions LP64="no"
+makeoptions NEED_BINARY="yes"
+makeoptions NEED_UBOOTIMAGE="yes"