summaryrefslogtreecommitdiffstats
path: root/sys/arm/conf
diff options
context:
space:
mode:
authorzbb <zbb@FreeBSD.org>2015-05-15 18:25:48 +0000
committerzbb <zbb@FreeBSD.org>2015-05-15 18:25:48 +0000
commita03bdb9d161397300c2d4a351b36fb0a0acbcb09 (patch)
tree4daef8b45fe9c3163343c0920dc488f6d5747001 /sys/arm/conf
parentff64c3f3117aaf0771621579e72d064f3ff348ea (diff)
downloadFreeBSD-src-a03bdb9d161397300c2d4a351b36fb0a0acbcb09.zip
FreeBSD-src-a03bdb9d161397300c2d4a351b36fb0a0acbcb09.tar.gz
Introduce support for the Alpine PoC from Annapurna Labs
The Alpine Platform-On-Chip offers multicore processing (quad ARM Cortex-A15), 1/10Gb Ethernet, SATA 3, PCI-E 3, DMA engines, Virtualization, Advanced Power Management and other. This code drop involves basic platform support including: SMP, IRQs, SerDes, SATA. As of now it is missing the PCIe support. Part of the functionality is provided by the low-level code (HAL) delivered by the chip vendor (Annapurna Labs) and is a subject to change in the future (is planned to be moved to sys/contrib directory). The review log for this commit is available here: https://reviews.freebsd.org/D2340 Reviewed by: andrew, ian, imp Obtained from: Semihalf Sponsored by: Annapurna Labs
Diffstat (limited to 'sys/arm/conf')
-rw-r--r--sys/arm/conf/ALPINE83
1 files changed, 83 insertions, 0 deletions
diff --git a/sys/arm/conf/ALPINE b/sys/arm/conf/ALPINE
new file mode 100644
index 0000000..19069f2
--- /dev/null
+++ b/sys/arm/conf/ALPINE
@@ -0,0 +1,83 @@
+# Kernel configuration for Alpine Board.
+#
+# 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$
+
+ident ALPINE
+
+include "std.armv6"
+include "../annapurna/alpine/std.alpine"
+
+makeoptions MODULES_OVERRIDE=""
+makeoptions WERROR="-Werror"
+
+options HZ=100
+options SCHED_4BSD # 4BSD scheduler
+options SMP # Enable multiple cores
+
+# Debugging
+makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
+options BREAK_TO_DEBUGGER
+options KDB
+options DDB #Enable the kernel debugger
+
+# NFS support
+options NFSCL #Network Filesystem Client
+options NFSLOCKD #Network Lock Manager
+options NFS_ROOT #NFS usable as /, requires NFSCLIENT
+
+# Interrupt controller
+device gic
+
+# Pseudo devices
+device loop
+device random
+device pty
+device md
+device gpio
+
+# ATA controllers
+device ahci # AHCI-compatible SATA controllers
+device ata # Legacy ATA/SATA controllers
+options ATA_STATIC_ID # Static device numbering
+
+# ATA/SCSI peripherals
+device scbus # SCSI bus (required for ATA/SCSI)
+device ch # SCSI media changers
+device da # Direct Access (disks)
+device sa # Sequential Access (tape etc)
+device cd # CD
+device pass # Passthrough device (direct ATA/SCSI access)
+device ses # Enclosure Services (SES and SAF-TE)
+#device ctl # CAM Target Layer
+
+# Serial ports
+device uart
+
+# Ethernet
+device ether
+device mii
+device bpf
+options DEVICE_POLLING
+
+# USB ethernet support, requires miibus
+device miibus
+
+#FDT
+options FDT
+options FDT_DTB_STATIC
+makeoptions FDT_DTS_FILE=annapurna-alpine.dts
OpenPOWER on IntegriCloud