From: Andreas Dannenberg <dannenberg@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/7] Implement UART-based boot of TI K3 AM65x SoCs
Date: Thu, 15 Aug 2019 15:55:25 -0500 [thread overview]
Message-ID: <20190815205532.16545-1-dannenberg@ti.com> (raw)
This series enables UART-based boot of TI K3 AM65x SoCs by extending
the TI K3 System Firmware (SYSFW) loader with support for UART-based
loading of SYSFW. This is done by tapping into the existing SPL Y-Modem
serial loader framework to accomplish the actual loading functionality.
The series also implements a feature called "early console" which allows
setting up an alternate full console (as required by Y-Modem) provided
through an alternate serial port (a serial port different from what will
be used by U-Boot proper/Linux in a system) which can be configured and
used prior to SYSFW being available
Specifically, the MAIN_UART0 in case of AM654x SoCs can't be used in the
early boot process (on R5 SPL) to load SYSFW as it is not clocked. However
since the MCU_UART0 is readily available prior to loading SYSFW we use it
during the early boot process via said "early console" functionality, and
then later switch over to using MAIN_UART0 both for the continued boot
process as well as for the actual U-Boot console itself (and Linux, etc.)
This series depends on [1] to be able to boot to prompt on the TI AM654x
EVM. Sample instructions on how to boot are provided in the updates to
the board-specific README.
[1] https://patchwork.ozlabs.org/patch/1142068/
Andreas Dannenberg (7):
spl: ymodem: Fix FIT loading termination handling
spl: ymodem: Make SPL Y-Modem loader framework accessible
arm: K3: common: Allow for early console functionality
arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem
armv7R: dts: k3: am654: Add MCU_UART0 related definitions
configs: am65x_evm_r5: Activate early console functionality
board: ti: am65x: Add UART boot procedure in README
arch/arm/dts/k3-am654-r5-base-board.dts | 19 +++++++++++++++
arch/arm/mach-k3/Kconfig | 21 ++++++++++++++++
arch/arm/mach-k3/common.c | 26 ++++++++++++++++++++
arch/arm/mach-k3/common.h | 1 +
arch/arm/mach-k3/sysfw-loader.c | 21 ++++++++++++++++
board/ti/am65x/README | 32 +++++++++++++++++++++++++
common/spl/spl_ymodem.c | 9 +++----
configs/am65x_evm_r5_defconfig | 1 +
include/spl.h | 3 +++
9 files changed, 129 insertions(+), 4 deletions(-)
--
2.17.1
next reply other threads:[~2019-08-15 20:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-15 20:55 Andreas Dannenberg [this message]
2019-08-15 20:55 ` [U-Boot] [PATCH 1/7] spl: ymodem: Fix FIT loading termination handling Andreas Dannenberg
2019-10-12 20:23 ` Tom Rini
2019-08-15 20:55 ` [U-Boot] [PATCH 2/7] spl: ymodem: Make SPL Y-Modem loader framework accessible Andreas Dannenberg
2019-10-12 20:23 ` Tom Rini
2019-08-15 20:55 ` [U-Boot] [PATCH 3/7] arm: K3: common: Allow for early console functionality Andreas Dannenberg
2019-10-12 20:23 ` Tom Rini
2019-08-15 20:55 ` [U-Boot] [PATCH 4/7] arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem Andreas Dannenberg
2019-10-12 20:23 ` Tom Rini
2019-08-15 20:55 ` [U-Boot] [PATCH 5/7] armv7R: dts: k3: am654: Add MCU_UART0 related definitions Andreas Dannenberg
2019-10-12 20:24 ` Tom Rini
2019-08-15 20:55 ` [U-Boot] [PATCH 6/7] configs: am65x_evm_r5: Activate early console functionality Andreas Dannenberg
2019-10-12 20:24 ` Tom Rini
2019-08-15 20:55 ` [U-Boot] [PATCH 7/7] board: ti: am65x: Add UART boot procedure in README Andreas Dannenberg
2019-10-12 20:24 ` Tom Rini
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=20190815205532.16545-1-dannenberg@ti.com \
--to=dannenberg@ti.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