[source] brcm2708: bcm2709: add support for Raspberry Pi 3

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 8 01:49:28 PST 2017


noltari pushed a commit to source.git, branch master:
https://git.lede-project.org/77a00027c3b2172ee1779e298ebe206dde02b87a

commit 77a00027c3b2172ee1779e298ebe206dde02b87a
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Wed Feb 8 00:31:09 2017 +0100

    brcm2708: bcm2709: add support for Raspberry Pi 3
    
    This adds support for Raspberry Pi 3 on the bcm2709 subtarget, in order to
    keep 32 bit image support when 64 bit support is added on bcm2710 subtarget.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/brcm2708/bcm2709/config-4.9 | 2 +-
 target/linux/brcm2708/bcm2709/target.mk  | 5 +++--
 target/linux/brcm2708/image/Makefile     | 7 ++++---
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/target/linux/brcm2708/bcm2709/config-4.9 b/target/linux/brcm2708/bcm2709/config-4.9
index 6c6fefc..9828c04 100644
--- a/target/linux/brcm2708/bcm2709/config-4.9
+++ b/target/linux/brcm2708/bcm2709/config-4.9
@@ -179,7 +179,7 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GPIOLIB=y
-# CONFIG_GPIO_BCM_VIRT is not set
+CONFIG_GPIO_BCM_VIRT=y
 CONFIG_GPIO_SYSFS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDIRQS_SW_RESEND=y
diff --git a/target/linux/brcm2708/bcm2709/target.mk b/target/linux/brcm2708/bcm2709/target.mk
index c0679c7..be4f459 100644
--- a/target/linux/brcm2708/bcm2709/target.mk
+++ b/target/linux/brcm2708/bcm2709/target.mk
@@ -1,12 +1,13 @@
 #
 # Copyright (C) 2015 OpenWrt.org
+# Copyright (C) 2017 LEDE project
 #
 
 SUBTARGET:=bcm2709
-BOARDNAME:=BCM2709 based boards
+BOARDNAME:=BCM2709/BCM2710 32 bit based boards
 CPU_TYPE:=cortex-a7
 CPU_SUBTYPE:=neon-vfpv4
 
 define Target/Description
-	Build firmware image for Broadcom BCM2709 SoC devices.
+	Build firmware image for Broadcom BCM2709/BCM2710 32 bit SoC devices.
 endef
diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile
index a7993de..440408b 100644
--- a/target/linux/brcm2708/image/Makefile
+++ b/target/linux/brcm2708/image/Makefile
@@ -1,6 +1,6 @@
 # 
 # Copyright (C) 2012-2015 OpenWrt.org
-# Copyright (C) 2016 LEDE project
+# Copyright (C) 2016-2017 LEDE project
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -63,8 +63,9 @@ ifeq ($(SUBTARGET),bcm2708)
 endif
 
 define Device/rpi-2
-  DEVICE_TITLE := Raspberry Pi 2 B
-  DEVICE_DTS := bcm2709-rpi-2-b
+  DEVICE_TITLE := Raspberry Pi 2B/3B/3CM
+  DEVICE_DTS := bcm2709-rpi-2-b bcm2710-rpi-3-b bcm2710-rpi-cm3
+  DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini
 endef
 ifeq ($(SUBTARGET),bcm2709)
   TARGET_DEVICES += rpi-2



More information about the lede-commits mailing list