1 # JZ4780 -- Kernel config for Ingenic JZ47XX boards
7 # Note: SMP on 32-bit mips is no longer supported, which affects this config file.
14 makeoptions KERNLOADADDR=0x80020000
15 makeoptions ARCH_FLAGS="-EL -march=mips32r2"
17 # Don't build any modules yet.
18 makeoptions MODULES_OVERRIDE=""
20 files "../ingenic/files.jz4780"
21 hints "JZ4780.hints" #Default places to look for devices.
23 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
25 options INTRNG # Borrow interrupt code from ARM
26 options MIPS_NIRQ=264 # 8 cpuintc + 64 intc + 6 * 23 gpio
30 options BREAK_TO_DEBUGGER
32 options COMPAT_FREEBSD10
33 options COMPAT_FREEBSD11
35 options SCHED_4BSD #4BSD scheduler
36 options INET #InterNETworking
37 options NFSCL #Network Filesystem Client
38 options NFS_ROOT #NFS usable as /, requires NFSCL
39 options NFSLOCKD #Network Lock Manager
40 options PSEUDOFS #Pseudo-filesystem framework
41 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
43 options FFS #Berkeley Fast Filesystem
44 options SOFTUPDATES #Enable FFS soft updates support
45 options UFS_ACL #Support for access control lists
46 options UFS_DIRHASH #Improve performance on big directories
47 #options ROOTDEVNAME=\"ufs:ada0\"
49 options GEOM_LABEL # Provides labelization
50 options GEOM_PART_GPT # GUID Partition Tables.
51 #options GEOM_RAID # Soft RAID functionality.
53 # Debugging for use in -current
54 #options DEADLKRES #Enable the deadlock resolver
55 options INVARIANTS #Enable calls of extra sanity checking
56 options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
57 #options WITNESS #Enable checks to detect deadlocks and cycles
58 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
60 # Make an SMP-capable kernel by default
61 options SMP # Symmetric MultiProcessor Kernel
91 # Framebuffer console support
99 options USB_DEBUG # enable debug msgs
100 options USB_HOST_ALIGN=128 # L2 cache line size
101 device ohci # OHCI PCI->USB interface
102 device ehci # EHCI PCI->USB interface (USB 2.0)
103 device dwcotg # DesignWare HS OTG controller
104 device usb # USB Bus (required)
105 #device udbp # USB Double Bulk Pipe devices
106 device uhid # "Human Interface Devices"
107 device ukbd # Allow keyboard like HIDs to control console
108 #device ulpt # Printer
109 device umass # Disks/Mass storage - Requires scbus and da