RPI-B revision 262905
1193645Ssimon# RPI-B -- Custom configuration for the Raspberry Pi 2193645Ssimon# 3193645Ssimon# For more information on this file, please read the handbook section on 4193645Ssimon# Kernel Configuration Files: 5193645Ssimon# 6193645Ssimon# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7193645Ssimon# 8296465Sdelphij# The handbook is also available locally in /usr/share/doc/handbook 9193645Ssimon# if you've installed the doc distribution, otherwise always see the 10193645Ssimon# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 11193645Ssimon# latest information. 12193645Ssimon# 13193645Ssimon# An exhaustive list of options and more detailed explanations of the 14193645Ssimon# device lines is also present in the ../../conf/NOTES and NOTES files. 15296465Sdelphij# If you are in doubt as to the purpose or necessity of a line, check first 16193645Ssimon# in NOTES. 17193645Ssimon# 18193645Ssimon# $FreeBSD: head/sys/arm/conf/RPI-B 262905 2014-03-07 21:36:49Z ian $ 19193645Ssimon 20193645Ssimonident RPI-B 21193645Ssimon 22296465Sdelphijinclude "../broadcom/bcm2835/std.rpi" 23193645Ssimon 24193645Ssimonmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 25193645Ssimonoptions HZ=100 26193645Ssimon 27193645Ssimonoptions SCHED_4BSD #4BSD scheduler 28193645Ssimonoptions INET #InterNETworking 29193645Ssimonoptions INET6 #IPv6 communications protocols 30193645Ssimonoptions SCTP #Stream Control Transmission Protocol 31193645Ssimonoptions FFS #Berkeley Fast Filesystem 32193645Ssimonoptions SOFTUPDATES #Enable FFS soft updates support 33193645Ssimonoptions UFS_ACL #Support for access control lists 34193645Ssimonoptions UFS_DIRHASH #Improve performance on big directories 35193645Ssimonoptions GEOM_PART_BSD #BSD partition scheme 36193645Ssimonoptions GEOM_PART_MBR #MBR partition scheme 37296465Sdelphijoptions TMPFS #Efficient memory filesystem 38193645Ssimonoptions MSDOSFS #MSDOS Filesystem 39193645Ssimondevice snp 40296465Sdelphij 41193645Ssimonoptions NFSCL #Network Filesystem Client 42193645Ssimon 43193645Ssimon#options NFS_ROOT #NFS usable as /, requires NFSCLIENT 44193645Ssimon#options BOOTP_NFSROOT 45193645Ssimon#options BOOTP_COMPAT 46193645Ssimon#options BOOTP 47193645Ssimon#options BOOTP_NFSV3 48193645Ssimon#options BOOTP_WIRED_TO=ue0 49193645Ssimon 50193645Ssimonoptions PSEUDOFS #Pseudo-filesystem framework 51193645Ssimonoptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 52296465Sdelphijoptions SCSI_DELAY=5000 #Delay (in ms) before probing SCSI 53193645Ssimonoptions KTRACE #ktrace(1) support 54193645Ssimonoptions SYSVSHM #SYSV-style shared memory 55193645Ssimonoptions SYSVMSG #SYSV-style message queues 56193645Ssimonoptions SYSVSEM #SYSV-style semaphores 57193645Ssimonoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 58193645Ssimonoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 59193645Ssimon#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 60193645Ssimon 61193645Ssimonoptions PREEMPTION 62193645Ssimon 63193645Ssimondevice bpf 64193645Ssimondevice loop 65193645Ssimondevice ether 66193645Ssimondevice uart 67296465Sdelphijdevice pl011 68193645Ssimon 69193645Ssimondevice pty 70296465Sdelphij 71193645Ssimon# Comment following lines for boot console on serial port 72296465Sdelphijdevice vt 73193645Ssimondevice kbdmux 74193645Ssimonoptions SC_DFLT_FONT # compile font in 75296465Sdelphijmakeoptions SC_DFLT_FONT=cp437 76296465Sdelphijdevice ukbd 77193645Ssimon 78296465Sdelphijdevice sdhci 79296465Sdelphijdevice mmc 80193645Ssimondevice mmcsd 81193645Ssimon 82296465Sdelphijdevice gpio 83193645Ssimondevice gpioled 84296465Sdelphij 85296465Sdelphij# I2C 86296465Sdelphijdevice iic 87296465Sdelphijdevice iicbus 88193645Ssimondevice bcm2835_bsc 89296465Sdelphij 90296465Sdelphijoptions KDB 91193645Ssimonoptions DDB #Enable the kernel debugger 92193645Ssimonoptions INVARIANTS #Enable calls of extra sanity checking 93296465Sdelphijoptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 94296465Sdelphij 95193645Ssimondevice md 96296465Sdelphijdevice random # Entropy device 97193645Ssimon 98296465Sdelphij# USB support 99296465Sdelphijdevice usb 100296465Sdelphijoptions USB_DEBUG 101296465Sdelphijdevice dwcotg #DWC OTG controller 102296465Sdelphij 103193645Ssimon# USB storage support 104296465Sdelphijdevice scbus 105193645Ssimondevice da 106296465Sdelphijdevice umass 107296465Sdelphij 108193645Ssimon# USB ethernet support 109193645Ssimondevice smcphy 110296465Sdelphijdevice mii 111296465Sdelphijdevice smsc 112296465Sdelphij 113193645Ssimon# SPI 114193645Ssimondevice spibus 115296465Sdelphijdevice bcm2835_spi 116296465Sdelphij 117296465Sdelphij# Flattened Device Tree 118296465Sdelphijoptions FDT 119296465Sdelphij# Note: DTB is normally loaded and modified by RPi boot loader, then 120296465Sdelphij# handed to kernel via U-Boot and ubldr. 121193645Ssimon#options FDT_DTB_STATIC 122296465Sdelphijmakeoptions FDT_DTS_FILE=rpi.dts 123296465Sdelphij 124296465Sdelphijoptions VFP # vfp/neon 125296465Sdelphij