4acb6306f5
There are quite a few configs that are missing some COMPAT_NN options in ways that don't make sense; this should probably get cleaned up too, but for the time being I've not added or removed anything.
256 lines
7.8 KiB
Plaintext
256 lines
7.8 KiB
Plaintext
#
|
|
# LUBBOCK -- Intel LUBBOCK Evaluation Board Kernel
|
|
#
|
|
|
|
include "arch/evbarm/conf/std.lubbock"
|
|
|
|
# estimated number of users
|
|
|
|
maxusers 32
|
|
|
|
#options INTR_DEBUG
|
|
|
|
# Standard system options
|
|
|
|
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
#options NTP # NTP phase/frequency locked loop
|
|
|
|
# CPU options
|
|
|
|
options CPU_XSCALE_PXA250 # Support the XScale core
|
|
#options XSCALE_CACHE_WRITE_THROUGH
|
|
#options XSCALE_CACHE_WRITE_BACK
|
|
makeoptions CPUFLAGS="-mcpu=xscale"
|
|
|
|
# Architecture options
|
|
|
|
# File systems
|
|
|
|
file-system FFS # UFS
|
|
#file-system LFS # log-structured file system
|
|
file-system MFS # memory file system
|
|
file-system NFS # Network file system
|
|
#file-system ADOSFS # AmigaDOS-compatible file system
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
file-system MSDOSFS # MS-DOS file system
|
|
#file-system FDESC # /dev/fd
|
|
#file-system KERNFS # /kern
|
|
#file-system NULLFS # loopback file system
|
|
#file-system PROCFS # /proc
|
|
#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
|
|
#file-system UMAPFS # NULLFS + uid and gid remapping
|
|
#file-system UNION # union file system
|
|
file-system PTYFS # /dev/pts/N support
|
|
|
|
# File system options
|
|
#options QUOTA # legacy UFS quotas
|
|
#options QUOTA2 # new, in-filesystem UFS quotas
|
|
#options FFS_EI # FFS Endian Independent support
|
|
#options NFSSERVER
|
|
options WAPBL # File system journaling support
|
|
#options FFS_NO_SNAPSHOT # No FFS snapshot support
|
|
|
|
# Networking options
|
|
|
|
#options GATEWAY # packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
#options MROUTING # IP multicast routing
|
|
#options PIM # Protocol Independent Multicast
|
|
#options NETATALK # AppleTalk networking
|
|
#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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
|
|
|
options NFS_BOOT_BOOTP
|
|
options NFS_BOOT_DHCP
|
|
options NFS_BOOT_BOOTPARAM
|
|
|
|
# Compatibility options
|
|
|
|
options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
|
|
#options COMPAT_43 # 4.3BSD compatibility.
|
|
#options COMPAT_09 # NetBSD 0.9,
|
|
#options COMPAT_10 # NetBSD 1.0,
|
|
#options COMPAT_11 # NetBSD 1.1,
|
|
#options COMPAT_12 # NetBSD 1.2,
|
|
#options COMPAT_13 # NetBSD 1.3,
|
|
#options COMPAT_14 # NetBSD 1.4,
|
|
#options COMPAT_15 # NetBSD 1.5,
|
|
options COMPAT_16 # NetBSD 1.6,
|
|
options COMPAT_20 # NetBSD 2.0,
|
|
options COMPAT_30 # NetBSD 3.0,
|
|
options COMPAT_40 # NetBSD 4.0,
|
|
options COMPAT_50 # NetBSD 5.0,
|
|
options COMPAT_60 # NetBSD 6.0, and
|
|
options COMPAT_70 # NetBSD 7.0 binary compatibility.
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# Shared memory options
|
|
|
|
#options SYSVMSG # System V-like message queues
|
|
#options SYSVSEM # System V-like semaphores
|
|
#options SYSVSHM # System V-like memory sharing
|
|
|
|
# Device options
|
|
|
|
#options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
|
#options MEMORY_DISK_ROOT_SIZE=16384 # Size in blocks
|
|
#options MEMORY_DISK_DYNAMIC
|
|
#options MINIROOTSIZE=1000 # Size in blocks
|
|
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
|
|
|
# Miscellaneous kernel options
|
|
options KTRACE # system call tracing, a la ktrace(1)
|
|
#options KMEMSTATS # kernel memory statistics
|
|
options PCMCIAVERBOSE # verbose PCMCIA configuration messages
|
|
#options SCSIVERBOSE # Verbose SCSI errors
|
|
#options MIIVERBOSE # Verbose MII autoconfuration messages
|
|
#options DDB_KEYCODE=0x40
|
|
#options USERCONF # userconf(4) support
|
|
|
|
# Development and Debugging options
|
|
|
|
options DIAGNOSTIC # internal consistency checks
|
|
#options DEBUG
|
|
#options PMAP_DEBUG # Enable pmap_debug_level code
|
|
#options VERBOSE_INIT_ARM # verbose bootstraping messages
|
|
#options DDB # in-kernel debugger
|
|
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
|
#options KGDB
|
|
#options DEBUG_KGDB
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
#makeoptions COPY_SYMTAB=1
|
|
|
|
config netbsd root on ? type ?
|
|
config netbsd-sm0 root on sm0 type nfs
|
|
|
|
# The main bus device
|
|
mainbus0 at root
|
|
|
|
# The boot cpu
|
|
cpu0 at mainbus?
|
|
|
|
# integrated peripherals
|
|
pxaip0 at mainbus?
|
|
|
|
pxaintc0 at pxaip? # interrupt controller
|
|
pxagpio0 at pxaip? # GPIO
|
|
|
|
# cotulla integrated 16550 UARTs
|
|
options COM_PXA2X0
|
|
com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
|
|
com1 at pxaip? addr 0x40200000 intr 21 # BlueTootth UART
|
|
#com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA)
|
|
options FFUARTCONSOLE
|
|
options BTUARTCONSOLE
|
|
options KGDB_DEVNAME="\"btuart\"" # ffuart or btuart
|
|
options KGDB_DEVRATE=115200
|
|
|
|
# DMAC support
|
|
pxadmac0 at pxaip? addr 0x40000000 intr 25
|
|
options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
|
|
#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
|
|
|
|
# AC97 Audio support
|
|
pxaacu0 at pxaip? addr 0x40500000 intr 14
|
|
audio* at audiobus?
|
|
|
|
# On-board device support
|
|
obio0 at pxaip? intr 8
|
|
sm0 at obio? addr 0x0c000000 intr 3 # on-board SMC 91C96
|
|
#options LUBBOCK_SMC91C96_16BIT
|
|
|
|
# LCD
|
|
lcd0 at obio?
|
|
wsdisplay* at lcd? console ?
|
|
options WSEMUL_VT100 # VT100 / VT220 emulation
|
|
options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
|
|
|
|
# SA1111 companion chip
|
|
sacc0 at obio? addr 0x10000000 intr 1
|
|
|
|
sacpcic* at sacc?
|
|
pcmcia* at sacpcic?
|
|
|
|
sackbc0 at sacc0 addr 0x0a00 intr 21
|
|
sackbc1 at sacc0 addr 0x0c00 intr 18
|
|
|
|
# PS/2 controller of SA-1111 doesn't have "slot"; One device is attached
|
|
# to one controller. However, pckbd driver requires "slot 0" and pms driver
|
|
# requires "slot 1"
|
|
pckbd* at sackbc0 slot 0
|
|
wskbd* at pckbd? # console ?
|
|
pms* at sackbc1 slot 1
|
|
wsmouse* at pms? mux 0
|
|
|
|
# PCMCIA serial interfaces
|
|
com* at pcmcia? function ? # Modems and serial cards
|
|
|
|
pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
|
|
com* at pcmcom? slave ? # ...and the slave devices
|
|
|
|
# PCMCIA SCSI controllers
|
|
aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
|
|
esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI
|
|
|
|
# SCSI bus support
|
|
scsibus* at scsi?
|
|
|
|
# SCSI devices
|
|
sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
st* at scsibus? target ? lun ? # SCSI tape drives
|
|
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
|
ch* at scsibus? target ? lun ? # SCSI autochangers
|
|
ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
|
|
ss* at scsibus? target ? lun ? # SCSI scanners
|
|
uk* at scsibus? target ? lun ? # SCSI unknown
|
|
|
|
# PCMCIA IDE controllers and disks
|
|
wdc* at pcmcia? function ?
|
|
atabus* at wdc? channel ?
|
|
wd* at atabus? drive ? flags 0x0000
|
|
|
|
#
|
|
# Networking devices
|
|
#
|
|
an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
|
|
awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
|
|
cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
|
|
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
|
|
mbe* at pcmcia? function ? # MB8696x based Ethernet
|
|
ne* at pcmcia? function ? # NE2000-compatible Ethernet
|
|
ray* at pcmcia? function ? # Raytheon Raylink (802.11)
|
|
sm* at pcmcia? function ? # Megahertz Ethernet
|
|
tr* at pcmcia? function ? # TROPIC based Token-Ring
|
|
wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
|
|
xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
|
|
com* at xirc?
|
|
xi* at xirc?
|
|
|
|
mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
|
|
com* at mhzc?
|
|
sm* at mhzc?
|
|
|
|
# Pseudo-Devices
|
|
|
|
# disk/mass storage pseudo-devices
|
|
pseudo-device md # memory disk device (ramdisk)
|
|
#pseudo-device vnd # disk-like interface to files
|
|
#pseudo-device fss # file system snapshot device
|
|
#pseudo-device putter # for puffs and pud
|
|
|
|
# network pseudo-devices
|
|
pseudo-device bpfilter # Berkeley packet filter
|
|
pseudo-device loop # network loopback
|
|
|
|
# miscellaneous pseudo-devices
|
|
pseudo-device pty # pseudo-terminals
|
|
|
|
pseudo-device wsmux # mouse & keyboard multiplexor
|