From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
Date: Thu, 9 Jun 2016 22:46:13 +0200 [thread overview]
Message-ID: <20160609224613.20512846@free-electrons.com> (raw)
In-Reply-To: <20160503210200.12d685a7@gmx.net>
Hello,
On Tue, 3 May 2016 21:02:00 +0200, Peter Seiderer wrote:
> This works too, not sure whats the better solution, explicit via device tree overlay
> or some firmware magic....
>
> - pi3-miniuart-bt 'dmesg | grep tty':
> [ 0.000000] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2709.boardrev=0xa02082 bcm2709.serial=0xa60340 smsc95xx.macaddr=B8:27:EB:A6:03:40 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200
> [ 0.001320] console [tty1] enabled
> [ 0.318181] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 59, base_baud = 50000000) is a 16550
> [ 2.008162] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
> [ 3.296233] console [ttyAMA0] enabled
>
> - enable-uart=1, serial0 dmesg | grep tty':
> [ 0.000000] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2709.boardrev=0xa02082 bcm2709.serial=0xa60340 smsc95xx.macaddr=B8:27:EB:A6:03:40 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyS0,115200
> [ 0.001318] console [tty1] enabled
> [ 0.318270] console [ttyS0] disabled
> [ 0.318389] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 59, base_baud = 31250000) is a 16550
> [ 1.042714] console [ttyS0] enabled
> [ 3.020277] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
For the Buildroot defconfig, I believe passing enable-uart=1 in
config.txt would be the easiest solution. Could you send a patch that
does this instead of messing with the overlays ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-06-09 20:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-02 20:25 [Buildroot] [PATCH v2] raspberrypi3: fix serial console (load pi3-miniuart-bt overlay) Peter Seiderer
2016-05-03 5:58 ` Oscar Gomez Fuente
2016-05-03 6:18 ` Peter Korsgaard
2016-05-03 10:23 ` Martin Bark
2016-05-03 19:02 ` Peter Seiderer
2016-05-09 13:19 ` Martin Bark
2016-05-09 20:51 ` Peter Seiderer
2016-05-09 20:53 ` Thomas Petazzoni
2016-06-09 20:46 ` Thomas Petazzoni [this message]
2016-08-11 22:02 ` Peter Seiderer
2016-09-18 17:23 ` Thomas Petazzoni
2016-09-19 21:57 ` 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=20160609224613.20512846@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--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