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