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