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