]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/JZ4780
Merge ^/head r308842 through r308867.
[FreeBSD/FreeBSD.git] / sys / mips / conf / JZ4780
1 # JZ4780 -- Kernel config for Ingenic JZ47XX boards
2 #
3 # $FreeBSD$
4
5 ident           JZ4780
6 machine         mips mipsel
7 cpu             CPU_XBURST
8 cpu             CPU_MIPS4KC
9
10 makeoptions     KERNLOADADDR=0x80020000
11 makeoptions     ARCH_FLAGS="-EL -march=mips32r2"
12
13 # Don't build any modules yet.
14 makeoptions     MODULES_OVERRIDE=""
15
16 files           "../ingenic/files.jz4780"
17 hints           "JZ4780.hints"          #Default places to look for devices.
18
19 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
20
21 options         INTRNG                  # Borrow interrupt code from ARM
22 options         MIPS_NIRQ=264           # 8 cpuintc + 64 intc + 6 * 23 gpio
23
24 options         DDB
25 options         KDB
26 options         BREAK_TO_DEBUGGER
27
28 options         COMPAT_FREEBSD10
29
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
37
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\"
43
44 options         GEOM_LABEL              # Provides labelization
45 options         GEOM_PART_GPT           # GUID Partition Tables.
46 #options        GEOM_RAID               # Soft RAID functionality.
47
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
54
55 # Make an SMP-capable kernel by default
56 options         SMP                     # Symmetric MultiProcessor Kernel
57
58 device          loop
59 device          ether
60 #device         le
61 device          miibus
62 device          bpf
63 device          md
64 device          uart
65 device          random
66
67 device          fdt_pinctrl
68
69 device          clk
70 device          regulator
71 device          ext_resources
72
73 device          gpio
74
75 device          scbus
76 device          da
77
78 device          mmc
79 device          mmcsd
80
81 # USB support
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
92 device          ums             # Mouse