1 # $NetBSD $ 2 # 3 # GENERIC ARMv5 kernel 4 # 5 6 include "arch/evbarm/conf/std.generic_v5" 7 include "arch/evbarm/conf/files.generic_v5" 8 include "arch/evbarm/conf/GENERIC.common" 9 10 options CPU_ARM9E 11 12 options SOC_IMX23 13 14 #options DIAGNOSTIC # internal consistency checks 15 #options DEBUG 16 #options LOCKDEBUG 17 #options UVMHIST # kernhist for uvm/pmap subsystems 18 19 # Heartbeat checks 20 options HEARTBEAT 21 options HEARTBEAT_MAX_PERIOD_DEFAULT=15 22 23 options MSGBUFSIZE=32768 24 25 #options VERBOSE_INIT_ARM # verbose bootstrapping messages 26 27 # EARLYCONS is required for early init messages from VERBOSE_INIT_ARM. 28 #options EARLYCONS=imx23, CONSADDR=0x80070000 29 30 # Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL 31 # if you want panics instead of warnings. 32 #options KUBSAN # mandatory 33 #options UBSAN_ALWAYS_FATAL # optional 34 35 # Kernel Address Sanitizer (kASan). The quarantine is optional and can 36 # help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics 37 # instead of warnings. 38 #makeoptions KASAN=1 # mandatory 39 #options KASAN # mandatory 40 #options POOL_QUARANTINE # optional 41 #options KASAN_PANIC # optional 42 43 makeoptions DEBUG="-g" # compile full symbol table 44 makeoptions COPY_SYMTAB=1 45 46 config netbsd root on ? type ? 47 48 # Device tree support 49 armfdt0 at root 50 simplebus* at fdt? pass 0 51 52 # CPUs 53 cpus* at fdt? pass 0 54 cpu* at fdt? pass 0 55 56 # interrupt handlers 57 imx23icoll* at fdt? pass 1 # imx23 interrupt driver 58 59 # Timers 60 imx23timrot* at fdt? pass 2 # imx23 timer 61 62 # general FDT devices 63 fclock* at fdt? pass 1 64 ffclock* at fdt? pass 1 65 fregulator* at fdt? pass 5 66 gregulator* at fdt? pass 4 67 gpiokeys* at fdt? 68 wskbd* at gpiokeys? console ? mux 1 69 gpioleds* at fdt? 70 71 # Performance monitors 72 pseudo-device tprof 73 74 # UART 75 com* at fdt? pass 4 # UART 76 plcom* at fdt? pass 4 # ARM PL011 UART 77 78 # Audio 79 audio* at audiobus? 80 81 # Pull in optional local configuration - always at end 82 cinclude "arch/evbarm/conf/GENERIC_V5.local" 83