From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjMT3-0003ST-E3 for barebox@lists.infradead.org; Tue, 15 Jan 2019 11:01:15 +0000 Date: Tue, 15 Jan 2019 12:01:11 +0100 From: Roland Hieber Message-ID: <20190115110111.mkedj7f2gmvsp4va@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v6 0/9] Raspberry Pi miniuart support To: Rouven Czerwinski Cc: barebox@lists.infradead.org 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