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