* [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console
@ 2016-04-04 13:24 Trevor Woerner
2016-04-04 13:24 ` [PATCH][meta-raspberrypi 2/2] raspberrypi3: set core frequency Trevor Woerner
2016-04-04 14:32 ` [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Gary Thomas
0 siblings, 2 replies; 6+ messages in thread
From: Trevor Woerner @ 2016-04-04 13:24 UTC (permalink / raw)
To: yocto
The serial console on the Raspberry Pi 3 is located at /dev/ttyS0 and not
/dev/ttyAMA0.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
conf/machine/raspberrypi3.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
index 1b73f2f..2c3df41 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_raspberrypi3 = "115200 ttyS0"
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH][meta-raspberrypi 2/2] raspberrypi3: set core frequency
2016-04-04 13:24 [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Trevor Woerner
@ 2016-04-04 13:24 ` Trevor Woerner
2016-04-04 14:32 ` [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Gary Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Trevor Woerner @ 2016-04-04 13:24 UTC (permalink / raw)
To: yocto
Pegging the core frequency at 250 avoids any fluctuations of the baud rate on
the console.
See:
https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
conf/machine/raspberrypi3.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
index 2c3df41..9dbb192 100644
--- a/conf/machine/raspberrypi3.conf
+++ b/conf/machine/raspberrypi3.conf
@@ -9,3 +9,4 @@ MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-brcm43430"
include conf/machine/raspberrypi2.conf
SERIAL_CONSOLE_raspberrypi3 = "115200 ttyS0"
+CORE_FREQ = "250"
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console
2016-04-04 13:24 [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Trevor Woerner
2016-04-04 13:24 ` [PATCH][meta-raspberrypi 2/2] raspberrypi3: set core frequency Trevor Woerner
@ 2016-04-04 14:32 ` Gary Thomas
2016-04-04 15:02 ` Trevor Woerner
2016-04-04 15:06 ` Trevor Woerner
1 sibling, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2016-04-04 14:32 UTC (permalink / raw)
To: yocto
On 04/04/2016 03:24 PM, Trevor Woerner wrote:
> The serial console on the Raspberry Pi 3 is located at /dev/ttyS0 and not
> /dev/ttyAMA0.
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
> conf/machine/raspberrypi3.conf | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> index 1b73f2f..2c3df41 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_raspberrypi3 = "115200 ttyS0"
>
Why the _raspberrypi3 modifier? Wouldn't SERIAL_CONSOLE = "115200 ttyS0" do?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console
2016-04-04 14:32 ` [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Gary Thomas
@ 2016-04-04 15:02 ` Trevor Woerner
2016-04-04 15:06 ` Trevor Woerner
1 sibling, 0 replies; 6+ messages in thread
From: Trevor Woerner @ 2016-04-04 15:02 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
On Mon 2016-04-04 @ 04:32:41 PM, Gary Thomas wrote:
> On 04/04/2016 03:24 PM, Trevor Woerner wrote:
> >The serial console on the Raspberry Pi 3 is located at /dev/ttyS0 and not
> >/dev/ttyAMA0.
> >
> >Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> >---
> > conf/machine/raspberrypi3.conf | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> >diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> >index 1b73f2f..2c3df41 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_raspberrypi3 = "115200 ttyS0"
> >
>
> Why the _raspberrypi3 modifier? Wouldn't SERIAL_CONSOLE = "115200 ttyS0" do?
...because the raspi3 MACHINE just basically includes/requires the raspi2
MACHINE, and the raspi2 MACHINE includes/requires include/rpi-base.inc, and
it's in rpi-base.inc that we find the SERIAL_CONSOLE definition.
Originally I had pulled out the SERIAL_CONSOLE from rpi-base and added it to
each of the raspi MACHINES, 3 of which were the same (AMA0) and one was ttyS0.
Then, looking over the patch set, I thought it would be cleaner to just keep
everything as it was and only add the ttyS0 to the raspi3 MACHINE (which
requires the override).
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console
2016-04-04 14:32 ` [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Gary Thomas
2016-04-04 15:02 ` Trevor Woerner
@ 2016-04-04 15:06 ` Trevor Woerner
2016-04-04 15:18 ` Trevor Woerner
1 sibling, 1 reply; 6+ messages in thread
From: Trevor Woerner @ 2016-04-04 15:06 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
On Mon 2016-04-04 @ 04:32:41 PM, Gary Thomas wrote:
> On 04/04/2016 03:24 PM, Trevor Woerner wrote:
> >The serial console on the Raspberry Pi 3 is located at /dev/ttyS0 and not
> >/dev/ttyAMA0.
> >
> >Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> >---
> > conf/machine/raspberrypi3.conf | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> >diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> >index 1b73f2f..2c3df41 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_raspberrypi3 = "115200 ttyS0"
> >
>
> Why the _raspberrypi3 modifier? Wouldn't SERIAL_CONSOLE = "115200 ttyS0" do?
oh, I see what you mean. maybe, let me check
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console
2016-04-04 15:06 ` Trevor Woerner
@ 2016-04-04 15:18 ` Trevor Woerner
0 siblings, 0 replies; 6+ messages in thread
From: Trevor Woerner @ 2016-04-04 15:18 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
On Mon 2016-04-04 @ 08:06:30 AM, Trevor Woerner wrote:
> On Mon 2016-04-04 @ 04:32:41 PM, Gary Thomas wrote:
> > On 04/04/2016 03:24 PM, Trevor Woerner wrote:
> > >The serial console on the Raspberry Pi 3 is located at /dev/ttyS0 and not
> > >/dev/ttyAMA0.
> > >
> > >Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> > >---
> > > conf/machine/raspberrypi3.conf | 2 ++
> > > 1 file changed, 2 insertions(+)
> > >
> > >diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> > >index 1b73f2f..2c3df41 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_raspberrypi3 = "115200 ttyS0"
> > >
> >
> > Why the _raspberrypi3 modifier? Wouldn't SERIAL_CONSOLE = "115200 ttyS0" do?
>
> oh, I see what you mean. maybe, let me check
yep, that works too ;-)
v2 to follow
>
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas | Consulting for the
> > MLB Associates | Embedded world
> > ------------------------------------------------------------
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-04-04 15:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-04 13:24 [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Trevor Woerner
2016-04-04 13:24 ` [PATCH][meta-raspberrypi 2/2] raspberrypi3: set core frequency Trevor Woerner
2016-04-04 14:32 ` [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console Gary Thomas
2016-04-04 15:02 ` Trevor Woerner
2016-04-04 15:06 ` Trevor Woerner
2016-04-04 15:18 ` Trevor Woerner
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.