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