RPI-B (269233) | RPI-B (276003) |
---|---|
1# |
|
1# RPI-B -- Custom configuration for the Raspberry Pi 2# | 2# RPI-B -- Custom configuration for the Raspberry Pi 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 | 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 |
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 | 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 |
16# in NOTES. 17# | 17# in NOTES. 18# |
18# $FreeBSD: head/sys/arm/conf/RPI-B 269233 2014-07-29 12:04:11Z ray $ | 19# $FreeBSD: head/sys/arm/conf/RPI-B 276003 2014-12-21 11:37:00Z andrew $ |
19 20ident RPI-B 21 22include "../broadcom/bcm2835/std.rpi" 23 | 20 21ident RPI-B 22 23include "../broadcom/bcm2835/std.rpi" 24 |
24makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols | |
25options HZ=100 | 25options HZ=100 |
26 | |
27options SCHED_4BSD # 4BSD scheduler | 26options SCHED_4BSD # 4BSD scheduler |
27options PREEMPTION # Enable kernel thread preemption |
|
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 | 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 GEOM_PART_BSD # BSD partition scheme 36options GEOM_PART_MBR # MBR partition scheme 37options 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 |
38options MSDOSFS # MSDOS Filesystem | 40options MSDOSFS # MSDOS Filesystem |
39device snp 40 41options NFSCL # Network Filesystem Client 42 43#options NFS_ROOT # NFS usable as /, requires NFSCLIENT 44#options BOOTP_NFSROOT 45#options BOOTP_COMPAT 46#options BOOTP 47#options BOOTP_NFSV3 48#options BOOTP_WIRED_TO=ue0 49 | 41options CD9660 # ISO 9660 Filesystem 42options PROCFS # Process filesystem (requires PSEUDOFS) |
50options PSEUDOFS # Pseudo-filesystem framework | 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 |
|
51options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 52options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 53options KTRACE # ktrace(1) support 54options SYSVSHM # SYSV-style shared memory 55options SYSVMSG # SYSV-style message queues 56options 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 |
57options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions | 54options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions |
58options KBD_INSTALL_CDEV # install a CDEV entry in /dev | 55options KBD_INSTALL_CDEV # install a CDEV entry in /dev |
59#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 60 61options PREEMPTION | |
62options PLATFORM | 56options PLATFORM |
57options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 58options VFP # Enable floating point hardware support |
|
63 | 59 |
60# Debugging for use in -current 61makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 62options BREAK_TO_DEBUGGER 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: 68options DDB # Enable the kernel debugger 69options INVARIANTS # Enable calls of extra sanity checking 70options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 71#options WITNESS # Enable checks to detect deadlocks and cycles 72#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 73#options DIAGNOSTIC 74 75# NFS root from boopt/dhcp 76#options BOOTP 77#options BOOTP_NFSROOT 78#options BOOTP_COMPAT 79#options BOOTP_NFSV3 80#options BOOTP_WIRED_TO=ue0 81 82#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 83 |
|
64device bpf 65device loop 66device ether 67device uart | 84device bpf 85device loop 86device ether 87device uart |
88device pty 89device snp |
|
68device pl011 69 | 90device pl011 91 |
70device pty 71 | |
72# Comment following lines for boot console on serial port 73device vt 74device kbdmux 75device ukbd 76 77device sdhci 78device mmc 79device mmcsd 80 81device gpio 82device gpioled 83 84# I2C 85device iic 86device iicbus 87device bcm2835_bsc 88 | 92# Comment following lines for boot console on serial port 93device vt 94device kbdmux 95device ukbd 96 97device sdhci 98device mmc 99device mmcsd 100 101device gpio 102device gpioled 103 104# I2C 105device iic 106device iicbus 107device bcm2835_bsc 108 |
89options KDB 90options DDB # Enable the kernel debugger 91options INVARIANTS # Enable calls of extra sanity checking 92options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 93 | |
94device md 95device random # Entropy device 96 97# USB support 98device usb 99options USB_DEBUG 100device dwcotg # DWC OTG controller 101 --- 7 unchanged lines hidden (view full) --- 109device mii 110device smsc 111 112# SPI 113device spibus 114device bcm2835_spi 115 116# Flattened Device Tree | 109device md 110device random # Entropy device 111 112# USB support 113device usb 114options USB_DEBUG 115device dwcotg # DWC OTG controller 116 --- 7 unchanged lines hidden (view full) --- 124device mii 125device smsc 126 127# SPI 128device spibus 129device bcm2835_spi 130 131# Flattened Device Tree |
117options FDT | 132options FDT # Configure using FDT/DTB data |
118# Note: DTB is normally loaded and modified by RPi boot loader, then 119# handed to kernel via U-Boot and ubldr. | 133# Note: DTB is normally loaded and modified by RPi boot loader, then 134# handed to kernel via U-Boot and ubldr. |
120#options FDT_DTB_STATIC 121makeoptions FDT_DTS_FILE=rpi.dts 122 123options VFP # vfp/neon | 135#options FDT_DTB_STATIC 136makeoptions FDT_DTS_FILE=rpi.dts |