DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Chris Fiege <chris@tinyhost.de>
To: distrokit@pengutronix.de
Cc: Chris Fiege <chris@tinyhost.de>
Subject: [DistroKit] [PATCH] platform-rpi: Enable early debug UART
Date: Mon, 19 Nov 2018 20:41:22 +0100	[thread overview]
Message-ID: <1542656482-15104-1-git-send-email-chris@tinyhost.de> (raw)

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

             reply	other threads:[~2018-11-19 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 19:41 Chris Fiege [this message]
2018-11-28  7:38 ` Robert Schwebel

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=1542656482-15104-1-git-send-email-chris@tinyhost.de \
    --to=chris@tinyhost.de \
    --cc=distrokit@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