RPI-B revision 252432
143412Snewton# RPI-B -- Custom configuration for the Raspberry Pi 243412Snewton# 343412Snewton# For more information on this file, please read the handbook section on 443412Snewton# Kernel Configuration Files: 543412Snewton# 643412Snewton# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 743412Snewton# 843412Snewton# The handbook is also available locally in /usr/share/doc/handbook 943412Snewton# if you've installed the doc distribution, otherwise always see the 1043412Snewton# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 1143412Snewton# latest information. 1243412Snewton# 1343412Snewton# An exhaustive list of options and more detailed explanations of the 1443412Snewton# device lines is also present in the ../../conf/NOTES and NOTES files. 1543412Snewton# If you are in doubt as to the purpose or necessity of a line, check first 1643412Snewton# in NOTES. 1743412Snewton# 1843412Snewton# $FreeBSD: head/sys/arm/conf/RPI-B 252432 2013-06-30 23:29:24Z rpaulo $ 1943412Snewton 2043412Snewtonident RPI-B 2143412Snewtonmachine arm armv6 2243412Snewtoncpu CPU_ARM1176 2343412Snewton 2443412Snewtonfiles "../broadcom/bcm2835/files.bcm2835" 2543412Snewtonmakeoptions MODULES_OVERRIDE="" 2643412Snewton 2743412Snewtonoptions KERNVIRTADDR=0xc0100000 2843412Snewtonmakeoptions KERNVIRTADDR=0xc0100000 2943412Snewtonoptions KERNPHYSADDR=0x00100000 3043412Snewtonmakeoptions KERNPHYSADDR=0x00100000 3143412Snewtonoptions PHYSADDR=0x00000000 3243412Snewtonoptions STARTUP_PAGETABLE_ADDR=0x01000000 3343412Snewtonoptions FREEBSD_BOOT_LOADER 3443412Snewtonoptions LINUX_BOOT_ABI 3543412Snewton 3643412Snewtonmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 3743412Snewtonoptions HZ=100 3843412Snewton 3943412Snewtonoptions SCHED_4BSD #4BSD scheduler 4043412Snewtonoptions INET #InterNETworking 4143412Snewtonoptions INET6 #IPv6 communications protocols 4243412Snewtonoptions FFS #Berkeley Fast Filesystem 4343412Snewtonoptions SOFTUPDATES #Enable FFS soft updates support 4443412Snewtonoptions UFS_ACL #Support for access control lists 4543412Snewtonoptions UFS_DIRHASH #Improve performance on big directories 4643412Snewtonoptions MSDOSFS #MSDOS Filesystem 4743412Snewtondevice snp 4843412Snewton 4943412Snewtonoptions NFSCL #Network Filesystem Client 5043412Snewton 5143412Snewton#options NFS_ROOT #NFS usable as /, requires NFSCLIENT 5243412Snewton#options BOOTP_NFSROOT 5343412Snewton#options BOOTP_COMPAT 5443412Snewton#options BOOTP 5543412Snewton#options BOOTP_NFSV3 5643412Snewton#options BOOTP_WIRED_TO=ue0 5743412Snewton 5843412Snewtonoptions PSEUDOFS #Pseudo-filesystem framework 5943412Snewtonoptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 6043412Snewtonoptions SCSI_DELAY=5000 #Delay (in ms) before probing SCSI 6143412Snewtonoptions KTRACE #ktrace(1) support 6243412Snewtonoptions SYSVSHM #SYSV-style shared memory 6343412Snewtonoptions SYSVMSG #SYSV-style message queues 6443412Snewtonoptions SYSVSEM #SYSV-style semaphores 6543412Snewtonoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 6643412Snewtonoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 6743412Snewton#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 6843412Snewton 6943412Snewtonoptions PREEMPTION 7043412Snewton 7143412Snewtondevice bpf 7243412Snewtondevice loop 7343412Snewtondevice ether 7443412Snewtondevice uart 7543412Snewtondevice pl011 7643412Snewton 7743412Snewtondevice pty 7843412Snewton 7943412Snewton# Comment following lines for boot console on serial port 8043412Snewtondevice sc 8143412Snewtondevice kbdmux 8243412Snewtonoptions SC_DFLT_FONT # compile font in 8343412Snewtonmakeoptions SC_DFLT_FONT=cp437 8443412Snewtondevice ukbd 8543412Snewton 8643412Snewtondevice sdhci 8743412Snewtondevice mmc 8843412Snewtondevice mmcsd 8943412Snewton 9043412Snewtondevice gpio 9143412Snewtondevice gpioled 9243412Snewton 9343412Snewtonoptions KDB 9443412Snewtonoptions DDB #Enable the kernel debugger 9543412Snewtonoptions INVARIANTS #Enable calls of extra sanity checking 9643412Snewtonoptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 9743412Snewton 9843412Snewtondevice md 9943412Snewtondevice random # Entropy device 10043412Snewton 10143412Snewton# USB support 10243412Snewtondevice usb 10343412Snewtonoptions USB_DEBUG 10443412Snewtondevice dwcotg #DWC OTG controller 10543412Snewton 10643412Snewton# USB storage support 10743412Snewtondevice scbus 10843412Snewtondevice da 10943412Snewtondevice umass 11043412Snewton 11143412Snewton# USB ethernet support 11243412Snewtondevice smcphy 11343412Snewtondevice mii 11443412Snewtondevice smsc 11543412Snewton 11643412Snewton# Flattened Device Tree 11743412Snewtonoptions FDT 11843412Snewton# Note: DTB is normally loaded and modified by RPi boot loader, then 11943412Snewton# handed to kernel via U-Boot and ubldr. 12043412Snewton#options FDT_DTB_STATIC 12143412Snewtonmakeoptions FDT_DTS_FILE=bcm2835-rpi-b.dts 12243412Snewton