From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 3/5] rockchip: Enable pre console for rk3399
Date: Thu, 2 Apr 2020 17:11:23 +0530 [thread overview]
Message-ID: <20200402114125.2501-4-jagan@amarulasolutions.com> (raw)
In-Reply-To: <20200402114125.2501-1-jagan@amarulasolutions.com>
Enable pre console buffer for rk3399 platform.
This would help to capture the console messages prior to
the console being initialised. Enabling this would help
to capture all the console messages on video output source
like HDMI. So we can find the full console messages of
U-Boot proper on HDMI display when enabled it for RK3399
platform boards.
Buffer address used for pre console is 0x0f200000 which is
ram base plus 240MiB. right now the Allwinner SoC is using
similar computation.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
arch/arm/mach-rockchip/Kconfig | 1 +
common/Kconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index ed7514ab75..0cb1f23d0f 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -229,6 +229,7 @@ config ROCKCHIP_RK3399
select DM_PMIC
select DM_REGULATOR_FIXED
select BOARD_LATE_INIT
+ imply PRE_CONSOLE_BUFFER
imply ROCKCHIP_COMMON_BOARD
imply ROCKCHIP_SDRAM_COMMON
imply SPL_ROCKCHIP_COMMON_BOARD
diff --git a/common/Kconfig b/common/Kconfig
index 46e4193fc8..bd35de3056 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -568,6 +568,7 @@ config PRE_CON_BUF_ADDR
default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I
default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I
default 0x0f000000 if ROCKCHIP_RK3288
+ default 0x0f200000 if ROCKCHIP_RK3399
help
This sets the start address of the pre-console buffer. This must
be in available memory and is accessed before relocation and
--
2.17.1
next prev parent reply other threads:[~2020-04-02 11:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-02 11:41 [PATCH v3 0/5] rockchip: rk3399: Fix HDMI out Jagan Teki
2020-04-02 11:41 ` [PATCH v3 1/5] clk: rk3399: Set empty for vopl assigned-clocks Jagan Teki
2020-04-02 12:47 ` Kever Yang
2020-04-02 11:41 ` [PATCH v3 2/5] video: rockchip: Fix vop modes for rk3399 Jagan Teki
2020-04-02 12:47 ` Kever Yang
2020-04-02 11:41 ` Jagan Teki [this message]
2020-04-02 12:47 ` [PATCH v3 3/5] rockchip: Enable pre console " Kever Yang
2020-04-02 11:41 ` [PATCH v3 4/5] rockchip: Enable HDMI output on rk3399 board w/ HDMI Jagan Teki
2020-04-02 12:38 ` Peter Robinson
2020-04-02 12:48 ` Kever Yang
2020-04-05 14:07 ` Manivannan Sadhasivam
2020-04-02 11:41 ` [PATCH v3 5/5] video: rockchip: Support 4K resolution for rk3399, HDMI Jagan Teki
2020-04-02 12:48 ` Kever Yang
2020-04-02 12:39 ` [PATCH v3 0/5] rockchip: rk3399: Fix HDMI out Peter Robinson
2020-04-02 13:56 ` Anatolij Gustschin
2020-04-02 14:28 ` Kever Yang
2020-04-02 14:42 ` Anatolij Gustschin
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=20200402114125.2501-4-jagan@amarulasolutions.com \
--to=jagan@amarulasolutions.com \
--cc=u-boot@lists.denx.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