1 # JZ4780 -- Kernel config for Ingenic JZ47XX boards
10 makeoptions KERNLOADADDR=0x80020000
11 makeoptions ARCH_FLAGS="-EL -march=mips32r2"
13 # Don't build any modules yet.
14 makeoptions MODULES_OVERRIDE=""
16 files "../ingenic/files.jz4780"
17 hints "JZ4780.hints" #Default places to look for devices.
19 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
21 options INTRNG # Borrow interrupt code from ARM
22 options MIPS_NIRQ=264 # 8 cpuintc + 64 intc + 6 * 23 gpio
26 options BREAK_TO_DEBUGGER
28 options COMPAT_FREEBSD10
30 options SCHED_4BSD #4BSD scheduler
31 options INET #InterNETworking
32 options NFSCL #Network Filesystem Client
33 options NFS_ROOT #NFS usable as /, requires NFSCL
34 options NFSLOCKD #Network Lock Manager
35 options PSEUDOFS #Pseudo-filesystem framework
36 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
38 options FFS #Berkeley Fast Filesystem
39 options SOFTUPDATES #Enable FFS soft updates support
40 options UFS_ACL #Support for access control lists
41 options UFS_DIRHASH #Improve performance on big directories
42 #options ROOTDEVNAME=\"ufs:ada0\"
44 options GEOM_LABEL # Provides labelization
45 options GEOM_PART_GPT # GUID Partition Tables.
46 #options GEOM_RAID # Soft RAID functionality.
48 # Debugging for use in -current
49 #options DEADLKRES #Enable the deadlock resolver
50 options INVARIANTS #Enable calls of extra sanity checking
51 options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
52 #options WITNESS #Enable checks to detect deadlocks and cycles
53 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
55 # Make an SMP-capable kernel by default
56 options SMP # Symmetric MultiProcessor Kernel
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