1 # JZ4780 -- Kernel config for Ingenic JZ47XX boards
12 makeoptions KERNLOADADDR=0x80020000
13 makeoptions ARCH_FLAGS="-EL -march=mips32r2"
15 # Don't build any modules yet.
16 makeoptions MODULES_OVERRIDE=""
18 files "../ingenic/files.jz4780"
19 hints "JZ4780.hints" #Default places to look for devices.
21 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
23 options INTRNG # Borrow interrupt code from ARM
24 options MIPS_NIRQ=264 # 8 cpuintc + 64 intc + 6 * 23 gpio
28 options BREAK_TO_DEBUGGER
30 options COMPAT_FREEBSD10
32 options SCHED_4BSD #4BSD scheduler
33 options INET #InterNETworking
34 options NFSCL #Network Filesystem Client
35 options NFS_ROOT #NFS usable as /, requires NFSCL
36 options NFSLOCKD #Network Lock Manager
37 options PSEUDOFS #Pseudo-filesystem framework
38 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
40 options FFS #Berkeley Fast Filesystem
41 options SOFTUPDATES #Enable FFS soft updates support
42 options UFS_ACL #Support for access control lists
43 options UFS_DIRHASH #Improve performance on big directories
44 #options ROOTDEVNAME=\"ufs:ada0\"
46 options GEOM_LABEL # Provides labelization
47 options GEOM_PART_GPT # GUID Partition Tables.
48 #options GEOM_RAID # Soft RAID functionality.
50 # Debugging for use in -current
51 #options DEADLKRES #Enable the deadlock resolver
52 options INVARIANTS #Enable calls of extra sanity checking
53 options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
54 #options WITNESS #Enable checks to detect deadlocks and cycles
55 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
57 # Make an SMP-capable kernel by default
58 options SMP # Symmetric MultiProcessor Kernel
86 options USB_DEBUG # enable debug msgs
87 options USB_HOST_ALIGN=128 # L2 cache line size
88 device ohci # OHCI PCI->USB interface
89 device ehci # EHCI PCI->USB interface (USB 2.0)
90 device dwcotg # DesignWare HS OTG controller
91 device usb # USB Bus (required)
92 #device udbp # USB Double Bulk Pipe devices
93 device uhid # "Human Interface Devices"
94 #device ulpt # Printer
95 device umass # Disks/Mass storage - Requires scbus and da