From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Enable UART on raspberry pi zero
Date: Mon, 20 Mar 2017 22:02:41 +0100 [thread overview]
Message-ID: <20170320210241.GE3619@free.fr> (raw)
In-Reply-To: <DB5PR03MB1334B76DAB5DE40CCDE3F978E73A0@DB5PR03MB1334.eurprd03.prod.outlook.com>
Luke, All,
On 2017-03-20 12:41 +0000, luke spake thusly:
> Sorry, made a mistake in the original patch.
>
>
> >From 9c77dfd825bebbf02e3b2837dacb9ae4873c9ec8 Mon Sep 17 00:00:00 2001
> From: Luke <skywal_l@hotmail.com>
> Date: Sat, 18 Mar 2017 18:17:24 +0000
> Subject: [PATCH 1/1] Modify post-build.sh for raspberry pi zero so that it
> activates the UART serial console in config.txt
Please send you patches using 'git send-email'. Your current submissions
are not appropriately formatted.
> Signed-off-by: Luke <skywal_l@hotmail.com>
> ---
> board/raspberrypi/post-build.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh
> index 5e5eb71..6d2f0d1 100755
> --- a/board/raspberrypi/post-build.sh
> +++ b/board/raspberrypi/post-build.sh
> @@ -9,3 +9,6 @@ if [ -e ${TARGET_DIR}/etc/inittab ]; then
> sed -i '/GENERIC_SERIAL/a\
> tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab
> fi
> +
> +# Activate the console
> +echo "enable_uart=1" | cat >> ${TARGET_DIR}/../images/rpi-firmware/config.txt
Two things about this one:
- what you wanted to use was $(BINARIES_DIR)/rpi-firmware/config.txt,
- as I already replied to you earlier, please look at how it is
done for the rpi3, and try to see if the same trick applies to
the rpi0-w.
Thanks!
Regards,
Yann E. MORIN.
> --
> 2.7.4
>
>
> De : Yann E. MORIN <yann.morin.1998@gmail.com> de la part de Yann E. MORIN <yann.morin.1998@free.fr>
> Envoy? : dimanche 19 mars 2017 13:27
> ? : luke
> Cc?: buildroot at busybox.net
> Objet : Re: [Buildroot] [PATCH] Enable UART on raspberry pi zero
> ?
> Luke, All,
>
> On 2017-03-18 18:22 +0000, luke spake thusly:
> > From 9c77dfd825bebbf02e3b2837dacb9ae4873c9ec8 Mon Sep 17 00:00:00 2001
> > From: Luke <skywal_l@hotmail.com>
> > Date: Sat, 18 Mar 2017 18:17:24 +0000
> > Subject: [PATCH 1/1] Modify post-build.sh for raspberry pi zero so that it
> >? activates the UART serial console in config.txt
> >
> > Signed-off-by: Luke <skywal_l@hotmail.com>
> > ---
> >? board/raspberrypi/post-build.sh | 3 +++
> >? 1 file changed, 3 insertions(+)
> >
> > diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh
> > index 5e5eb71..6d2f0d1 100755
> > --- a/board/raspberrypi/post-build.sh
> > +++ b/board/raspberrypi/post-build.sh
> > @@ -9,3 +9,6 @@ if [ -e ${TARGET_DIR}/etc/inittab ]; then
> >??????? sed -i '/GENERIC_SERIAL/a\
> >? tty1::respawn:/sbin/getty -L? tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab
> >? fi
> > +
> > +# Activate the console
> > +echo "enable_uart=1" | cat >> config.txt
>
> I have a rpi-0 here, and I do not need that config option to get the UART
> working.
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |? Yann E. MORIN? | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software? Designer | \ / CAMPAIGN???? |? ___?????????????? |
> | +33 223 225 172 `------------.-------:? X? AGAINST????? |? \e/? There is no? |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL??? |?? v?? conspiracy.? |
>
>
> start [BZH_lan]
> ymorin.is-a-geek.org
> The guys from SimpleMachines have been kind enough to give me a Sim.One SBC. I'll be able to use that board to test Maverick Crunch, suport for which I will add to ...
>
> '------------------------------^-------^------------------^--------------------'
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2017-03-20 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-18 18:22 [Buildroot] [PATCH] Enable UART on raspberry pi zero luke
2017-03-19 13:27 ` Yann E. MORIN
2017-03-20 12:36 ` luke
2017-03-20 17:14 ` Yann E. MORIN
2017-03-20 12:41 ` luke
2017-03-20 21:02 ` Yann E. MORIN [this message]
2017-03-20 22:24 ` Peter Seiderer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170320210241.GE3619@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox