]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/arm/conf/RADXA
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / arm / conf / RADXA
1 # RADXA -- Custom configuration for the RADXA ARM development
2 # platform, check out http://www.radxa.com
3 #
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
6 #
7 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
17 # in NOTES.
18 #
19 # $FreeBSD$
20
21 ident           RADXA
22
23 include         "../rockchip/std.rk30xx"
24
25 makeoptions     MODULES_OVERRIDE=""
26 makeoptions     WITHOUT_MODULES="ahc"
27
28 options         HZ=100
29 options         SCHED_4BSD              # 4BSD scheduler
30 options         INET                    # InterNETworking
31 options         INET6                   # IPv6 communications protocols
32 options         FFS                     # Berkeley Fast Filesystem
33 options         SOFTUPDATES             # Enable FFS soft updates support
34 options         UFS_ACL                 # Support for access control lists
35 options         UFS_DIRHASH             # Improve performance on big directories
36 options         GEOM_PART_BSD           # BSD partition scheme
37 options         GEOM_PART_MBR           # MBR partition scheme
38 options         TMPFS                   # Efficient memory filesystem
39 options         MSDOSFS                 # MSDOS Filesystem
40 options         CD9660                  # ISO 9660 Filesystem
41 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
42 options         PSEUDOFS                # Pseudo-filesystem framework
43 options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
44 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
45 options         KTRACE                  # ktrace(1) support
46 options         SYSVSHM                 # SYSV-style shared memory
47 options         SYSVMSG                 # SYSV-style message queues
48 options         SYSVSEM                 # SYSV-style semaphores
49 options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
50 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
51 options         PREEMPTION
52 options         FREEBSD_BOOT_LOADER
53 options         VFP                     # vfp/neon
54
55 # Debugging
56 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
57 options         BREAK_TO_DEBUGGER
58 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
59 options         KDB
60 options         DDB                     # Enable the kernel debugger
61 #options        INVARIANTS              # Enable calls of extra sanity checking
62 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
63 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
64 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
65 #options        DIAGNOSTIC
66
67 # NFS support
68 #options        NFSCL
69 #options        NFSSERVER               # Network Filesystem Server
70 #options        NFSCLIENT               # Network Filesystem Client
71
72 # MMC/SD/SDIO card slot support
73 #device         mmc                     # mmc/sd bus
74 #device         mmcsd                   # mmc/sd flash cards
75
76 # Boot device is 2nd slice on MMC/SD card
77 options         ROOTDEVNAME=\"ufs:/dev/da0s2\"
78
79 # Console and misc
80 device          uart
81 device          uart_ns8250
82 device          pty
83 device          snp
84 device          md
85 device          random                  # Entropy device
86
87 # I2C support
88 #device         iicbus
89 #device         iic
90
91 # GPIO
92 device          gpio
93
94 device          scbus                   # SCSI bus (required for SCSI)
95 device          da                      # Direct Access (disks)
96 device          pass
97
98 # USB support
99 options         USB_HOST_ALIGN=32       # Align usb buffers to cache line size.
100 device          usb
101 options         USB_DEBUG
102 #options        USB_REQ_DEBUG
103 #options        USB_VERBOSE
104 device          dwcotg                  # DWC OTG controller
105
106 device          umass
107
108 # Ethernet
109 device          loop
110 device          ether
111 device          mii
112 device          smscphy
113 device          bpf
114
115 # USB ethernet support, requires miibus
116 device          miibus
117 device          udav
118
119 # Flattened Device Tree
120 options         FDT
121 options         FDT_DTB_STATIC
122 makeoptions     FDT_DTS_FILE=rk3188-radxa.dts
123
124 options         SMP                     # Enable multiple cores