Home | History | Annotate | Line # | Download | only in conf
TS7200 revision 1.64
      1 #	$NetBSD: TS7200,v 1.64 2016/12/08 11:31:10 nat Exp $
      2 #
      3 #	TS7200 - Kernel for Technologic Systems TS7200 ARM hardware
      4 #
      5 #	Note - the kernel size for this hardware has two limitations:
      6 #
      7 #	1) The total size of the kernel (text, data, and bss) must fit
      8 #	   within 8MB.  This is mainly an issue for the INSTALL kernel
      9 #	   (TS7200_INSTALL)
     10 #	2) If you wish to install this kernel in flash, the compressed size
     11 #	   (including the gunzip booter) must fit within 1441792 bytes.
     12 #
     13 #	If you add new devices to this kernel, please check these limitations.
     14 #
     15 
     16 include	"arch/evbarm/conf/std.tsarm"
     17 
     18 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     19 options		MSGBUFSIZE=65536
     20 #options 	KSTACK_CHECK_MAGIC
     21 
     22 # estimated number of users
     23 maxusers	32
     24 
     25 # Standard system options
     26 
     27 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     28 options 	NTP		# NTP phase/frequency locked loop
     29 
     30 # CPU options
     31 
     32 options 	CPU_ARM9	# Support the ARM9TDMI core
     33 
     34 # File systems
     35 
     36 file-system	FFS		# UFS
     37 #file-system	LFS		# log-structured file system
     38 file-system	MFS		# memory file system
     39 file-system	NFS		# Network file system
     40 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     41 file-system 	EXT2FS		# second extended file system (linux)
     42 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     43 file-system	MSDOSFS		# MS-DOS file system
     44 #file-system	FDESC		# /dev/fd
     45 #file-system    FILECORE        # Acorn filecore file system
     46 file-system	KERNFS		# /kern
     47 #file-system	NULLFS		# loopback file system
     48 file-system	PROCFS		# /proc
     49 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     50 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     51 #file-system	UNION		# union file system
     52 file-system	PTYFS		# /dev/pts/N support
     53 
     54 # File system options
     55 #options 	QUOTA		# legacy UFS quotas
     56 #options 	QUOTA2		# new, in-filesystem UFS quotas
     57 #options 	FFS_EI		# FFS Endian Independent support
     58 options 	NFSSERVER
     59 options 	WAPBL		# File system journaling support
     60 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     61 
     62 # Networking options
     63 
     64 #options 	GATEWAY		# packet forwarding
     65 options 	INET		# IP + ICMP + TCP + UDP
     66 options 	INET6		# IPV6
     67 #options 	IPSEC		# IP security
     68 #options 	IPSEC_DEBUG	# debug for IP security
     69 #options 	MROUTING	# IP multicast routing
     70 #options 	NETATALK	# AppleTalk networking
     71 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     72 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     73 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     74 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     75 
     76 options 	NFS_BOOT_BOOTP
     77 options 	NFS_BOOT_DHCP
     78 #options 	NFS_BOOT_BOOTPARAM
     79 
     80 # Compatibility options
     81 
     82 options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     83 #options 	COMPAT_LINUX
     84 #options 	COMPAT_43	# 4.3BSD compatibility.
     85 #options 	COMPAT_09	# NetBSD 0.9,
     86 #options 	COMPAT_10	# NetBSD 1.0,
     87 #options 	COMPAT_11	# NetBSD 1.1,
     88 #options 	COMPAT_12	# NetBSD 1.2,
     89 #options 	COMPAT_13	# NetBSD 1.3,
     90 #options 	COMPAT_14	# NetBSD 1.4,
     91 #options 	COMPAT_15	# NetBSD 1.5,
     92 #options 	COMPAT_16	# NetBSD 1.6,
     93 options 	COMPAT_20	# NetBSD 2.0,
     94 options 	COMPAT_30	# NetBSD 3.0,
     95 options 	COMPAT_40	# NetBSD 4.0,
     96 options 	COMPAT_50	# NetBSD 5.0,
     97 options 	COMPAT_60	# NetBSD 6.0, and
     98 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
     99 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    100 
    101 # Shared memory options
    102 
    103 options 	SYSVMSG		# System V-like message queues
    104 options 	SYSVSEM		# System V-like semaphores
    105 options 	SYSVSHM		# System V-like memory sharing
    106 
    107 # Device options
    108 
    109 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    110 #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
    111 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    112 
    113 # Console options.  The default console is speed is 115200 baud.
    114 #options 	CONSPEED=9600		# Console speed
    115 
    116 # Miscellaneous kernel options
    117 options 	KTRACE		# system call tracing, a la ktrace(1)
    118 options 	IRQSTATS	# manage IRQ statistics
    119 #options 	SCSIVERBOSE	# Verbose SCSI errors
    120 #options 	PCIVERBOSE	# Verbose PCI descriptions
    121 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    122 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    123 #options 	DDB_KEYCODE=0x40
    124 #options 	USERCONF	# userconf(4) support
    125 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    126 
    127 # Development and Debugging options
    128 
    129 #options 	PERFCTRS	# performance counters
    130 options 	DIAGNOSTIC	# internal consistency checks
    131 #options 	DEBUG
    132 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    133 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    134 options 	DDB		# in-kernel debugger
    135 options		DDB_ONPANIC=1
    136 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    137 #makeoptions	DEBUG="-g"	# compile full symbol table
    138 makeoptions	COPY_SYMTAB=1
    139 
    140 ##options 	PMAP_INCLUDE_PTE_SYNC
    141 ##options 	LOCKDEBUG
    142 
    143 config		netbsd		root on ? type ?
    144 config		netbsd-epe0	root on epe0 type nfs
    145 config		netbsd-wd0	root on wd0 type ffs
    146 #config		netbsd-sd0	root on sd0 type ffs
    147 
    148 # The main bus device
    149 mainbus0	at root
    150 
    151 # The boot cpu
    152 cpu0		at mainbus?
    153 
    154 # Cirrus Logic EP93xx System-on-chip
    155 epsoc0		at mainbus?
    156 # On-chip timers
    157 epclk0		at epsoc? addr 0x80810000 size 0x90 intr 35
    158 # On-chip serial UARTS
    159 epcom0		at epsoc? addr 0x808c0000 size 0x1000 intr 52
    160 epcom1		at epsoc? addr 0x808d0000 size 0x1000 intr 54
    161 # On-chip USB 1.1
    162 ohci*		at epsoc? addr 0x80020000 size 0x1000 intr 56
    163 # On-chip 10/100 Ethernet
    164 epe0		at epsoc? addr 0x80010000 size 0x10000 intr 39
    165 # On-board TS-7200 CPLD
    166 tspld0		at mainbus?
    167 # PC/104 bus
    168 isa0		at tspld?
    169 # CompactFlash interface
    170 wdc0		at tspld?
    171 # TS-5620 battery-backed real-time clock
    172 tsrtc*		at tspld?
    173 # On-board GPIO ports.  Note that only 20 total GPIO pins are available
    174 # across all ports
    175 epgpio0		at epsoc? addr 0x80840000 size 0xcc intr 59
    176 gpio*		at epgpio?
    177 options		EPGPIO_PORT_C_MASK=0x00
    178 options		EPGPIO_PORT_D_MASK=0x00
    179 options		EPGPIO_PORT_E_MASK=0x00
    180 options		EPGPIO_PORT_F_MASK=0x02
    181 options		EPGPIO_PORT_G_MASK=0x00
    182 options		EPGPIO_PORT_H_MASK=0x38
    183 
    184 # HD44780 LCD on LCD header
    185 #tslcd*		at tspld?
    186 #wsdisplay*	at tslcd? console ?
    187 
    188 # 4x4 Matrix Keypad on DIO header
    189 #tskp*		at tspld?
    190 #wskbd*	at tskp? console ? mux 1
    191 
    192 # TS-SER[1,2,4] multiport serial PC/104 cards
    193 com0		at isa? port 0x3f8 irq 6        # Standard PC serial ports
    194 com1		at isa? port 0x2f8 irq 6
    195 com2		at isa? port 0x3e8 irq 6
    196 com3		at isa? port 0x2e8 irq 6
    197 
    198 wdc1	at isa? port 0x1f0 irq 7 flags 0x00
    199 wdc2	at isa? port 0x170 irq 7 flags 0x00
    200 
    201 tscs0	at isa? port 0x300 iomem ? irq ? drq ?  # TS-ETH10 PC/104 ethernet
    202 tscs1	at isa? port 0x310 iomem ? irq ? drq ?
    203 tscs2	at isa? port 0x320 iomem ? irq ? drq ?
    204 tscs3	at isa? port 0x330 iomem ? irq ? drq ?
    205 
    206 tsdio0  at isa? port 0x100 # TS-DIO24 general-purpose I/O
    207 tsdio1  at isa? port 0x108
    208 tsdio2  at isa? port 0x110
    209 tsdio3  at isa? port 0x118
    210 
    211 # PCMCIA bus support
    212 #pcmcia* at pcic? controller ? socket ?
    213 
    214 #options PCIC_ISA_INTR_ALLOC_MASK=0xe0
    215 # ISA PCMCIA controllers
    216 #pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
    217 #pcic1	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
    218 #pcic2	at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
    219 
    220 # ATA (IDE) bus support
    221 atabus* at ata?
    222 
    223 # IDE drives
    224 # Flags are used only with controllers that support DMA operations
    225 # and mode settings (e.g. some pciide controllers)
    226 # The lowest order four bits (rightmost digit) of the flags define the PIO
    227 # mode to use, the next set of four bits the DMA mode and the third set the
    228 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    229 # to use, and the last bit must be 1 for this setting to be used.
    230 # For DMA and UDMA, 0xf (1111) means 'disable'.
    231 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    232 # (0xc=1100, 0xa=1010, 0xf=1111)
    233 # 0x0000 means "use whatever the drive claims to support".
    234 wd*	at atabus? drive ? flags 0x00ff
    235 
    236 # ATAPI bus support
    237 #atapibus* at atapi?
    238 
    239 # ATAPI devices
    240 # flags have the same meaning as for IDE drives.
    241 # XXX No DMA on IDE devices for now
    242 #cd*	at atapibus? drive ? flags 0x0ff0	# ATAPI CD-ROM drives
    243 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    244 #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    245 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    246 
    247 # MII/PHY support
    248 #acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
    249 #amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
    250 #bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
    251 #brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
    252 #dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
    253 #exphy*	at mii? phy ?			# 3Com internal PHYs
    254 #gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
    255 #glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
    256 #gphyter* at mii? phy ?			# NS83861 Gig-E PHY
    257 #icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
    258 #igphy*	at mii? phy ?			# Intel IGP01E1000
    259 #inphy*	at mii? phy ?			# Intel 82555 PHYs
    260 #iophy*	at mii? phy ?			# Intel 82553 PHYs
    261 #lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
    262 #makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    263 #nsphy*	at mii? phy ?			# NS83840 PHYs
    264 #nsphyter* at mii? phy ? 		# NS83843 PHYs
    265 #pnaphy* at mii? phy ?			# generic HomePNA PHYs
    266 #qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    267 #sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    268 #tlphy*	at mii? phy ?			# ThunderLAN PHYs
    269 #tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    270 ukphy*	at mii? phy ?			# generic unknown PHYs
    271 #urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
    272 
    273 # USB Controller and Devices
    274 
    275 # USB bus support
    276 #usb*	at ehci?
    277 usb*	at ohci?
    278 #usb*	at uhci?
    279 #usb*	at slhci?
    280 
    281 # USB Hubs
    282 uhub*	at usb?
    283 uhub*	at uhub? port ?
    284 
    285 # USB HID device
    286 #uhidev*	at uhub? port ? configuration ? interface ?
    287 
    288 # USB Mice
    289 # ums*	at uhidev? reportid ?
    290 # wsmouse* at ums? mux 0
    291 
    292 # USB eGalax touch-panel
    293 # uep*	at uhub? port ?
    294 # wsmouse* at uep? mux 0
    295 
    296 # USB Keyboards
    297 #ukbd*	at uhidev? reportid ?
    298 #wskbd*	at ukbd? console ? mux 1
    299 
    300 # USB serial adapter
    301 #ucycom*	at uhidev? reportid ?
    302 
    303 # USB Generic HID devices
    304 #uhid*	at uhidev? reportid ?
    305 
    306 # USB Printer
    307 #ulpt*	at uhub? port ? configuration ? interface ?
    308 
    309 # USB Modem
    310 #umodem*	at uhub? port ? configuration ?
    311 #ucom*	at umodem?
    312 
    313 # Option N.V. Wireless WAN modems
    314 #uhso*	at uhub? port ? configuration ?
    315 
    316 # USB Mass Storage
    317 #umass*	at uhub? port ? configuration ? interface ?
    318 #scsibus* at umass?
    319 # SCSI devices
    320 #sd*     at scsibus? target ? lun ?      # SCSI disk drives
    321 #st*     at scsibus? target ? lun ?      # SCSI tape drives
    322 #cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
    323 #ch*     at scsibus? target ? lun ?      # SCSI autochangers
    324 #ses*    at scsibus? target ? lun ?      # SCSI Enclosure Services devices
    325 #ss*     at scsibus? target ? lun ?      # SCSI scanners
    326 #uk*     at scsibus? target ? lun ?      # SCSI unknown
    327 
    328 # wd*	at umass?
    329 
    330 # USB audio
    331 #uaudio*	at uhub? port ? configuration ?
    332 
    333 # USB MIDI
    334 #umidi* at uhub? port ? configuration ?
    335 
    336 # USB IrDA
    337 # USB-IrDA bridge spec
    338 #uirda* at uhub? port ? configuration ? interface ?
    339 #irframe* at uirda?
    340 
    341 # SigmaTel STIr4200 USB/IrDA Bridge
    342 #ustir* at uhub? port ?
    343 #irframe* at ustir?
    344 
    345 # USB Ethernet adapters
    346 #aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    347 #axe*	at uhub? port ?		# ASIX AX88172 based adapters
    348 #cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    349 #kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    350 #udav*	at uhub? port ?		# Davicom DM9601 based adapters
    351 #url*	at uhub? port ?		# Realtek RTL8150L based adapters
    352 
    353 # Prolific PL2301/PL2302 host-to-host adapter
    354 #upl*	at uhub? port ?
    355 
    356 # Serial adapters
    357 #ubsa*	at uhub? port ?		# Belkin serial adapter
    358 #ucom*	at ubsa? portno ?
    359 
    360 #uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    361 #ucom*	at uftdi? portno ?
    362 
    363 #umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    364 #ucom*	at umct? portno ?
    365 
    366 #uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    367 #ucom*	at uplcom? portno ?
    368 
    369 #uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    370 #ucom*	at uvscom? portno ?
    371 #atu*	at uhub? port ?		# Atmel AT76C50XX 802.11b adapter
    372 
    373 # Diamond Multimedia Rio 500
    374 # urio*	at uhub? port ?
    375 
    376 # USB Handspring Visor
    377 # uvisor*	at uhub? port ?
    378 # ucom*	at uvisor?
    379 
    380 # Kyocera AIR-EDGE PHONE
    381 #ukyopon* at uhub? port ?
    382 #ucom*	at ukyopon? portno ?
    383 
    384 # USB scanners
    385 # uscanner* at uhub? port ?
    386 
    387 # USB scanners that use SCSI emulation, e.g., HP5300
    388 # usscanner* at uhub? port ?
    389 
    390 # Y@P firmware loader
    391 # uyap* at uhub? port ?
    392 
    393 # D-Link DSB-R100 USB radio
    394 # udsbr*	at uhub? port ?
    395 # radio*	at udsbr?
    396 
    397 # USB Generic driver
    398 ugen*	at uhub? port ?
    399 
    400 # IrDA and Consumer Ir devices
    401 
    402 # Toshiba Oboe
    403 # oboe* 	at pci? dev ? function ?
    404 # irframe* at oboe?
    405 
    406 # CardBus IEEE1394 controllers
    407 #fwohci* at cardbus? function ?	# IEEE1394 Open Host Controller
    408 
    409 #fw*	at fwbus?			# IP over 1394
    410 
    411 # IEEE1394 nodes
    412 #fwnode* at fwbus? idhi ? idlo ?
    413 #sbpscsi* at fwnode?
    414 #scsibus* at sbpscsi?
    415 
    416 # Audio Devices
    417 
    418 # OPL[23] FM synthesizers
    419 #opl*	at cmpci? flags 1
    420 #opl*	at eso?
    421 #opl*	at fms?
    422 #opl*	at sv?
    423 #opl*	at yds?
    424 
    425 # Audio support
    426 #audio*	at audiobus?
    427 
    428 #options VAUDIOSPEAKER
    429 #spkr0	at audio0		# PC speaker (synthesized)
    430 
    431 # MPU 401 UARTs
    432 #mpu*	at cmpci?
    433 #mpu*	at eso?
    434 #mpu*	at fms?
    435 #mpu*	at yds?
    436 
    437 # MIDI support
    438 #midi*	at midibus?
    439 
    440 # Pseudo-Devices
    441 
    442 # disk/mass storage pseudo-devices
    443 #pseudo-device	md			# memory disk device (ramdisk)
    444 pseudo-device	vnd			# disk-like interface to files
    445 #pseudo-device	fss			# file system snapshot device
    446 #pseudo-device	putter			# for puffs and pud
    447 
    448 # network pseudo-devices
    449 pseudo-device	bpfilter		# Berkeley packet filter
    450 pseudo-device	loop			# network loopback
    451 pseudo-device	kttcp			# network loopback
    452 
    453 # miscellaneous pseudo-devices
    454 pseudo-device	pty			# pseudo-terminals
    455 #options	RND_COM
    456 pseudo-device	clockctl		# user control of clock subsystem
    457 pseudo-device	ksyms			# /dev/ksyms
    458 
    459 # data mover pseudo-devices
    460 #pseudo-device	swdmover		# software dmover(9) back-end
    461 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    462 
    463 #
    464 # wscons options
    465 #
    466 # builtin terminal emulations
    467 #options 	WSEMUL_SUN		# sun terminal emulation
    468 #options 	WSEMUL_VT100		# VT100 / VT220 emulation
    469 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
    470 #options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
    471 #options 	WS_DEFAULT_FG=WSCOL_WHITE
    472 #options 	WS_DEFAULT_BG=WSCOL_BLACK
    473 #options 	WS_DEFAULT_COLATTR="(0)"
    474 #options 	WS_DEFAULT_MONOATTR="(0)"
    475 #options 	WS_KERNEL_FG=WSCOL_GREEN
    476 #options 	WS_KERNEL_BG=WSCOL_BLACK
    477 #options 	WS_KERNEL_COLATTR=""
    478 #options 	WS_KERNEL_MONOATTR=""
    479 # customization of console border color
    480 #options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
    481 #options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
    482 # compatibility to other console drivers
    483 #options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    484 #options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    485 #options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    486 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    487 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
    488 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    489 # allocate a number of virtual screens at autoconfiguration time
    490 #options 	WSDISPLAY_DEFAULTSCREENS=4
    491 # use a large software cursor that doesn't blink
    492 #options 	PCDISPLAY_SOFTCURSOR
    493 # modify the screen type of the console; defaults to "80x25"
    494 #options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
    495 # work around a hardware bug that loaded fonts don't work; found on ATI cards
    496 #options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
    497 # console scrolling support.
    498 #options 	WSDISPLAY_SCROLLSUPPORT
    499 # enable VGA raster mode capable of displaying multilingual text on console
    500 #options 	VGA_RASTERCONSOLE
    501 
    502 # wscons pseudo-devices
    503 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    504 #pseudo-device	wsfont
    505 
    506