Deleted Added
full compact
RADXA (266085) RADXA (266086)
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#
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: stable/10/sys/arm/conf/RADXA 266085 2014-05-14 20:11:20Z ian $
19# $FreeBSD: stable/10/sys/arm/conf/RADXA 266086 2014-05-14 20:17:31Z ian $
20
21ident RADXA
22
23include "../rockchip/std.rk30xx"
24
25makeoptions MODULES_OVERRIDE=""
26makeoptions WITHOUT_MODULES="ahc"
27
28options HZ=100
29options SCHED_4BSD #4BSD scheduler
30options INET #InterNETworking
31options INET6 #IPv6 communications protocols
32options FFS #Berkeley Fast Filesystem
33options SOFTUPDATES #Enable FFS soft updates support
34options UFS_ACL #Support for access control lists
35options UFS_DIRHASH #Improve performance on big directories
36options MSDOSFS #MSDOS Filesystem
37options CD9660 #ISO 9660 Filesystem
38options PROCFS #Process filesystem (requires PSEUDOFS)
39options PSEUDOFS #Pseudo-filesystem framework
40options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
41options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
42options KTRACE #ktrace(1) support
43options SYSVSHM #SYSV-style shared memory
44options SYSVMSG #SYSV-style message queues
45options SYSVSEM #SYSV-style semaphores
46options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47options KBD_INSTALL_CDEV # install a CDEV entry in /dev
48options PREEMPTION
49options FREEBSD_BOOT_LOADER
50options VFP # vfp/neon
51
52# Debugging
53makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
54options BREAK_TO_DEBUGGER
55#options VERBOSE_SYSINIT #Enable verbose sysinit messages
56options KDB
57options 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
60options WITNESS #Enable checks to detect deadlocks and cycles
61options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
62options DIAGNOSTIC
63
64# NFS support
65#options NFSCL
66#options NFSSERVER #Network Filesystem Server
67#options NFSCLIENT #Network Filesystem Client
68
69# MMC/SD/SDIO card slot support
70#device mmc # mmc/sd bus
71#device mmcsd # mmc/sd flash cards
72
73# Boot device is 2nd slice on MMC/SD card
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
84# I2C support
85#device iicbus
86#device iic
87
88# GPIO
89device gpio
90
91device scbus # SCSI bus (required for SCSI)
92device da # Direct Access (disks)
93device pass
94
95# USB support
20
21ident RADXA
22
23include "../rockchip/std.rk30xx"
24
25makeoptions MODULES_OVERRIDE=""
26makeoptions WITHOUT_MODULES="ahc"
27
28options HZ=100
29options SCHED_4BSD #4BSD scheduler
30options INET #InterNETworking
31options INET6 #IPv6 communications protocols
32options FFS #Berkeley Fast Filesystem
33options SOFTUPDATES #Enable FFS soft updates support
34options UFS_ACL #Support for access control lists
35options UFS_DIRHASH #Improve performance on big directories
36options MSDOSFS #MSDOS Filesystem
37options CD9660 #ISO 9660 Filesystem
38options PROCFS #Process filesystem (requires PSEUDOFS)
39options PSEUDOFS #Pseudo-filesystem framework
40options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
41options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
42options KTRACE #ktrace(1) support
43options SYSVSHM #SYSV-style shared memory
44options SYSVMSG #SYSV-style message queues
45options SYSVSEM #SYSV-style semaphores
46options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47options KBD_INSTALL_CDEV # install a CDEV entry in /dev
48options PREEMPTION
49options FREEBSD_BOOT_LOADER
50options VFP # vfp/neon
51
52# Debugging
53makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
54options BREAK_TO_DEBUGGER
55#options VERBOSE_SYSINIT #Enable verbose sysinit messages
56options KDB
57options 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
60options WITNESS #Enable checks to detect deadlocks and cycles
61options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
62options DIAGNOSTIC
63
64# NFS support
65#options NFSCL
66#options NFSSERVER #Network Filesystem Server
67#options NFSCLIENT #Network Filesystem Client
68
69# MMC/SD/SDIO card slot support
70#device mmc # mmc/sd bus
71#device mmcsd # mmc/sd flash cards
72
73# Boot device is 2nd slice on MMC/SD card
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
84# I2C support
85#device iicbus
86#device iic
87
88# GPIO
89device gpio
90
91device scbus # SCSI bus (required for SCSI)
92device da # Direct Access (disks)
93device pass
94
95# USB support
96options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
96device usb
97options USB_DEBUG
98#options USB_REQ_DEBUG
99#options USB_VERBOSE
100device dwcotg #DWC OTG controller
101
102device umass
103
104# Ethernet
105device loop
106device ether
107device mii
108device smscphy
109device bpf
110
111# USB ethernet support, requires miibus
112device miibus
113device udav
114
115# Flattened Device Tree
116options FDT
117options FDT_DTB_STATIC
118makeoptions FDT_DTS_FILE=rk3188-radxa.dts
119
97device usb
98options USB_DEBUG
99#options USB_REQ_DEBUG
100#options USB_VERBOSE
101device dwcotg #DWC OTG controller
102
103device umass
104
105# Ethernet
106device loop
107device ether
108device mii
109device smscphy
110device bpf
111
112# USB ethernet support, requires miibus
113device miibus
114device udav
115
116# Flattened Device Tree
117options FDT
118options FDT_DTB_STATIC
119makeoptions FDT_DTS_FILE=rk3188-radxa.dts
120