1# 2# Custom kernel for RT1310 boards. 3# 4# $FreeBSD$ 5# 6 7ident RT1310 8include "std.arm" 9include "../ralink/std.ralink" 10 11# Flattened Device Tree 12options FDT 13options FDT_DTB_STATIC 14makeoptions FDT_DTS_FILE=wzr2-g300n.dts 15 16makeoptions MODULES_OVERRIDE="" 17 18#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 19 20options SCHED_4BSD # 4BSD scheduler 21options INET # InterNETworking 22options FFS # Berkeley Fast Filesystem 23options TMPFS # Efficient memory filesystem 24options MSDOSFS 25 26options ROOTDEVNAME=\"cd9660:/dev/cfid0s.rootfs.uzip\" 27 28options SYSVSHM # SYSV-style shared memory 29options SYSVMSG # SYSV-style message queues 30options SYSVSEM # SYSV-style semaphores 31options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions 32options MUTEX_NOINLINE 33options RWLOCK_NOINLINE 34options NO_FFS_SNAPSHOT 35options NO_SWAPPING 36 37# Debugging 38options ALT_BREAK_TO_DEBUGGER 39options DDB 40#options DEADLKRES # Enable the deadlock resolver 41#options DIAGNOSTIC 42#options INVARIANTS # Enable calls of extra sanity checking 43#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 44options KDB 45options WITNESS # Enable checks to detect deadlocks and cycles 46options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 47#options WITNESS_KDB 48 49# Pseudo devices 50device loop 51device md 52device pty 53device random 54 55# Serial ports 56device uart 57device uart_ns8250 58 59# Flash 60device cfi 61device cfid 62 63# Networking 64device ether 65device mii 66device bpf 67device fv 68 69# etherswitch 70device mdio 71device etherswitch 72device miiproxy 73device ip17x 74 75# GPIO 76device gpio 77device gpioled 78device rt1310gpio 79 80