[Buildroot] [PATCH v2] raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Sep 18 17:23:43 UTC 2016
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
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.
Thanks a lot for your contribution!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list