Deleted Added
full compact
RPI2 (253845) RPI2 (254461)
1# RPI-B -- Custom configuration for the Raspberry Pi
2#
3# For more information on this file, please read the handbook section on
4# 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#
1# RPI-B -- Custom configuration for the Raspberry Pi
2#
3# For more information on this file, please read the handbook section on
4# 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#
18# $FreeBSD: head/sys/arm/conf/RPI-B 253845 2013-07-31 17:21:18Z obrien $
18# $FreeBSD: head/sys/arm/conf/RPI-B 254461 2013-08-17 18:51:38Z andrew $
19
20ident RPI-B
21
22include "../broadcom/bcm2835/std.rpi"
23
24makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
25options HZ=100
26
27options SCHED_4BSD #4BSD scheduler
28options INET #InterNETworking
29options INET6 #IPv6 communications protocols
30options SCTP #Stream Control Transmission Protocol
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
35options MSDOSFS #MSDOS Filesystem
36device snp
37
38options NFSCL #Network Filesystem Client
39
40#options NFS_ROOT #NFS usable as /, requires NFSCLIENT
41#options BOOTP_NFSROOT
42#options BOOTP_COMPAT
43#options BOOTP
44#options BOOTP_NFSV3
45#options BOOTP_WIRED_TO=ue0
46
47options PSEUDOFS #Pseudo-filesystem framework
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
54options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
55options KBD_INSTALL_CDEV # install a CDEV entry in /dev
56#options ROOTDEVNAME=\"ufs:mmcsd0s2\"
57
58options PREEMPTION
59
60device bpf
61device loop
62device ether
63device uart
64device pl011
65
66device pty
67
68# Comment following lines for boot console on serial port
69device sc
70device kbdmux
71options SC_DFLT_FONT # compile font in
72makeoptions SC_DFLT_FONT=cp437
73device ukbd
74
75device sdhci
76device mmc
77device mmcsd
78
79device gpio
80device gpioled
81
82options KDB
83options DDB #Enable the kernel debugger
84options INVARIANTS #Enable calls of extra sanity checking
85options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
86
87device md
88device random # Entropy device
89
90# USB support
91device usb
92options USB_DEBUG
93device dwcotg #DWC OTG controller
94
95# USB storage support
96device scbus
97device da
98device umass
99
100# USB ethernet support
101device smcphy
102device mii
103device smsc
104
105# Flattened Device Tree
106options FDT
107# Note: DTB is normally loaded and modified by RPi boot loader, then
108# handed to kernel via U-Boot and ubldr.
109#options FDT_DTB_STATIC
110makeoptions FDT_DTS_FILE=rpi.dts
111
19
20ident RPI-B
21
22include "../broadcom/bcm2835/std.rpi"
23
24makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
25options HZ=100
26
27options SCHED_4BSD #4BSD scheduler
28options INET #InterNETworking
29options INET6 #IPv6 communications protocols
30options SCTP #Stream Control Transmission Protocol
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
35options MSDOSFS #MSDOS Filesystem
36device snp
37
38options NFSCL #Network Filesystem Client
39
40#options NFS_ROOT #NFS usable as /, requires NFSCLIENT
41#options BOOTP_NFSROOT
42#options BOOTP_COMPAT
43#options BOOTP
44#options BOOTP_NFSV3
45#options BOOTP_WIRED_TO=ue0
46
47options PSEUDOFS #Pseudo-filesystem framework
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
54options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
55options KBD_INSTALL_CDEV # install a CDEV entry in /dev
56#options ROOTDEVNAME=\"ufs:mmcsd0s2\"
57
58options PREEMPTION
59
60device bpf
61device loop
62device ether
63device uart
64device pl011
65
66device pty
67
68# Comment following lines for boot console on serial port
69device sc
70device kbdmux
71options SC_DFLT_FONT # compile font in
72makeoptions SC_DFLT_FONT=cp437
73device ukbd
74
75device sdhci
76device mmc
77device mmcsd
78
79device gpio
80device gpioled
81
82options KDB
83options DDB #Enable the kernel debugger
84options INVARIANTS #Enable calls of extra sanity checking
85options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
86
87device md
88device random # Entropy device
89
90# USB support
91device usb
92options USB_DEBUG
93device dwcotg #DWC OTG controller
94
95# USB storage support
96device scbus
97device da
98device umass
99
100# USB ethernet support
101device smcphy
102device mii
103device smsc
104
105# Flattened Device Tree
106options FDT
107# Note: DTB is normally loaded and modified by RPi boot loader, then
108# handed to kernel via U-Boot and ubldr.
109#options FDT_DTB_STATIC
110makeoptions FDT_DTS_FILE=rpi.dts
111
112device vfp # vfp/neon
113options ARM_VFP_SUPPORT # vfp/neon
112options VFP # vfp/neon