Home | History | Annotate | Line # | Download | only in conf
KOBO revision 1.3
      1 #	$NetBSD: KOBO,v 1.3 2014/08/03 09:18:16 martin Exp $
      2 #
      3 #	KOBO -- http://kobo.com
      4 #
      5 
      6 include	"arch/evbarm/conf/std.kobo"
      7 
      8 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 # estimated number of users
     11 
     12 maxusers	32
     13 
     14 # Standard system options
     15 
     16 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     17 #options 	NTP		# NTP phase/frequency locked loop
     18 
     19 # CPU options
     20 options 	CPU_CORTEXA8	# Support the ARM-v7a core
     21 options 	IMX50
     22 options 	IMX508
     23 options		IMX51
     24 options 	PMAPCOUNTERS
     25 
     26 # Architecture options
     27 
     28 options 	MEMSTART=0x70000000
     29 options 	MEMSIZE=256
     30 options 	IMX51_IPGCLK_FREQ=50000000   # XXX This value is not correct.
     31 
     32 # File systems
     33 
     34 file-system	FFS		# UFS
     35 #file-system	LFS		# log-structured file system
     36 file-system	MFS		# memory file system
     37 file-system	NFS		# Network file system
     38 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     39 file-system 	EXT2FS		# second extended file system (linux)
     40 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     41 file-system	MSDOSFS		# MS-DOS file system
     42 file-system	FDESC		# /dev/fd
     43 file-system	KERNFS		# /kern
     44 file-system	NULLFS		# loopback file system
     45 file-system	PROCFS		# /proc
     46 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     47 file-system	TMPFS		# memory file system
     48 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     49 #file-system	UNION		# union file system
     50 file-system	PTYFS		# /dev/pts/N support
     51 
     52 # File system options
     53 #options 	QUOTA		# legacy UFS quotas
     54 #options 	QUOTA2		# new, in-filesystem UFS quotas
     55 #options 	FFS_EI		# FFS Endian Independent support
     56 #options 	NFSSERVER
     57 options 	WAPBL		# File system journaling support
     58 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     59 
     60 # Networking options
     61 
     62 #options 	GATEWAY		# packet forwarding
     63 options 	INET		# IP + ICMP + TCP + UDP
     64 options 	INET6		# IPV6
     65 #options 	IPSEC		# IP security
     66 #options 	IPSEC_DEBUG	# debug for IP security
     67 #options 	MROUTING	# IP multicast routing
     68 #options 	PIM		# Protocol Independent Multicast
     69 #options 	NETATALK	# AppleTalk networking
     70 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     71 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     72 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     73 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     74 
     75 #options 	NFS_BOOT_BOOTP
     76 #options 	NFS_BOOT_DHCP
     77 #options 	NFS_BOOT_BOOTPARAM
     78 #options	DEBUG_NFS_BOOT_DHCP
     79 
     80 # Compatibility options
     81 
     82 options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     83 #options 	COMPAT_43	# 4.3BSD compatibility.
     84 options 	COMPAT_60	# NetBSD 6.0 compatibility.
     85 #options 	COMPAT_50	# NetBSD 5.0 compatibility.
     86 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
     87 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
     88 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
     89 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
     90 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     91 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     92 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     93 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     94 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     95 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     96 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     97 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     98 
     99 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
    100 #options 	COMPAT_LINUX	# binary compatibility with Linux
    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 	SEMMNI=10	# number of semaphore identifiers
    108 #options 	SEMMNS=60	# number of semaphores in system
    109 #options 	SEMUME=10	# max number of undo entries per process
    110 #options 	SEMMNU=30	# number of undo structures in system
    111 options 	SYSVSHM		# System V-like memory sharing
    112 
    113 # Device options
    114 
    115 # Console options.    also need IMXUARTCONSOLE
    116 options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x53fc0000
    117 options 	CONSPEED=115200	# Console speed
    118 
    119 # kgdb
    120 #options	KGDB
    121 #options 	KGDB_DEVNAME="\"imxuart\""
    122 #options 	KGDB_DEVADDR=0x73fbc000
    123 #options 	KGDB_DEVRATE=115200
    124 
    125 # Miscellaneous kernel options
    126 options 	KTRACE		# system call tracing, a la ktrace(1)
    127 options 	IRQSTATS	# manage IRQ statistics
    128 #options 	KMEMSTATS	# kernel memory statistics
    129 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    130 options 	USBVERBOSE	# verbose USB device autoconfig messages
    131 #options 	SCSIVERBOSE	# Verbose SCSI errors
    132 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    133 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    134 #options 	DDB_KEYCODE=0x40
    135 options 	USERCONF	# userconf(4) support
    136 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    137 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    138 options 	NO_POWERSAVE	# uncomment this to run under ICE
    139 
    140 # Development and Debugging options
    141 #options 	PERFCTRS	# performance counters
    142 #options 	DIAGNOSTIC	# internal consistency checks
    143 #options 	DEBUG
    144 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
    145 options 	DDB		# in-kernel debugger
    146 options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
    147 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    148 options 	DDB_VERBOSE_HELP
    149 #options 	LOCKDEBUG
    150 #ptions 	PMAP_DEBUG	# Enable pmap_debug_level code
    151 #options 	IPKDB		# remote kernel debugging
    152 options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    153 makeoptions	DEBUG="-g"	# compile full symbol table
    154 #makeoptions	COPTS="-O2"
    155 #options 	SYSCALL_STATS	# per syscall counts
    156 #options 	SYSCALL_TIMES 	# per syscall times
    157 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
    158 #options 	SCSIPI_DEBUG
    159 #options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
    160 #options	SCSIPI_DEBUG_TARGET=0
    161 #options	SCSIPI_DEBUG_LUN=0
    162 #options	DEBUG_STARTUP
    163 
    164 ## USB Debugging options
    165 #options	USB_DEBUG
    166 #options	EHCI_DEBUG
    167 #options	OHCI_DEBUG
    168 #options	UHUB_DEBUG
    169 
    170 # Valid options for BOOT_ARGS:
    171 #  single		Boot to single user only
    172 #  kndb			Give control to kernel debugger
    173 #  ask			Ask for file name to reboot from
    174 #  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
    175 #  memorydisk=<n>	Set memorydisk size to <n> KB
    176 #  quiet		Show aprint_naive output
    177 #  verbose		Show aprint_normal and aprint_verbose output
    178 options		BOOT_ARGS="\"verbose\""
    179 
    180 # Kernel root file system and dump configuration.
    181 config		netbsd		root on ? type ?
    182 config		netbsd-ld0	root on ld0 type ffs
    183 
    184 # The main bus device
    185 mainbus0	at root
    186 
    187 # The boot cpu
    188 cpu*		at mainbus?
    189 
    190 # Devices
    191 # On-chip
    192 # On-chip bus
    193 axi0		at mainbus?
    194 
    195 # Interrupt Cotroller
    196 tzic0		at axi? addr 0x0fffc000 size 0x4000 irqbase 0
    197 
    198 # Serial
    199 #imxuart0	at axi? addr 0x53fbc000 irq 31		# UART1
    200 imxuart1	at axi? addr 0x53fc0000 irq 32
    201 #imxuart2	at axi? addr 0x5000c000 irq 33
    202 options		IMXUARTCONSOLE
    203 
    204 # Clock Control
    205 imxccm0		at axi? addr 0x53fd4000
    206 options		IMX51_CKIL_FREQ=32768
    207 
    208 # Enhanced Periodic Interrupt Timer
    209 imxclock0	at axi? addr 0x53fac000 size 0x4000 irq 40
    210 
    211 # IOMUX
    212 imxiomux0	at axi? addr 0x53fa8000
    213 
    214 # WatchDog
    215 imxwdog0	at axi? addr 0x53f98000 irq 58 flags 0
    216 
    217 # GPIO
    218 imxgpio0	at axi? addr 0x53f84000 irqbase 128 irq 50
    219 imxgpio1	at axi? addr 0x53f88000 irqbase 160 irq 52
    220 imxgpio2	at axi? addr 0x53f8c000 irqbase 192 irq 54
    221 imxgpio3	at axi? addr 0x53f90000 irqbase 224 irq 56
    222 imxgpio4	at axi? addr 0x53fdc000 irqbase 256 irq 103
    223 imxgpio5	at axi? addr 0x53fe0000 irqbase 288 irq 105
    224 
    225 # EPDC E-Ink Controller
    226 #epdc0		at axi? addr 0x41010000 size 0x2000 irq 27
    227 #wsdisplay0	at wsemuldisplaydev? console ?
    228 #wsdisplay*	at wsemuldisplaydev?
    229 #options		EPDC_DEBUG=10
    230 #options		EINK_DEBUG
    231 #options		IMXEPDCCONSOLE
    232 
    233 # I2C
    234 imxi2c0		at axi? addr 0x63fc8000 irq 62
    235 imxi2c1		at axi? addr 0x63fc4000 irq 63
    236 #imxi2c2	at axi? addr 0x53fec000 irq 64
    237 
    238 # IIC
    239 iic*		at imxi2c?
    240 
    241 lmtemp*		at iic1 addr 0x48		# LM75 temperature sensor
    242 
    243 # SD/MMC
    244 sdhc0		at axi? addr 0x50004000 irq 1	# eSDHC1
    245 sdhc1		at axi? addr 0x50008000 irq 2	# eSDHC2
    246 sdhc2		at axi? addr 0x50020000 irq 3	# eSDHC3
    247 #sdhc3		at axi? addr 0x50024000 irq 4	# eSDHC4
    248 sdmmc*		at sdhc?
    249 ld*		at sdmmc?		# MMC/SD card
    250 #options 	SDHC_DEBUG
    251 #options 	SDMMC_DEBUG
    252 
    253 # USB
    254 imxusbc0	at axi? addr 0x53f80000
    255 ehci0		at imxusbc0	unit 0	irq 18 # OTG
    256 #ehci1		at imxusbc0	unit 1	irq 14 # Host1
    257 
    258 usb*		at ehci?
    259 
    260 # USB device drivers, just as soon as we have something to attach them to
    261 include "dev/usb/usbdevices.config"
    262 
    263 ukphy*		at mii? phy ?
    264 
    265 # Pseudo-Devices
    266 
    267 pseudo-device	crypto			# /dev/crypto device
    268 pseudo-device	swcrypto		# software crypto implementation
    269 
    270 # disk/mass storage pseudo-devices
    271 #pseudo-device	md			# memory disk device (ramdisk)
    272 #pseudo-device	vnd			# disk-like interface to files
    273 
    274 # network pseudo-devices
    275 pseudo-device	bpfilter		# Berkeley packet filter
    276 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    277 pseudo-device	loop			# network loopback
    278 pseudo-device	ppp			# Point-to-Point Protocol
    279 
    280 # miscellaneous pseudo-devices
    281 pseudo-device	pty			# pseudo-terminals
    282 pseudo-device	ksyms			# /dev/ksyms
    283 pseudo-device	clockctl		# NTP clockctl
    284 
    285 # wscons pseudo-devices
    286 pseudo-device	wsmux			# mouse & keyboard multiplexor
    287 pseudo-device	wsfont
    288 
    289 # local configuration
    290 cinclude "arch/evbarm/conf/KOBO.local"
    291