All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH 1/5] SERIAL_CONSOLE definition split
@ 2016-04-21 17:32 Theodor Gherzan
  2016-04-21 17:32 ` [meta-raspberrypi][PATCH 2/5] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Theodor Gherzan @ 2016-04-21 17:32 UTC (permalink / raw)
  To: yocto

From: Trevor Woerner <twoerner@gmail.com>

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>
Signed-off-by: Theodor Gherzan <theodor@resin.io>
---
 conf/machine/include/rpi-base.inc | 2 --
 conf/machine/raspberrypi.conf     | 2 ++
 conf/machine/raspberrypi0.conf    | 2 ++
 conf/machine/raspberrypi2.conf    | 2 ++
 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 792150e..b125506 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
 
 IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg"
 
-SERIAL_CONSOLE = "115200 ttyAMA0"
-
 XSERVER = " \
     xserver-xorg \
     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"
 
 require conf/machine/include/tune-arm1176jzf-s.inc
 include conf/machine/include/rpi-base.inc
+
+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 @@
 
 MACHINEOVERRIDES = "raspberrypi:${MACHINE}"
 include conf/machine/raspberrypi.conf
+
+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"
 
 require conf/machine/include/tune-cortexa7.inc
 include conf/machine/include/rpi-base.inc
+
+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}"
 MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-brcm43430"
 
 include conf/machine/raspberrypi2.conf
+
+SERIAL_CONSOLE = "115200 ttyS0"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-04-21 19:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21 17:32 [meta-raspberrypi][PATCH 1/5] SERIAL_CONSOLE definition split Theodor Gherzan
2016-04-21 17:32 ` [meta-raspberrypi][PATCH 2/5] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
2016-04-21 19:24   ` Andrei Gherzan
2016-04-21 17:32 ` [meta-raspberrypi][PATCH 3/5] rpi-config: Add UART enabler Theodor Gherzan
2016-04-21 17:43   ` Andrei Gherzan
2016-04-21 17:46     ` Theodor Gherzan
2016-04-21 17:47       ` Theodor Gherzan
2016-04-21 17:52         ` Andrei Gherzan
2016-04-21 17:32 ` [meta-raspberrypi][PATCH 4/5] linux-raspberrypi: Make use of serial aliases Theodor Gherzan
2016-04-21 17:32 ` [meta-raspberrypi][PATCH 5/5] README: Document new variable configuration Theodor Gherzan
2016-04-21 17:55   ` Andrei Gherzan
2016-04-21 18:02     ` Theodor Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.