diff options
author | Trevor Woerner <twoerner@gmail.com> | 2016-04-13 13:06:21 -0400 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-04-21 21:16:56 +0200 |
commit | e2603e56d68e7b54b86c7fe6843f3b886b1be8d0 (patch) | |
tree | dbe4caa193c7ef93b984f4e138109eb6862cebf8 | |
parent | 3696c0ef66320fed8d631fea023756a52061eb66 (diff) | |
download | meta-raspberrypi-e2603e56d68e7b54b86c7fe6843f3b886b1be8d0.tar.gz |
raspberrypi*.conf: Serial console definition split
The latest raspberrypi3 puts its console on ttyS0 instead of ttyAMA0 (like all
the preceding boards). Therefore pull this definition out of the common
include file and add it separately for each MACHINE.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
-rw-r--r-- | conf/machine/include/rpi-base.inc | 2 | ||||
-rw-r--r-- | conf/machine/raspberrypi.conf | 2 | ||||
-rw-r--r-- | conf/machine/raspberrypi0.conf | 2 | ||||
-rw-r--r-- | conf/machine/raspberrypi2.conf | 2 | ||||
-rw-r--r-- | conf/machine/raspberrypi3.conf | 2 |
5 files changed, 8 insertions, 2 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 34eb774..f64bc9d 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc | |||
@@ -7,8 +7,6 @@ include conf/machine/include/soc-family.inc | |||
7 | 7 | ||
8 | IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" | 8 | IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" |
9 | 9 | ||
10 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
11 | |||
12 | XSERVER = " \ | 10 | XSERVER = " \ |
13 | xserver-xorg \ | 11 | xserver-xorg \ |
14 | xf86-input-evdev \ | 12 | xf86-input-evdev \ |
diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf index e8516e7..0f95f1a 100644 --- a/conf/machine/raspberrypi.conf +++ b/conf/machine/raspberrypi.conf | |||
@@ -6,3 +6,5 @@ DEFAULTTUNE ?= "arm1176jzfshf" | |||
6 | 6 | ||
7 | require conf/machine/include/tune-arm1176jzf-s.inc | 7 | require conf/machine/include/tune-arm1176jzf-s.inc |
8 | include conf/machine/include/rpi-base.inc | 8 | include conf/machine/include/rpi-base.inc |
9 | |||
10 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
diff --git a/conf/machine/raspberrypi0.conf b/conf/machine/raspberrypi0.conf index 58468ed..ccf9ae7 100644 --- a/conf/machine/raspberrypi0.conf +++ b/conf/machine/raspberrypi0.conf | |||
@@ -4,3 +4,5 @@ | |||
4 | 4 | ||
5 | MACHINEOVERRIDES = "raspberrypi:${MACHINE}" | 5 | MACHINEOVERRIDES = "raspberrypi:${MACHINE}" |
6 | include conf/machine/raspberrypi.conf | 6 | include conf/machine/raspberrypi.conf |
7 | |||
8 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
diff --git a/conf/machine/raspberrypi2.conf b/conf/machine/raspberrypi2.conf index 30edae3..b6346e6 100644 --- a/conf/machine/raspberrypi2.conf +++ b/conf/machine/raspberrypi2.conf | |||
@@ -6,3 +6,5 @@ DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" | |||
6 | 6 | ||
7 | require conf/machine/include/tune-cortexa7.inc | 7 | require conf/machine/include/tune-cortexa7.inc |
8 | include conf/machine/include/rpi-base.inc | 8 | include conf/machine/include/rpi-base.inc |
9 | |||
10 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf index 1b73f2f..cb6056e 100644 --- a/conf/machine/raspberrypi3.conf +++ b/conf/machine/raspberrypi3.conf | |||
@@ -7,3 +7,5 @@ MACHINEOVERRIDES = "raspberrypi2:${MACHINE}" | |||
7 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-brcm43430" | 7 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-brcm43430" |
8 | 8 | ||
9 | include conf/machine/raspberrypi2.conf | 9 | include conf/machine/raspberrypi2.conf |
10 | |||
11 | SERIAL_CONSOLE = "115200 ttyS0" | ||