Home | History | Annotate | Line # | Download | only in conf
WZERO3 revision 1.38
      1 #	$NetBSD: WZERO3,v 1.38 2015/02/05 14:35:50 nonaka Exp $
      2 #
      3 #	WZERO3 -- Sharp Windows Mobile 5 based PDA
      4 #
      5 
      6 include	"arch/hpcarm/conf/std.pxa2x0"
      7 include	"arch/hpcarm/conf/files.wzero3"
      8 
      9 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     10 
     11 #ident 		"GENERIC-$Revision: 1.38 $"
     12 
     13 # estimated number of users
     14 maxusers	32
     15 
     16 # in-kernel bootloader, see kloader(4)
     17 options 	KLOADER
     18 #options 	KLOADER_KERNEL_PATH="\"/netbsd\""
     19 #options 	KLOADER_DEBUG
     20 
     21 # Standard system options
     22 
     23 #options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     24 				# (default timezone is passed from hpcboot)
     25 #options 	NTP		# NTP phase/frequency locked loop
     26 
     27 # CPU options
     28 
     29 # For XScale systems
     30 options 	CPU_XSCALE_PXA270	# Support the XScale PXA27x core
     31 makeoptions 	CPUFLAGS="-mcpu=xscale"
     32 
     33 # Architecture options
     34 options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
     35 options 	PXAGPIO_HAS_GPION_INTRS
     36 
     37 # File systems
     38 
     39 file-system	FFS		# UFS
     40 #file-system	LFS		# log-structured file system
     41 #file-system	MFS		# memory file system
     42 file-system	NFS		# Network file system
     43 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     44 file-system 	EXT2FS		# second extended file system (linux)
     45 file-system	CD9660		# ISO 9660 + Rock Ridge file system
     46 file-system	MSDOSFS		# MS-DOS file system
     47 file-system	FDESC		# /dev/fd
     48 file-system	KERNFS		# /kern
     49 file-system	NULLFS		# loopback file system
     50 #file-system 	OVERLAY		# overlay filesystem
     51 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     52 file-system	PROCFS		# /proc
     53 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     54 file-system	UNION		# union file system
     55 file-system	PTYFS		# /dev/pts/N support
     56 file-system	TMPFS		# Efficient memory file-system
     57 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     58 
     59 # File system options
     60 #options 	QUOTA		# legacy UFS quotas
     61 #options 	QUOTA2		# new, in-filesystem UFS quotas
     62 #options 	FFS_EI		# FFS Endian Independent support
     63 options 	WAPBL		# File system journaling support
     64 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     65 #options 	NFSSERVER
     66 
     67 # Networking options
     68 
     69 #options 	GATEWAY		# packet forwarding
     70 options 	INET		# IP + ICMP + TCP + UDP
     71 options 	INET6		# IPV6
     72 #options 	IPSEC		# IP security
     73 #options 	IPSEC_DEBUG	# debug for IP security
     74 #options 	MROUTING	# IP multicast routing
     75 #options 	PIM		# Protocol Independent Multicast
     76 #options 	NETATALK	# AppleTalk networking
     77 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     78 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     79 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     80 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     81 
     82 # Compatibility options
     83 
     84 options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     85 #options 	COMPAT_43	# 4.3BSD compatibility.
     86 #options 	COMPAT_09	# NetBSD 0.9,
     87 #options 	COMPAT_10	# NetBSD 1.0,
     88 #options 	COMPAT_11	# NetBSD 1.1,
     89 #options 	COMPAT_12	# NetBSD 1.2,
     90 #options 	COMPAT_13	# NetBSD 1.3,
     91 #options 	COMPAT_14	# NetBSD 1.4,
     92 #options 	COMPAT_15	# NetBSD 1.5,
     93 options 	COMPAT_16	# NetBSD 1.6,
     94 options 	COMPAT_20	# NetBSD 2.0,
     95 options 	COMPAT_30	# NetBSD 3.0,
     96 options 	COMPAT_40	# NetBSD 4.0,
     97 options 	COMPAT_50	# NetBSD 5.0,
     98 options 	COMPAT_60	# NetBSD 6.0, and
     99 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
    100 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    101 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    102 
    103 # Shared memory options
    104 
    105 options 	SYSVMSG		# System V-like message queues
    106 options 	SYSVSEM		# System V-like semaphores
    107 options 	SYSVSHM		# System V-like memory sharing
    108 
    109 # Miscellaneous kernel options
    110 options 	KTRACE		# system call tracing, a la ktrace(1)
    111 #options 	IRQSTATS	# manage IRQ statistics
    112 #options 	KMEMSTATS	# kernel memory statistics
    113 #options 	SCSIVERBOSE	# Verbose SCSI errors
    114 options 	USERCONF	# userconf(4) support
    115 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    116 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    117 options 	NFS_BOOT_DHCP
    118 
    119 #
    120 # wscons options
    121 #
    122 # builtin terminal emulations
    123 options 	WSEMUL_VT100
    124 # allocate a number of virtual screens at autoconfiguration time
    125 #options 	WSDISPLAY_DEFAULTSCREENS=2
    126 # The X server requires theses two options
    127 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    128 options 	WSDISPLAY_COMPAT_RAWKBD
    129 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
    130 #options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
    131 #options 	WS_DEFAULT_FG=WSCOL_WHITE
    132 #options 	WS_DEFAULT_BG=WSCOL_BLACK
    133 #options 	WS_DEFAULT_COLATTR="(0)"
    134 #options 	WS_DEFAULT_MONOATTR="(0)"
    135 options 	WS_KERNEL_FG=WSCOL_GREEN
    136 #options 	WS_KERNEL_BG=WSCOL_BLACK
    137 #options 	WS_KERNEL_COLATTR=""
    138 #options 	WS_KERNEL_MONOATTR=""
    139 
    140 options 	FONT_VT220L8x16
    141 
    142 # Development and Debugging options
    143 
    144 #options 	VERBOSE_INIT_ARM
    145 #options 	BOOT_DUMP	# Enable memorydump at boot
    146 options 	DIAGNOSTIC	# internal consistency checks
    147 #options 	DEBUG		# expensive debugging checks/support
    148 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    149 options 	DDB		# in-kernel debugger
    150 #options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
    151 #makeoptions	DEBUG="-g"	# compile full symbol table
    152 
    153 config		netbsd	root on ? type ?
    154 
    155 # The main bus device
    156 mainbus0 at root
    157 
    158 # The boot CPU
    159 cpu0 at mainbus?
    160 
    161 # integrated peripherals
    162 pxaip0	at mainbus?
    163 
    164 pxaintc0 at pxaip? addr 0x40d00000	# interrupt controller
    165 pxagpio0 at pxaip? addr 0x40e00000	# GPIO
    166 pxartc0 at pxaip? addr 0x40900000	# RTC
    167 
    168 # DMAC support
    169 pxadmac0 at pxaip? addr 0x40000000 intr 25
    170 options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
    171 #options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
    172 
    173 # Serial
    174 # integrated 16550 UARTs
    175 options 	COM_PXA2X0
    176 com0 at pxaip?  addr 0x40100000 intr 22	# Full Function UART
    177 #options 	CONSPEED=115200
    178 
    179 # OS Timer
    180 saost*	at pxaip? addr 0x40a00000 size 0x20
    181 
    182 # Physical console
    183 lcd* at pxaip?
    184 options 	PXA2X0_LCD_WRITETHROUGH
    185 wsdisplay* at lcd? console ?
    186 
    187 # for touchpad, keypad
    188 wzero3ssp0 at pxaip?
    189 
    190 # touchpad
    191 wzero3tp0 at pxaip?
    192 wsmouse* at wzero3tp? mux 0
    193 
    194 # keyboard
    195 wzero3kbd0 at pxaip?
    196 hpckbd*	at wzero3kbd?
    197 wskbd0 at hpckbd? mux 1
    198 
    199 # keypad
    200 wzero3keypad0 at pxaip?
    201 wskbd1 at wzero3keypad? mux 1
    202 
    203 # integrated MMC/SD contoller
    204 pxamci0 at pxaip? addr 0x41100000 size 0x48
    205 sdmmc* at pxamci?
    206 ld* at sdmmc?				# MMC/SD/SDHC card
    207 
    208 # USB Controller and Devices
    209 wzero3usb* at pxaip?
    210 ohci0 at pxaip? addr 0x4c000000 intr 3	# USB Host Controller
    211 
    212 # USB bus support
    213 usb* at ohci?
    214 
    215 # USB Hubs
    216 uhub* at usb?
    217 uhub* at uhub? port ?
    218 
    219 # USB HID device
    220 uhidev* at uhub? port ? configuration ? interface ?
    221 
    222 # USB Mice
    223 ums* at uhidev? reportid ?
    224 wsmouse* at ums? mux 0
    225 
    226 # USB Keyboards
    227 ukbd* at uhidev? reportid ?
    228 wskbd* at ukbd? console ? mux 1
    229 
    230 # USB Generic HID devices
    231 uhid* at uhidev? reportid ?
    232 
    233 # USB Mass Storage
    234 umass* at uhub? port ? configuration ? interface ?
    235 wd* at umass?
    236 
    237 # USB audio
    238 uaudio* at uhub? port ? configuration ?
    239 audio*	at audiobus?
    240 
    241 # USB Ethernet adapters
    242 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    243 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    244 cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    245 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    246 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    247 udav*	at uhub? port ?	 	# Davicom DM9601 based adapters
    248 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    249 
    250 acphy*	at mii? phy ?		# Altima AC101 and AMD Am79c874 PHYs
    251 rlphy*	at mii? phy ?		# Realtek 8139/8201L PHYs
    252 ukphy*  at mii? phy ?		# generic unknown PHYs
    253 urlphy* at mii? phy ?		# Realtek RTL8150L internal PHYs
    254 
    255 # USB 802.11 adapters
    256 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    257 ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
    258 rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
    259 upgt*	at uhub? port ?		# Intersil PrismGT
    260 zyd*	at uhub? port ?		# Zydas ZD1211
    261 
    262 # ATAPI bus support
    263 atapibus* at atapi?
    264 
    265 # ATAPI devices
    266 # flags have the same meaning as for IDE drives.
    267 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    268 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    269 #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    270 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    271 
    272 # SCSI bus support
    273 scsibus* at scsi?
    274 
    275 # SCSI devices
    276 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    277 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    278 uk*	at scsibus? target ? lun ?	# SCSI unknown
    279 
    280 # USB Generic driver
    281 ugen*	at uhub? port ?
    282 # On ugen bulk endpoints, perform read-ahead and write-behind.
    283 #options 	UGEN_BULK_RA_WB
    284 
    285 
    286 # Pseudo-devices
    287 pseudo-device	loop			# network loopback
    288 pseudo-device	bpfilter 		# packet filter
    289 pseudo-device	sl			# CSLIP
    290 pseudo-device	ppp			# PPP
    291 pseudo-device	tun			# network tunneling over tty
    292 #pseudo-device	gre			# generic L3 over IP tunnel
    293 #pseudo-device	ipfilter 		# ip filter
    294 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    295 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    296 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    297 #pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
    298 
    299 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    300 pseudo-device	pty			# pseudo-terminals
    301 pseudo-device	vnd			# disk-like interface to files
    302 #pseudo-device	ccd			# concatenated disk devices
    303 #pseudo-device	cgd			# cryptographic disk devices
    304 #pseudo-device	raid			# RAIDframe disk driver
    305 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    306 #pseudo-device	fss			# file system snapshot device
    307 
    308 pseudo-device	biconsdev 1		# build-in console device
    309 
    310 pseudo-device	md			# Ramdisk driver
    311 pseudo-device	clockctl		# user control of clock subsystem
    312 pseudo-device	drvctl			# user control of drive subsystem
    313 pseudo-device	ksyms			# /dev/ksyms
    314 pseudo-device	putter			# for puffs and pud
    315 #pseudo-device	bcsp			# BlueCore Serial Protocol
    316 #pseudo-device	btuart			# Bluetooth HCI UART (H4)
    317 
    318 # wscons pseudo-devices
    319 pseudo-device	wsmux			# mouse & keyboard multiplexor
    320 pseudo-device	wsfont
    321