svn commit: r258006 - projects/specific_leg/sys/arm/conf
Andrew Turner
andrew at FreeBSD.org
Mon Nov 11 20:22:04 UTC 2013
Author: andrew
Date: Mon Nov 11 20:22:03 2013
New Revision: 258006
URL: http://svnweb.freebsd.org/changeset/base/258006
Log:
Add a "GENERIC" armv6 kernel config. It includes support for bcm2835 and
Ti chips. It is not intended to build yet.
Added:
projects/specific_leg/sys/arm/conf/GENERIC
Added: projects/specific_leg/sys/arm/conf/GENERIC
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/specific_leg/sys/arm/conf/GENERIC Mon Nov 11 20:22:03 2013 (r258006)
@@ -0,0 +1,145 @@
+# GENERIC -- Generic kernel configuration file for FreeBSD/armv6
+# TODO: Get this working with non-RPI hardware
+#
+# For more information on this file, please read the config(5) manual page,
+# and/or the handbook section on Kernel Configuration Files:
+#
+# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
+#
+# The handbook is also available locally in /usr/share/doc/handbook
+# if you've installed the doc distribution, otherwise always see the
+# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
+# latest information.
+#
+# An exhaustive list of options and more detailed explanations of the
+# device lines is also present in the ../../conf/NOTES and NOTES files.
+# If you are in doubt as to the purpose or necessity of a line, check first
+# in NOTES.
+#
+# $FreeBSD: projects/specific_leg/sys/arm/conf/RPI-B 257062 2013-10-24 16:27:33Z loos $
+
+ident GENERIC
+
+# This kernel supports ARMv6 and later
+machine arm armv6
+cpu CPU_ARM1176
+
+files "../broadcom/bcm2835/files.bcm2835"
+files "../ti/files.ti"
+
+# The standard load address for FreeBSD/armv6
+options KERNVIRTADDR=0xc0100000
+makeoptions KERNVIRTADDR=0xc0100000
+
+makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
+options HZ=100
+
+options SCHED_4BSD #4BSD scheduler
+options PREEMPTION # Enable kernel thread preemption
+options INET # InterNETworking
+options INET6 # IPv6 communications protocols
+options SCTP # Stream Control Transmission Protocol
+options FFS # Berkeley Fast Filesystem
+options SOFTUPDATES # Enable FFS soft updates support
+options UFS_ACL # Support for access control lists
+options UFS_DIRHASH # Improve performance on big directories
+options NFSCL # Network Filesystem Client
+options NFS_ROOT # NFS usable as /, requires NFSCL
+options MSDOSFS # MSDOS Filesystem
+options PSEUDOFS # Pseudo-filesystem framework
+options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
+options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
+options KTRACE # ktrace(1) support
+options SYSVSHM # SYSV-style shared memory
+options SYSVMSG # SYSV-style message queues
+options SYSVSEM # SYSV-style semaphores
+options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
+options KBD_INSTALL_CDEV # install a CDEV entry in /dev
+
+options FREEBSD_BOOT_LOADER # FreeBSD loader support
+options LINUX_BOOT_ABI # Linux loader support, e.g. U-Boot
+
+
+# Debugging support. Always need this:
+options KDB # Enable kernel debugger support.
+# For full debugger support use (turn off in stable branch):
+options DDB # Support DDB.
+options INVARIANTS # Enable calls of extra sanity checking
+options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
+#options WITNESS # Enable checks to detect deadlocks and cycles
+#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
+#options DIAGNOSTIC
+#options VERBOSE_SYSINIT #Enable verbose sysinit messages
+
+# Make an SMP-capable kernel by default
+#options SMP # Symmetric MultiProcessor Kernel
+
+# Let userland use the VFP/NEON hardware
+options VFP # vfp/neon
+
+# Flattened Device Tree
+options FDT
+
+# ATA/SCSI/umass peripherals
+device scbus # SCSI bus (required for ATA/SCSI)
+device da # Direct Access (disks)
+
+device kbdmux # keyboard multiplexer
+
+# syscons is the default console driver, resembling an SCO console
+device sc
+options SC_DFLT_FONT # compile font in
+makeoptions SC_DFLT_FONT=cp437
+
+# Serial (COM) ports
+device uart # Generic UART driver
+device pl011 # ARMs pl011 UART
+device uart_ns8250 # NS8250 like UART
+
+# Ethernet NICs that use the common MII bus controller code.
+# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
+device miibus # MII bus support
+device smsc # SMSC LAN95xx USB Ethernet
+
+# Pseudo devices.
+device loop # Network loopback
+device random # Entropy device
+device ether # Ethernet support
+device md # Memory "disks"
+device pty # BSD-style compatibility pseudo ttys
+device snp # Snoop device - to look at pty/vty/etc..
+
+# The `bpf' device enables the Berkeley Packet Filter.
+# Be aware of the administrative consequences of enabling this!
+# Note that 'bpf' is required for DHCP.
+device bpf # Berkeley packet filter
+
+# USB support
+options USB_DEBUG # enable debug msgs
+# One or more of these break RPi
+#device uhci # UHCI USB interface
+#device ohci # OHCI USB interface
+#device ehci # EHCI USB interface (USB 2.0)
+#device xhci # XHCI USB interface (USB 3.0)
+device dwcotg # DWC OTG controller
+device usb # USB Bus (required)
+device ukbd # Keyboard
+device umass # Disks/Mass storage - Requires scbus and da
+
+# MMC/SD/SDIO Card slot support
+device mmc # MMC/SD bus
+device mmcsd # MMC/SD memory card
+device sdhci # Generic PCI SD Host Controller
+
+# GPIO
+device gpio
+device gpioled
+
+# I2C support
+device iic
+device iicbus
+device bcm2835_bsc
+
+# SPI
+device spibus
+device bcm2835_spi
More information about the svn-src-projects
mailing list