[yocto] [meta-raspberrypi][PATCH 3/5] rpi-config: Add UART enabler

Andrei Gherzan andrei at gherzan.ro
Thu Apr 21 10:43:19 PDT 2016


Hi,

On Thu, Apr 21, 2016 at 06:32:11PM +0100, Theodor Gherzan wrote:
> From: Theodor Gherzan <theodor at resin.io>
>
> Signed-off-by: Theodor Gherzan <theodor at resin.io>
> ---
>  recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb
> index 4d41723..6ddf843 100644
> --- a/recipes-bsp/bootfiles/rpi-config_git.bb
> +++ b/recipes-bsp/bootfiles/rpi-config_git.bb
> @@ -90,6 +90,12 @@ do_deploy() {
>          echo "# Enable PITFT22 display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
>          echo "dtoverlay=pitft22,rotate=270,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
>      fi
> +
> +    # UART support
> +    if [ "${ENABLE_UART}" = "1" ]; then
> +        echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
> +        echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
What is the default value of enable_uart?

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160421/b5af5b40/attachment.pgp>


More information about the yocto mailing list