svn commit: r307586 - head/sys/arm64/conf

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Oct 18 23:48:48 UTC 2016


Author: gonzo
Date: Tue Oct 18 23:48:47 2016
New Revision: 307586
URL: https://svnweb.freebsd.org/changeset/base/307586

Log:
  Retire RPI3 kernel config in favour of GENERIC-UP
  
  Policy for FreeBSD/arm64 kernel config is the same one as for x86
  architectures: provide GENERIC kernel bootable on as many systems
  as possible. Since there is no SMP support for RPi 3 yet new kernel
  config was introduced: GENERIC-UP, which is effectively GENERIC with
  SMP option disabled

Added:
  head/sys/arm64/conf/GENERIC-UP   (contents, props changed)
Deleted:
  head/sys/arm64/conf/RPI3
Modified:
  head/sys/arm64/conf/GENERIC

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC	Tue Oct 18 23:27:50 2016	(r307585)
+++ head/sys/arm64/conf/GENERIC	Tue Oct 18 23:48:47 2016	(r307586)
@@ -90,6 +90,7 @@ options 	MALLOC_DEBUG_MAXZONES=8	# Separ
 options 	SOC_ALLWINNER_A64
 options 	SOC_CAVM_THUNDERX
 options 	SOC_HISI_HI6220
+options 	SOC_BRCM_BCM2837
 
 # Annapurna Alpine drivers
 device		al_ccu			# Alpine Cache Coherency Unit
@@ -129,6 +130,7 @@ device		da
 device		pass		# Passthrough device (direct ATA/SCSI access)
 
 # MMC/SD/SDIO Card slot support
+device		sdhci
 device		aw_mmc			# Allwinner SD/MMC controller
 device		mmc			# mmc/sd bus
 device		mmcsd			# mmc/sd flash cards
@@ -152,13 +154,19 @@ device		usb			# USB Bus (required)
 device		ukbd			# Keyboard
 device		umass			# Disks/Mass storage - Requires scbus and da
 
+# USB ethernet support
+device		smcphy
+device		smsc
+
 # GPIO
 device		aw_gpio		# Allwinner GPIO controller
 device		gpio
+device		gpioled
 device		fdt_pinctrl
 
 # I2C
 device		aw_rsb		# Allwinner Reduced Serial Bus
+device		bcm2835_bsc	# Broadcom BCM283x I2C bus
 device		iicbus
 
 # Clock and reset controllers
@@ -182,6 +190,14 @@ device		aw_sid		# Allwinner Secure ID EF
 # Thermal sensors
 device		aw_thermal	# Allwinner Thermal Sensor Controller
 
+# SPI
+device		spibus
+device		bcm2835_spi	# Broadcom BCM283x SPI bus
+
+# Console
+device		vt
+device		kbdmux
+
 # Pseudo devices.
 device		loop		# Network loopback
 device		random		# Entropy device

Added: head/sys/arm64/conf/GENERIC-UP
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/arm64/conf/GENERIC-UP	Tue Oct 18 23:48:47 2016	(r307586)
@@ -0,0 +1,23 @@
+#
+# GENERIC -- Generic kernel configuration file for FreeBSD/arm64 with SMP disabled
+#
+# 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$
+
+include		GENERIC
+ident		GENERIC-UP
+nooptions 	SMP


More information about the svn-src-head mailing list