DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] platform-rpi: Enable early debug UART
@ 2018-11-19 19:41 Chris Fiege
  2018-11-28  7:38 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Fiege @ 2018-11-19 19:41 UTC (permalink / raw)
  To: distrokit; +Cc: Chris Fiege

This config enables the early debug for the Raspberry-Pi Firmware
bootloader.

This makes sure that the UART is available to barebox even if the
used board has additional hardware (like Bluetooth) connected to the
UART.

This command only works if the firmware is loaded from the SD-Card.

See for more information:
https://github.com/raspberrypi/firmware/wiki/USB-MSD-and-network-boot-debugging

Signed-off-by: Chris Fiege <chris@tinyhost.de>
---
 configs/platform-rpi/firmware/config.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/platform-rpi/firmware/config.txt b/configs/platform-rpi/firmware/config.txt
index 956ad81..d1abb30 100644
--- a/configs/platform-rpi/firmware/config.txt
+++ b/configs/platform-rpi/firmware/config.txt
@@ -1,3 +1,5 @@
+# enable debug of early bootloader
+uart_2ndstage=1
 # Set barebox as third state bootloader
 kernel=barebox
 # Set stdv mode to PAL (as used in Europe)
-- 
2.7.4


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [DistroKit] [PATCH] platform-rpi: Enable early debug UART
  2018-11-19 19:41 [DistroKit] [PATCH] platform-rpi: Enable early debug UART Chris Fiege
@ 2018-11-28  7:38 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2018-11-28  7:38 UTC (permalink / raw)
  To: Chris Fiege; +Cc: distrokit

On Mon, Nov 19, 2018 at 08:41:22PM +0100, Chris Fiege wrote:
> This config enables the early debug for the Raspberry-Pi Firmware
> bootloader.
> 
> This makes sure that the UART is available to barebox even if the
> used board has additional hardware (like Bluetooth) connected to the
> UART.
> 
> This command only works if the firmware is loaded from the SD-Card.
> 
> See for more information:
> https://github.com/raspberrypi/firmware/wiki/USB-MSD-and-network-boot-debugging
> 
> Signed-off-by: Chris Fiege <chris@tinyhost.de>
> ---
>  configs/platform-rpi/firmware/config.txt | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-28  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-19 19:41 [DistroKit] [PATCH] platform-rpi: Enable early debug UART Chris Fiege
2018-11-28  7:38 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox