Skip to content

Commit fe392ff

Browse files
Electron752popcornmix
authored andcommitted
Add arm64 configuration and device tree differences.
Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. ARM64: Modify default config to get raspbian to boot (#1686) 1. Enable emulation of deprecated instructions. 2. Enable ARM 8.1 and 8.2 features which are not detected at runtime. 3. Switch the default governer to powersave. 4. Include the watchdog timer driver in the kernel image rather then a module. Tested with raspbian-jessie 2016-09-23.
1 parent a756f46 commit fe392ff

File tree

4 files changed

+1360
-0
lines changed

4 files changed

+1360
-0
lines changed

arch/arm64/Kconfig.platforms

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
menu "Platform selection"
22

3+
config MACH_BCM2709
4+
bool
5+
6+
config ARCH_BCM2709
7+
bool "Broadcom BCM2709 family"
8+
select MACH_BCM2709
9+
select HAVE_SMP
10+
select ARM_AMBA
11+
select COMMON_CLK
12+
select ARCH_HAS_CPUFREQ
13+
select GENERIC_CLOCKEVENTS
14+
select MULTI_IRQ_HANDLER
15+
select SPARSE_IRQ
16+
select MFD_SYSCON
17+
select VC4
18+
select USE_OF
19+
select ARCH_REQUIRE_GPIOLIB
20+
select PINCTRL
21+
select PINCTRL_BCM2835
22+
help
23+
This enables support for Broadcom BCM2709 boards.
24+
325
config ARCH_SUNXI
426
bool "Allwinner sunxi 64-bit SoC Family"
527
select GENERIC_IRQ_CHIP

arch/arm64/boot/dts/broadcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb
22
dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-svk.dtb
33
dtb-$(CONFIG_ARCH_VULCAN) += vulcan-eval.dtb
4+
dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
45

56
always := $(dtb-y)
67
subdir-y := $(dts-dirs)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#define RPI364
2+
3+
#include "../../../../arm/boot/dts/bcm2710-rpi-3-b.dts"

0 commit comments

Comments
 (0)