Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB832C0015E for ; Thu, 27 Jul 2023 19:04:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1460868B1; Thu, 27 Jul 2023 21:03:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="NqOLTOWv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 33E1D86895; Thu, 27 Jul 2023 20:59:37 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4C5EC86879 for ; Thu, 27 Jul 2023 20:59:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36RIx6os089166; Thu, 27 Jul 2023 13:59:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690484346; bh=z3Br7wkGmdrPKr0DxIwwxj7wgRfzgEgo6mPoUJroDMk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NqOLTOWvxfC7Ebxbitl1dCHV7CPH47uBDIEc+7I9fAUa7+zmo4IhAE9QCHjUqlbd/ CnDQb/4/T36O/5h2zleymDBLTkEgPA7bwtjFYjGQfoTOtjtOZZravT+UFl3PMuS9ZD npcvxbx5pHT2Mgd5hjqDxQ2GQYRi3NPfxeVUZgrM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36RIx6PX027473 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Jul 2023 13:59:06 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 27 Jul 2023 13:59:05 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 27 Jul 2023 13:59:05 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36RIx57R005107; Thu, 27 Jul 2023 13:59:05 -0500 From: Nishanth Menon To: , Tom Rini CC: Wadim Egorov , Francesco Dolcini , Sjoerd Simons , Neha Malcom Francis , Bryan Brattlof , Vignesh Raghavendra , Marcel Ziswiler , Nikhil Jain , Nishanth Menon Subject: [PATCH V2 19/19] board: ti: k3: Convert boot flow ascii flow to svg Date: Thu, 27 Jul 2023 13:59:02 -0500 Message-ID: <20230727185902.3310543-20-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230727185902.3310543-1-nm@ti.com> References: <20230727185902.3310543-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Replace the ascii flow diagram with svg. Signed-off-by: Nishanth Menon --- New Patch from review comments doc/board/ti/img/boot_flow_01.svg | 220 +++++++++++ doc/board/ti/img/boot_flow_02.svg | 459 +++++++++++++++++++++++ doc/board/ti/img/boot_flow_03.svg | 583 ++++++++++++++++++++++++++++++ doc/board/ti/k3.rst | 15 +- 4 files changed, 1265 insertions(+), 12 deletions(-) create mode 100644 doc/board/ti/img/boot_flow_01.svg create mode 100644 doc/board/ti/img/boot_flow_02.svg create mode 100644 doc/board/ti/img/boot_flow_03.svg diff --git a/doc/board/ti/img/boot_flow_01.svg b/doc/board/ti/img/boot_flow_01.svg new file mode 100644 index 000000000000..b5bd0ac2774f --- /dev/null +++ b/doc/board/ti/img/boot_flow_01.svg @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + WKUP Domain + + + + WKUP Domain + + + + + + + + + + ROM + + + + ROM + + + + + + + + + + WKUP SPL + + + + WKUP SPL + + + + + + + + + Text is not SVG - cannot display + + + diff --git a/doc/board/ti/img/boot_flow_02.svg b/doc/board/ti/img/boot_flow_02.svg new file mode 100644 index 000000000000..4e282d8baf04 --- /dev/null +++ b/doc/board/ti/img/boot_flow_02.svg @@ -0,0 +1,459 @@ + + + + + + + + + + + + + + WKUP Domain + + + + WKUP Domain + + + + + + + + + + ROM + + + + ROM + + + + + + + + + + WKUP SPL + + + + WKUP SPL + + + + + + + + + + + + + Main Domain + + + + Main Domain + + + + + + + + + + TF-A + + + + TF-A + + + + + + + + + + OP-TEE + + + + OP-TEE + + + + + + + + + + + + Main SPL + + + + Main SPL + + + + + + + + + + + Text is not SVG - cannot display + + + diff --git a/doc/board/ti/img/boot_flow_03.svg b/doc/board/ti/img/boot_flow_03.svg new file mode 100644 index 000000000000..b77d679926d4 --- /dev/null +++ b/doc/board/ti/img/boot_flow_03.svg @@ -0,0 +1,583 @@ + + + + + + + + + + + + + + WKUP Domain + + + + WKUP Domain + + + + + + + + + + ROM + + + + ROM + + + + + + + + + + WKUP SPL + + + + WKUP SPL + + + + + + + + + + + + + Main Domain + + + + Main Domain + + + + + + + + + + TF-A + + + + TF-A + + + + + + + + + + OP-TEE + + + + OP-TEE + + + + + + + + + + + + Main SPL + + + + Main SPL + + + + + + + + + + + + U-Boot + + + + U-Boot + + + + + + + + + + Linux + + + + Linux + + + + + + + + + + + + + Text is not SVG - cannot display + + + diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index eb1896b06cd5..9d40675b6007 100644 --- a/doc/board/ti/k3.rst +++ b/doc/board/ti/k3.rst @@ -45,10 +45,7 @@ boot media needed to load the binaries packaged inside `tiboot3.bin`, including a 32bit U-Boot SPL, (called the wakup SPL) that ROM will jump to after it has finished loading everything into internal SRAM. -.. code-block:: text - - | WKUP Domain - ROM -> WKUP SPL -> +.. image:: img/boot_flow_01.svg The wakeup SPL, running on a wakeup domain core, will initialize DDR and any peripherals needed load the larger binaries inside the `tispl.bin` @@ -57,10 +54,7 @@ application cores inside the main domain to initialize the main domain, starting with Trusted Firmware-A (TF-A), before moving on to start OP-TEE and the main domain's U-Boot SPL. -.. code-block:: text - - | WKUP Domain | Main Domain -> - ROM -> WKUP SPL -> TF-A -> OP-TEE -> Main SPL +.. image:: img/boot_flow_02.svg The main domain's SPL, running on a 64bit application core, has virtually unlimited space (billions of bytes now that DDR is working) to @@ -68,10 +62,7 @@ initialize even more peripherals needed to load in the `u-boot.img` which loads more firmware into the micro-controller & wakeup domains and finally prepare the main domain to run Linux. -.. code-block:: text - - | WKUP Domain | Main Domain -> - ROM -> WKUP SPL -> TF-A -> OP-TEE -> Main SPL -> UBoot -> Linux +.. image:: img/boot_flow_03.svg This is the typical boot flow for all K3 based SoCs, however this flow offers quite a lot in the terms of flexibility, especially on High -- 2.40.0