mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v6 0/9] Raspberry Pi miniuart support
Date: Tue, 15 Jan 2019 12:01:11 +0100	[thread overview]
Message-ID: <20190115110111.mkedj7f2gmvsp4va@pengutronix.de> (raw)
In-Reply-To: <cover.cea99e013da63859278229c6e1566362a1800ff4.1547530950.git-series.r.czerwinski@pengutronix.de>

Hi,

just a short notice, I tested in on my small board farm, RPi 1 and RPi 3
boot okay, but RPi Zero W doesn't show a barebox prompt. When enabling
uart_2ndstage=1 in config.txt, the firmware hangs after

    MESS:00:00:02.864061:0: uart: Baud rate change done...
    MESS:00:00:02.867490:0: uart: Baud rate

The docs don't claim that we officially to support that board though... :P

 - Roland

On Tue, Jan 15, 2019 at 06:44:00AM +0100, Rouven Czerwinski wrote:
> This patch series adds support for the raspberry pi miniuart (also called
> aux-uart) to barebox.
> With this series the miniuart overlay is no longer necessary to start barebox on
> Raspberry Pi 3.
> 
> v6:
> - Remove leftover val and missing fixup of the AUX Clock defines
> 
> v5:
> - Add defines for register and base values
>   from Sascha Hauer and Roland Hieber
> 
> v4:
> - Fix indentation for compatible
> - Fix __maybe_unused annnotation for rpi_drvdata missed in v3
>   from Sascha Hauer
> 
> v3:
> - Fix Indentation
>   from Oleksij Rempel and Sascha Hauer
> 
> v2:
> - Move console clock initialization into board core
> - Retrieve the core clock frequency for the miniuart from the firmware
> - Double the clock frequency in the ns16550 rpi init function instead of
>   during initialization
>   from Lucas Stach
> 
> Rouven Czerwinski (9):
>   ARM: rpi: fix typo in rpi-common.c
>   ARM: rpi: move clks into board specific rpi-common
>   ARM: rpi: retrieve miniuart clock from firmware
>   serial_ns16550: handle default reg-io-width
>   serial_ns16550: add raspberry pi compatible and init
>   ARM: rpi: add NS16550 support
>   ARM: rpi: choose miniuart as stdout
>   doc: bcm283x: remove miniuart overlay instruction
>   ARM: rpi: use defines for uart bases
> 
>  Documentation/boards/bcm2835.rst          |  1 +-
>  arch/arm/boards/raspberry-pi/rpi-common.c | 34 ++++++++++-
>  arch/arm/configs/rpi_defconfig            |  1 +-
>  arch/arm/dts/bcm2837-rpi-3.dts            |  7 +--
>  arch/arm/mach-bcm283x/core.c              | 19 +------
>  drivers/serial/serial_ns16550.c           | 74 ++++++++++++++++--------
>  6 files changed, 85 insertions(+), 51 deletions(-)
> 
> base-commit: 0b5361a328632e64c14a54306119093a0c7fecdf
> -- 
> git-series 0.9.1
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Roland Hieber                     | r.hieber@pengutronix.de     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2019-01-15 11:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15  5:44 Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 1/9] ARM: rpi: fix typo in rpi-common.c Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 2/9] ARM: rpi: move clks into board specific rpi-common Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 3/9] ARM: rpi: retrieve miniuart clock from firmware Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 4/9] serial_ns16550: handle default reg-io-width Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 5/9] serial_ns16550: add raspberry pi compatible and init Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 6/9] ARM: rpi: add NS16550 support Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 7/9] ARM: rpi: choose miniuart as stdout Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 8/9] doc: bcm283x: remove miniuart overlay instruction Rouven Czerwinski
2019-01-15  5:44 ` [PATCH v6 9/9] ARM: rpi: use defines for uart bases Rouven Czerwinski
2019-01-15 11:01 ` Roland Hieber [this message]
2019-01-15 12:51   ` [PATCH v6 0/9] Raspberry Pi miniuart support Rouven Czerwinski
2019-01-15 13:19     ` Roland Hieber
2019-01-15 23:47     ` Roland Hieber
2019-01-15 23:48 ` Roland Hieber
2019-01-16  7:46 ` Sascha Hauer

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=20190115110111.mkedj7f2gmvsp4va@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=r.czerwinski@pengutronix.de \
    /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