[yocto] [PATCH][meta-raspberrypi 1/2] raspberrypi3: serial console

Gary Thomas gary at mlbassoc.com
Mon Apr 4 07:32:41 PDT 2016


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 at 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
------------------------------------------------------------



More information about the yocto mailing list