version 1.2.2.1, 2007/04/03 18:05:57 |
version 1.2.2.2, 2007/04/10 13:39:27 |
|
|
|
# $NetBSD$ |
|
# $Id$ |
|
# |
|
# Example kernel config for the RouterBOARD 153. |
|
|
|
include "arch/evbmips/conf/std.adm5120" |
|
|
|
#ident "GENERIC-$Revision$" |
|
|
|
maxusers 32 |
|
|
|
options MIPS32 |
|
options NOFPU # No FPU |
|
options SOFTFLOAT # emulate FPU insn |
|
options CONSPEED=115200 # YAMON default |
|
#options HZ=512 # for profiling |
|
#options ADM5120_YAMON # if our bootloader is YAMON |
|
#options MEMSIZE="(32*1024*1024)" |
|
|
|
#options LOCKDEBUG |
|
options SOSEND_LOAN |
|
options SOSEND_COUNTERS |
|
options INET_CSUM_COUNTERS |
|
options TCP_CSUM_COUNTERS |
|
options UDP_CSUM_COUNTERS |
|
options TCP_OUTPUT_COUNTERS |
|
|
|
#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 DDB # kernel dynamic debugger |
|
options DDB_HISTORY_SIZE=100 # enable history editing in DDB |
|
makeoptions DEBUG="-g" # compile full symbol table |
|
makeoptions CPUFLAGS="-march=4kc" |
|
options SYMTAB_SPACE=360000 # size for embedded symbol table |
|
|
|
#options MEMORY_DISK_HOOKS |
|
#options MEMORY_DISK_IS_ROOT # Force root on ram-disk |
|
#options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes |
|
|
|
# File systems |
|
file-system FFS # Berkeley Fast Filesystem |
|
file-system TMPFS |
|
#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 PORTAL # portal filesystem (still experimental) |
|
#file-system PROCFS # /proc |
|
#file-system CD9660 # ISO 9660 + Rock Ridge 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 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 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_DEBUG # debug for IP security |
|
#options MROUTING # packet forwarding of multicast packets |
|
#options NS # Xerox NS networking |
|
#options NSIP # Xerox NS tunneling over IP |
|
#options ISO,TPIP # OSI networking |
|
#options EON # OSI tunneling over IP |
|
#options CCITT,LLC,HDLC # X.25 |
|
#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 |
|
|
|
# These options enable verbose messages for several subsystems. |
|
# Warning, these may compile large string tables into the kernel! |
|
#options MIIVERBOSE # verbose PHY autoconfig messages |
|
#options PCIVERBOSE # verbose PCI device autoconfig messages |
|
#options PCI_CONFIG_DUMP # verbosely dump PCI config space |
|
#options SCSIVERBOSE # human readable SCSI error messages |
|
#options USBVERBOSE # verbose USB device autoconfig messages |
|
|
|
options NFS_BOOT_DHCP |
|
#options NFS_BOOT_RWSIZE=1024 |
|
|
|
# Pretty much only one device to use for the root file system. |
|
config netbsd root on admsw0 type nfs |
|
|
|
mainbus0 at root |
|
|
|
cpu0 at mainbus? |
|
|
|
# Network pseudo-devices |
|
pseudo-device bpfilter # Berkeley packet filter |
|
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 gre # generic L3 over IP tunnel |
|
#pseudo-device ipip # RFC 2003 IP Encapsulation |
|
pseudo-device gif # RFC1933 tunnel |
|
#pseudo-device faith # IPv[46] tcp relay translation |
|
# Miscellaneous pseudo-devices |
|
pseudo-device pty # pseudo-terminals |
|
#pseudo-device sequencer # MIDI sequencer |
|
pseudo-device rnd # /dev/random & kernel generator |
|
pseudo-device pf # PF packet filter |
|
pseudo-device pflog # PF log if |
|
|
|
# A pseudo device needed for Coda # also needs CODA (above) |
|
#pseudo-device vcoda # coda minicache <-> venus comm. |
|
pseudo-device ksyms |
|
|
|
obio* at mainbus? |
|
gpio* at mainbus? |
|
extio* at mainbus? |
|
|
|
uart* at obio? addr ? |
|
admsw* at obio? addr ? |
|
#admflash* at obio? addr ? |
|
|
|
wdc* at extio? addr ? gpio_mask ? flags 0x1000 |
|
atabus* at wdc? channel ? |
|
wd* at atabus? drive ? |
|
|
|
#USB |
|
options USB_DEBUG |
|
options UHUB_DEBUG |
|
ahci* at obio? addr ? |
|
usb* at ahci? |
|
uhub* at usb? |
|
uhub* at uhub? port ? configuration ? interface ? |
|
ugen* at uhub? port ? |
|
umass* at uhub? port ? |
|
wd* at umass? |
|
|
|
options PCI_NETBSD_CONFIGURE |
|
admpci* at mainbus? |
|
pci* at admpci? |
|
ath* at pci? dev ? function ? |
|
|
|
options MSGBUFSIZE=65536 |
|
|
|
scsibus* at scsi? |
|
sd* at scsibus? target ? lun ? # SCSI disk drives |
|
|
|
options IPSELSRC |
|
#options WDC_EXTIO_DEBUG |
|
#options EXTIO_DEBUG |
|
#options ATADEBUG |