From: Alexander Graf <agraf@suse.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/8] [1/3] Initial support Texas Instrument's AM654 Platform
Date: Mon, 27 Aug 2018 11:52:25 +0200 [thread overview]
Message-ID: <8528e230-9d7d-6cb0-08c7-a8e207fa22d1@suse.de> (raw)
In-Reply-To: <e71c63fc-6f76-8717-bb42-50ed5ede0603@ti.com>
Hi Lokesh,
On 27.08.18 11:31, Lokesh Vutla wrote:
> Hi Alex,
>
> On Sunday 26 August 2018 11:41 AM, Alexander Graf wrote:
>>
>>
>>> Am 21.08.2018 um 16:30 schrieb Lokesh Vutla <lokeshvutla@ti.com>:
>>>
>>> The AM654 SoC is a lead device of the K3 Multicore SoC architecture
>>> platform, targeted for broad market and industrial control with aim to
>>> meet the complex processing needs of modern embedded products.
>>>
>>> The device is partitioned into three functional domains, each containing
>>> specific processing cores and peripherals:
>>> Some highlights in each domain are:
>>> - MAIN Domain:
>>> --------------
>>> * Quad ARMv8 A53 cores split over two clusters
>>> * GICv3 compliant GIC500
>>> * Configurable L3 Cache and IO-coherent architecture
>>> * DDR Subsystem (DDRSS) with Error Correcting Code (ECC)
>>> * Three Gigabit Industrial Communication Subsystems (ICSSG), each with dual
>>> PRUs and dual RTUs
>>> * Hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL
>>> * eQEP/eCAP, eHRPWM.
>>> * Multimedia capability with CAL, DSS7-UL, SGX544, McASP
>>> * Peripheral connectivity including USB3, PCIE, MMC/SD, GPMC, I2C, SPI,
>>> GPIO
>>>
>>> - MCU Domain:
>>> -------------
>>> * Dual lock-step capable R5F uC for safety-critical applications
>>> * Flash subsystem with OSPI and Hyperbus interfaces
>>> * High data throughput capable distributed DMA architecture under MCU NAVSS
>>> * Dual ADCSS, Dual CAN-FD.
>>>
>>> - WKUP Domain:
>>> --------------
>>> * Centralized System Controller for Security, Power, and Resource
>>> management.
>>>
>>> For further deails see AM65x Technical Reference Manual (SPRUID7, April 2018):
>>> http://www.ti.com/lit/pdf/spruid7
>>>
>>> This is a complex SoC and the support to add this SoC is very huge. So I
>>> tried to split into 3 separate series:
>>> [1/3] Adding base SoC support
>>> [2/3] Base drivers that allow minimal boot.
>>> [3/3] EVM support with dts and defconfig changes.
>>>
>>> This series adds base SoC support. The rest of the two series will be a
>>> follow up of this series.
>>>
>>> On AM65x family devices, ROM supports boot only via MCU(R5). This means that
>>> bootloader has to run on R5 core. In order to meet this constraint,
>>> keeping safety in picture and to have faster boot time, the software boot
>>> architecture is designed as: https://pastebin.ubuntu.com/p/NxSvDbMtSk/
>>> Any feedback is highly appreciated.
>>
>> I don't quite understand why you'd need to have an SPL after ATF on the A53? At that point you should already have DRAM initialized and can just skip straight to U-Boot proper, no?
>
> Agreed, on a first look it doesn't seem right to run SPL after ATF. But
> after a lot of discussions internally (considering all the use cases) we
> agreed upon this boot flow based on the following reasons:
> 1) Need to move away from R5 asap, so that we want to start *any*
> firmware on the r5 cores like.... autosar can be loaded to receive CAN
> response and other safety operations to be started. This operation is
> very time critical and is applicable for all automotive use cases.
> (Considering this, loading SPL is faster than loading U-boot)
I think this is a very reasonable explanation. It should probably be
part of whatever document you provide to people that explains the boot
flow ;).
> 2) U-Boot on A53 should start other remotecores for various
> applications. This should happen before running Linux.
This can happen without SPL just the same, no?
> 2) In production boot flow, we might not like to use full u-boot,
> instead use Flacon boot flow to reduce boot time.
Also an interesting argument. Same comment as 1).
> 3) Boot flow should be consistent across all k3 family of devices which
> might be targeting different markets.
I don't know if I fully understand this part.
Alex
next prev parent reply other threads:[~2018-08-27 9:52 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-21 14:30 [U-Boot] [PATCH 0/8] [1/3] Initial support Texas Instrument's AM654 Platform Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 1/8] arm: K3: Add initial support for TI's K3 generation of SoCs Lokesh Vutla
2018-08-24 14:10 ` Tom Rini
2018-08-24 14:51 ` Lokesh Vutla
2018-08-24 14:55 ` Tom Rini
2018-08-24 15:14 ` Lokesh Vutla
2018-08-24 15:21 ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 2/8] arm: K3: Add support for AM654 SoC definition Lokesh Vutla
2018-08-24 14:11 ` Tom Rini
2018-08-24 14:58 ` Lokesh Vutla
2018-08-24 15:01 ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 3/8] arm: K3: Update _start instruction Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 4/8] arm: K3: am654: Add support for boot device detection Lokesh Vutla
2018-08-24 14:11 ` Tom Rini
2018-08-24 14:58 ` Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 5/8] arm: K3: am654: Unlock control module registers during init Lokesh Vutla
2018-08-24 14:11 ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 6/8] armv8: K3: am654: Add custom MMU support Lokesh Vutla
2018-08-24 14:11 ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 7/8] armv8: K3: am654: Introduce FIT generator script Lokesh Vutla
2018-08-24 14:11 ` Tom Rini
2018-08-24 14:59 ` Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 8/8] armv8: K3: am654: Add support for generating build targets Lokesh Vutla
2018-08-24 14:11 ` Tom Rini
2018-08-26 6:11 ` [U-Boot] [PATCH 0/8] [1/3] Initial support Texas Instrument's AM654 Platform Alexander Graf
2018-08-27 9:31 ` Lokesh Vutla
2018-08-27 9:52 ` Alexander Graf [this message]
2018-08-27 10:07 ` Lokesh Vutla
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=8528e230-9d7d-6cb0-08c7-a8e207fa22d1@suse.de \
--to=agraf@suse.de \
--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