Deleted Added
full compact
RK3188 (270912) RK3188 (276003)
1#
1# Kernel configuration for Rockchip RK3188 systems.
2#
2# Kernel configuration for Rockchip RK3188 systems.
3#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
5#
6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
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#
18# $FreeBSD: head/sys/arm/conf/RK3188 270912 2014-09-01 03:49:21Z imp $
19# $FreeBSD: head/sys/arm/conf/RK3188 276003 2014-12-21 11:37:00Z andrew $
19
20ident RK3188
21
22include "../rockchip/std.rk30xx"
23
24options HZ=100
25options SCHED_4BSD # 4BSD scheduler
20
21ident RK3188
22
23include "../rockchip/std.rk30xx"
24
25options HZ=100
26options SCHED_4BSD # 4BSD scheduler
27options PREEMPTION # Enable kernel thread preemption
26options INET # InterNETworking
27options INET6 # IPv6 communications protocols
28options INET # InterNETworking
29options INET6 # IPv6 communications protocols
30options SCTP # Stream Control Transmission Protocol
28options FFS # Berkeley Fast Filesystem
29options SOFTUPDATES # Enable FFS soft updates support
30options UFS_ACL # Support for access control lists
31options UFS_DIRHASH # Improve performance on big directories
31options FFS # Berkeley Fast Filesystem
32options SOFTUPDATES # Enable FFS soft updates support
33options UFS_ACL # Support for access control lists
34options UFS_DIRHASH # Improve performance on big directories
32options GEOM_PART_BSD # BSD partition scheme
33options GEOM_PART_MBR # MBR partition scheme
34options TMPFS # Efficient memory filesystem
35options UFS_GJOURNAL # Enable gjournal-based UFS journaling
36options QUOTA # Enable disk quotas for UFS
37options NFSCL # New Network Filesystem Client
38options NFSLOCKD # Network Lock Manager
39options NFS_ROOT # NFS usable as /, requires NFSCL
35options MSDOSFS # MSDOS Filesystem
36options CD9660 # ISO 9660 Filesystem
37options PROCFS # Process filesystem (requires PSEUDOFS)
38options PSEUDOFS # Pseudo-filesystem framework
40options MSDOSFS # MSDOS Filesystem
41options CD9660 # ISO 9660 Filesystem
42options PROCFS # Process filesystem (requires PSEUDOFS)
43options PSEUDOFS # Pseudo-filesystem framework
44options TMPFS # Efficient memory filesystem
45options GEOM_PART_GPT # GUID Partition Tables
46options GEOM_PART_BSD # BSD partition scheme
47options GEOM_PART_MBR # MBR partition scheme
39options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
40options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
41options KTRACE # ktrace(1) support
42options SYSVSHM # SYSV-style shared memory
43options SYSVMSG # SYSV-style message queues
44options SYSVSEM # SYSV-style semaphores
48options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
49options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
50options KTRACE # ktrace(1) support
51options SYSVSHM # SYSV-style shared memory
52options SYSVMSG # SYSV-style message queues
53options SYSVSEM # SYSV-style semaphores
45options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
54options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
46options KBD_INSTALL_CDEV # install a CDEV entry in /dev
55options KBD_INSTALL_CDEV # install a CDEV entry in /dev
47options PREEMPTION
48options FREEBSD_BOOT_LOADER
49options VFP # vfp/neon
50options SMP # Enable multiple cores
56options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
57options VFP # Enable floating point hardware support
58options SMP # Enable multiple cores
51
59
52# Debugging
60# Debugging for use in -current
53makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
54options BREAK_TO_DEBUGGER
61makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
62options BREAK_TO_DEBUGGER
55#options VERBOSE_SYSINIT # Enable verbose sysinit messages
56options KDB
63#options VERBOSE_SYSINIT # Enable verbose sysinit messages
64options KDB # Enable kernel debugger support
65# For minimum debugger support (stable branch) use:
66#options KDB_TRACE # Print a stack trace for a panic
67# For full debugger support use this instead:
57options DDB # Enable the kernel debugger
68options DDB # Enable the kernel debugger
58#options INVARIANTS # Enable calls of extra sanity checking
59#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
69#options INVARIANTS # Enable calls of extra sanity checking
70#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
60options WITNESS # Enable checks to detect deadlocks and cycles
61options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
62options DIAGNOSTIC
63
71options WITNESS # Enable checks to detect deadlocks and cycles
72options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
73options DIAGNOSTIC
74
64# NFS support
65#options NFSCL
66#options NFSSERVER # Network Filesystem Server
67#options NFSCLIENT # Network Filesystem Client
75# Boot device is 2nd slice on USB
76options ROOTDEVNAME=\"ufs:/dev/da0s2\"
68
77
69# MMC/SD/SDIO card slot support
78# MMC/SD/SDIO Card slot support
70#device mmc # mmc/sd bus
71#device mmcsd # mmc/sd flash cards
72
79#device mmc # mmc/sd bus
80#device mmcsd # mmc/sd flash cards
81
73# Boot device is 2nd slice on USB
74options ROOTDEVNAME=\"ufs:/dev/da0s2\"
75
76# Console and misc
77device uart
78device uart_ns8250
79device pty
80device snp
81device md
82device random # Entropy device
83

--- 7 unchanged lines hidden (view full) ---

91device scbus # SCSI bus (required for ATA/SCSI)
92device da # Direct Access (disks)
93device pass
94
95# USB support
96options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
97device usb
98options USB_DEBUG
82# Console and misc
83device uart
84device uart_ns8250
85device pty
86device snp
87device md
88device random # Entropy device
89

--- 7 unchanged lines hidden (view full) ---

97device scbus # SCSI bus (required for ATA/SCSI)
98device da # Direct Access (disks)
99device pass
100
101# USB support
102options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
103device usb
104options USB_DEBUG
99#options USB_REQ_DEBUG
100#options USB_VERBOSE
105#options USB_REQ_DEBUG
106#options USB_VERBOSE
101device dwcotg # DWC OTG controller
102
103device umass
104
105# Ethernet
106device loop
107device ether
108device mii

--- 7 unchanged lines hidden (view full) ---

116device wlan # 802.11 support
117device wlan_wep # 802.11 WEP support
118device wlan_ccmp # 802.11 CCMP support
119device wlan_tkip # 802.11 TKIP support
120device urtwn
121device urtwnfw
122device firmware # Used by the above
123
107device dwcotg # DWC OTG controller
108
109device umass
110
111# Ethernet
112device loop
113device ether
114device mii

--- 7 unchanged lines hidden (view full) ---

122device wlan # 802.11 support
123device wlan_wep # 802.11 WEP support
124device wlan_ccmp # 802.11 CCMP support
125device wlan_tkip # 802.11 TKIP support
126device urtwn
127device urtwnfw
128device firmware # Used by the above
129
124# USB ethernet support, requires miibus
130# USB Ethernet support, requires miibus
125device miibus
126device udav
127
131device miibus
132device udav
133
128options FDT # Configure using FDT/DTB data.
134# Flattened Device Tree
135options FDT # Configure using FDT/DTB data