[Buildroot] [PATCH v2] raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)

Peter Seiderer ps.report at gmx.net
Mon Sep 19 21:57:45 UTC 2016


Hello Thomas,

On Sun, 18 Sep 2016 19:23:43 +0200, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:

> Hello,
> 
> On Mon,  2 May 2016 22:25:44 +0200, Peter Seiderer wrote:
> > - enable BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS in raspberrypi3_defconfig
> > - add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
> > - enhance post-image.sh script to add 'dtoverlay=pi3-miniuart-bt' on request
> > - add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" in raspberrypi3_defconfig
> > 
> > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> > ---
> > Changes v1 --> v2:
> >   - use pi3-miniuart-bt instead of pi3-disable-bt
> >   - fix post-image.sh to add overlay lines only once
> >   - add overlay description (and alternative solution) to readme.txt
> > ---
> >  board/raspberrypi/genimage-raspberrypi3.cfg |  1 +
> >  board/raspberrypi/post-image.sh             | 13 +++++++++++++
> >  board/raspberrypi/readme.txt                |  8 +++++++-
> >  configs/raspberrypi3_defconfig              |  3 ++-
> >  4 files changed, 23 insertions(+), 2 deletions(-)
> 
> What I understood from the discussions on your new patch "raspberrypi3:
> fix serial console (add enable_uart=1", this older proposal is actually
> what is preferred. It is a bit more complicated than just passing
> enable_uart=1, but it allows to have the UART *and* run the CPU as its
> normal frequency.
> 
> So, I've applied this patch, and marked the newer one (enable_uart=1)
> as rejected.
> 
> It would be good if you could rebuild the raspberrypi3_defconfig, and
> check that it works for you. While you're at it, it would be useful if

Still works as expected for me, tested with buildroot git d4db4277ffbd1fae478ba748c626eddc7c220e67,
login via serial and login via hdmi/usb-keyboard possible...

> you could look at the bug report
> https://bugs.busybox.net/show_bug.cgi?id=9196 and see if you can
> reproduce the issue and/or help solve the problem.

Will check the systemd case tomorrow...

Regards,
Peter

> 
> Thanks a lot for your contribution!
> 
> Thomas




More information about the buildroot mailing list