1# X1000 -- Kernel config for Ingenic X1000 boards 2# 3# $FreeBSD$ 4 5#NO_UNIVERSE 6 7ident X1000 8machine mips mipsel 9cpu CPU_XBURST 10cpu CPU_MIPS4KC 11 12makeoptions KERNLOADADDR=0x80020000 13makeoptions ARCH_FLAGS="-EL -march=mips32r2" 14 15# Don't build any modules yet. 16makeoptions MODULES_OVERRIDE="" 17 18files "../ingenic/files.x1000" 19hints "X1000.hints" #Default places to look for devices. 20 21makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 22 23options INTRNG # Borrow interrupt code from ARM 24options MIPS_NIRQ=264 # 8 cpuintc + 64 intc + 6 * 23 gpio 25 26options DDB 27options KDB 28options BREAK_TO_DEBUGGER 29 30options COMPAT_FREEBSD10 31options COMPAT_FREEBSD11 32 33options SCHED_4BSD #4BSD scheduler 34options INET #InterNETworking 35options NFSCL #Network Filesystem Client 36options NFS_ROOT #NFS usable as /, requires NFSCL 37options NFSLOCKD #Network Lock Manager 38options PSEUDOFS #Pseudo-filesystem framework 39options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 40 41options FFS #Berkeley Fast Filesystem 42options SOFTUPDATES #Enable FFS soft updates support 43options UFS_ACL #Support for access control lists 44options UFS_DIRHASH #Improve performance on big directories 45#options ROOTDEVNAME=\"ufs:ada0\" 46 47options GEOM_LABEL # Provides labelization 48options GEOM_PART_GPT # GUID Partition Tables. 49#options GEOM_RAID # Soft RAID functionality. 50 51# Debugging for use in -current 52#options DEADLKRES #Enable the deadlock resolver 53options INVARIANTS #Enable calls of extra sanity checking 54options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 55#options WITNESS #Enable checks to detect deadlocks and cycles 56#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 57 58device loop 59device ether 60#device le 61device miibus 62device bpf 63device md 64device uart 65device random 66 67device fdt_pinctrl 68 69device clk 70device regulator 71options EXT_RESOURCES 72 73device gpio 74 75device scbus 76device da 77 78device mmc 79device mmcsd 80 81# USB support 82#options USB_DEBUG # enable debug msgs 83#options USB_HOST_ALIGN=128 # L2 cache line size 84#device ohci # OHCI PCI->USB interface 85#device ehci # EHCI PCI->USB interface (USB 2.0) 86#device dwcotg # DesignWare HS OTG controller 87#device usb # USB Bus (required) 88#device udbp # USB Double Bulk Pipe devices 89#device uhid # "Human Interface Devices" 90#device ulpt # Printer 91#device umass # Disks/Mass storage - Requires scbus and da 92#device ums # Mouse 93 94# FDT support 95options FDT 96