1 1.2 dholland # $NetBSD: KOBO,v 1.2 2014/07/27 03:34:41 dholland 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.1 hkenken #options COMPAT_43 # 4.3BSD compatibility. 83 1.1 hkenken options COMPAT_60 # NetBSD 6.0 compatibility. 84 1.1 hkenken #options COMPAT_50 # NetBSD 5.0 compatibility. 85 1.1 hkenken #options COMPAT_40 # NetBSD 4.0 compatibility. 86 1.1 hkenken #options COMPAT_30 # NetBSD 3.0 compatibility. 87 1.1 hkenken #options COMPAT_20 # NetBSD 2.0 compatibility. 88 1.1 hkenken #options COMPAT_16 # NetBSD 1.6 compatibility. 89 1.1 hkenken #options COMPAT_15 # NetBSD 1.5 compatibility. 90 1.1 hkenken #options COMPAT_14 # NetBSD 1.4 compatibility. 91 1.1 hkenken #options COMPAT_13 # NetBSD 1.3 compatibility. 92 1.1 hkenken #options COMPAT_12 # NetBSD 1.2 compatibility. 93 1.1 hkenken #options COMPAT_11 # NetBSD 1.1 compatibility. 94 1.1 hkenken #options COMPAT_10 # NetBSD 1.0 compatibility. 95 1.1 hkenken #options COMPAT_09 # NetBSD 0.9 compatibility. 96 1.1 hkenken #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 97 1.1 hkenken 98 1.1 hkenken options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 99 1.1 hkenken #options COMPAT_LINUX # binary compatibility with Linux 100 1.1 hkenken options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 101 1.1 hkenken 102 1.1 hkenken # Shared memory options 103 1.1 hkenken 104 1.1 hkenken options SYSVMSG # System V-like message queues 105 1.1 hkenken options SYSVSEM # System V-like semaphores 106 1.1 hkenken #options SEMMNI=10 # number of semaphore identifiers 107 1.1 hkenken #options SEMMNS=60 # number of semaphores in system 108 1.1 hkenken #options SEMUME=10 # max number of undo entries per process 109 1.1 hkenken #options SEMMNU=30 # number of undo structures in system 110 1.1 hkenken options SYSVSHM # System V-like memory sharing 111 1.1 hkenken 112 1.1 hkenken # Device options 113 1.1 hkenken 114 1.1 hkenken # Console options. also need IMXUARTCONSOLE 115 1.1 hkenken options CONSDEVNAME="\"imxuart\"",CONADDR=0x53fc0000 116 1.1 hkenken options CONSPEED=115200 # Console speed 117 1.1 hkenken 118 1.1 hkenken # kgdb 119 1.1 hkenken #options KGDB 120 1.1 hkenken #options KGDB_DEVNAME="\"imxuart\"" 121 1.1 hkenken #options KGDB_DEVADDR=0x73fbc000 122 1.1 hkenken #options KGDB_DEVRATE=115200 123 1.1 hkenken 124 1.1 hkenken # Miscellaneous kernel options 125 1.1 hkenken options KTRACE # system call tracing, a la ktrace(1) 126 1.1 hkenken options IRQSTATS # manage IRQ statistics 127 1.1 hkenken #options KMEMSTATS # kernel memory statistics 128 1.1 hkenken options PCMCIAVERBOSE # verbose PCMCIA configuration messages 129 1.1 hkenken options USBVERBOSE # verbose USB device autoconfig messages 130 1.1 hkenken #options SCSIVERBOSE # Verbose SCSI errors 131 1.1 hkenken options MIIVERBOSE # Verbose MII autoconfuration messages 132 1.1 hkenken #options PCI_CONFIG_DUMP # verbosely dump PCI config space 133 1.1 hkenken #options DDB_KEYCODE=0x40 134 1.1 hkenken options USERCONF # userconf(4) support 135 1.1 hkenken #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 136 1.1 hkenken #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 137 1.1 hkenken options NO_POWERSAVE # uncomment this to run under ICE 138 1.1 hkenken 139 1.1 hkenken # Development and Debugging options 140 1.1 hkenken #options PERFCTRS # performance counters 141 1.2 dholland #options DIAGNOSTIC # internal consistency checks 142 1.1 hkenken #options DEBUG 143 1.1 hkenken #options KMEMSTATS # kernel memory statistics (vmstat -m) 144 1.1 hkenken options DDB # in-kernel debugger 145 1.1 hkenken options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 146 1.1 hkenken options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 147 1.1 hkenken options DDB_VERBOSE_HELP 148 1.1 hkenken #options LOCKDEBUG 149 1.1 hkenken #ptions PMAP_DEBUG # Enable pmap_debug_level code 150 1.1 hkenken #options IPKDB # remote kernel debugging 151 1.1 hkenken options VERBOSE_INIT_ARM # verbose bootstraping messages 152 1.1 hkenken makeoptions DEBUG="-g" # compile full symbol table 153 1.1 hkenken #makeoptions COPTS="-O2" 154 1.1 hkenken #options SYSCALL_STATS # per syscall counts 155 1.1 hkenken #options SYSCALL_TIMES # per syscall times 156 1.1 hkenken #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) 157 1.1 hkenken #options SCSIPI_DEBUG 158 1.1 hkenken #options SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI 159 1.1 hkenken #options SCSIPI_DEBUG_TARGET=0 160 1.1 hkenken #options SCSIPI_DEBUG_LUN=0 161 1.1 hkenken #options DEBUG_STARTUP 162 1.1 hkenken 163 1.1 hkenken ## USB Debugging options 164 1.1 hkenken #options USB_DEBUG 165 1.1 hkenken #options EHCI_DEBUG 166 1.1 hkenken #options OHCI_DEBUG 167 1.1 hkenken #options UHUB_DEBUG 168 1.1 hkenken 169 1.1 hkenken # Valid options for BOOT_ARGS: 170 1.1 hkenken # single Boot to single user only 171 1.1 hkenken # kndb Give control to kernel debugger 172 1.1 hkenken # ask Ask for file name to reboot from 173 1.1 hkenken # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 174 1.1 hkenken # memorydisk=<n> Set memorydisk size to <n> KB 175 1.1 hkenken # quiet Show aprint_naive output 176 1.1 hkenken # verbose Show aprint_normal and aprint_verbose output 177 1.1 hkenken options BOOT_ARGS="\"verbose\"" 178 1.1 hkenken 179 1.1 hkenken # Kernel root file system and dump configuration. 180 1.1 hkenken config netbsd root on ? type ? 181 1.1 hkenken config netbsd-ld0 root on ld0 type ffs 182 1.1 hkenken 183 1.1 hkenken # The main bus device 184 1.1 hkenken mainbus0 at root 185 1.1 hkenken 186 1.1 hkenken # The boot cpu 187 1.1 hkenken cpu* at mainbus? 188 1.1 hkenken 189 1.1 hkenken # Devices 190 1.1 hkenken # On-chip 191 1.1 hkenken # On-chip bus 192 1.1 hkenken axi0 at mainbus? 193 1.1 hkenken 194 1.1 hkenken # Interrupt Cotroller 195 1.1 hkenken tzic0 at axi? addr 0x0fffc000 size 0x4000 irqbase 0 196 1.1 hkenken 197 1.1 hkenken # Serial 198 1.1 hkenken #imxuart0 at axi? addr 0x53fbc000 irq 31 # UART1 199 1.1 hkenken imxuart1 at axi? addr 0x53fc0000 irq 32 200 1.1 hkenken #imxuart2 at axi? addr 0x5000c000 irq 33 201 1.1 hkenken options IMXUARTCONSOLE 202 1.1 hkenken 203 1.1 hkenken # Clock Control 204 1.1 hkenken imxccm0 at axi? addr 0x53fd4000 205 1.1 hkenken options IMX51_CKIL_FREQ=32768 206 1.1 hkenken 207 1.1 hkenken # Enhanced Periodic Interrupt Timer 208 1.1 hkenken imxclock0 at axi? addr 0x53fac000 size 0x4000 irq 40 209 1.1 hkenken 210 1.1 hkenken # IOMUX 211 1.1 hkenken imxiomux0 at axi? addr 0x53fa8000 212 1.1 hkenken 213 1.1 hkenken # WatchDog 214 1.1 hkenken imxwdog0 at axi? addr 0x53f98000 irq 58 flags 0 215 1.1 hkenken 216 1.1 hkenken # GPIO 217 1.1 hkenken imxgpio0 at axi? addr 0x53f84000 irqbase 128 irq 50 218 1.1 hkenken imxgpio1 at axi? addr 0x53f88000 irqbase 160 irq 52 219 1.1 hkenken imxgpio2 at axi? addr 0x53f8c000 irqbase 192 irq 54 220 1.1 hkenken imxgpio3 at axi? addr 0x53f90000 irqbase 224 irq 56 221 1.1 hkenken imxgpio4 at axi? addr 0x53fdc000 irqbase 256 irq 103 222 1.1 hkenken imxgpio5 at axi? addr 0x53fe0000 irqbase 288 irq 105 223 1.1 hkenken 224 1.1 hkenken # EPDC E-Ink Controller 225 1.1 hkenken #epdc0 at axi? addr 0x41010000 size 0x2000 irq 27 226 1.1 hkenken #wsdisplay0 at wsemuldisplaydev? console ? 227 1.1 hkenken #wsdisplay* at wsemuldisplaydev? 228 1.1 hkenken #options EPDC_DEBUG=10 229 1.1 hkenken #options EINK_DEBUG 230 1.1 hkenken #options IMXEPDCCONSOLE 231 1.1 hkenken 232 1.1 hkenken # I2C 233 1.1 hkenken imxi2c0 at axi? addr 0x63fc8000 irq 62 234 1.1 hkenken imxi2c1 at axi? addr 0x63fc4000 irq 63 235 1.1 hkenken #imxi2c2 at axi? addr 0x53fec000 irq 64 236 1.1 hkenken 237 1.1 hkenken # IIC 238 1.1 hkenken iic* at imxi2c? 239 1.1 hkenken 240 1.1 hkenken lmtemp* at iic1 addr 0x48 # LM75 temperature sensor 241 1.1 hkenken 242 1.1 hkenken # SD/MMC 243 1.1 hkenken sdhc0 at axi? addr 0x50004000 irq 1 # eSDHC1 244 1.1 hkenken sdhc1 at axi? addr 0x50008000 irq 2 # eSDHC2 245 1.1 hkenken sdhc2 at axi? addr 0x50020000 irq 3 # eSDHC3 246 1.1 hkenken #sdhc3 at axi? addr 0x50024000 irq 4 # eSDHC4 247 1.1 hkenken sdmmc* at sdhc? 248 1.1 hkenken ld* at sdmmc? # MMC/SD card 249 1.1 hkenken #options SDHC_DEBUG 250 1.1 hkenken #options SDMMC_DEBUG 251 1.1 hkenken 252 1.1 hkenken # USB 253 1.1 hkenken imxusbc0 at axi? addr 0x53f80000 254 1.1 hkenken ehci0 at imxusbc0 unit 0 irq 18 # OTG 255 1.1 hkenken #ehci1 at imxusbc0 unit 1 irq 14 # Host1 256 1.1 hkenken 257 1.1 hkenken usb* at ehci? 258 1.1 hkenken 259 1.1 hkenken # USB device drivers, just as soon as we have something to attach them to 260 1.1 hkenken include "dev/usb/usbdevices.config" 261 1.1 hkenken 262 1.1 hkenken ukphy* at mii? phy ? 263 1.1 hkenken 264 1.1 hkenken # Pseudo-Devices 265 1.1 hkenken 266 1.1 hkenken pseudo-device crypto # /dev/crypto device 267 1.1 hkenken pseudo-device swcrypto # software crypto implementation 268 1.1 hkenken 269 1.1 hkenken # disk/mass storage pseudo-devices 270 1.1 hkenken #pseudo-device md # memory disk device (ramdisk) 271 1.1 hkenken #pseudo-device vnd # disk-like interface to files 272 1.1 hkenken 273 1.1 hkenken # network pseudo-devices 274 1.1 hkenken pseudo-device bpfilter # Berkeley packet filter 275 1.1 hkenken #pseudo-device ipfilter # IP filter (firewall) and NAT 276 1.1 hkenken pseudo-device loop # network loopback 277 1.1 hkenken pseudo-device ppp # Point-to-Point Protocol 278 1.1 hkenken 279 1.1 hkenken # miscellaneous pseudo-devices 280 1.1 hkenken pseudo-device pty # pseudo-terminals 281 1.1 hkenken pseudo-device ksyms # /dev/ksyms 282 1.1 hkenken pseudo-device clockctl # NTP clockctl 283 1.1 hkenken 284 1.1 hkenken # wscons pseudo-devices 285 1.1 hkenken pseudo-device wsmux # mouse & keyboard multiplexor 286 1.1 hkenken pseudo-device wsfont 287 1.1 hkenken 288 1.1 hkenken # local configuration 289 1.1 hkenken cinclude "arch/evbarm/conf/KOBO.local" 290