diff mbox series

[v4,17/19] doc: board: ti: am62px: document OSPI layout

Message ID 20240509164123.1753050-18-j-humphreys@ti.com
State Changes Requested
Delegated to: Ilias Apalodimas
Headers show
Series EFI: ti: Enable EFI capsule updates | expand

Commit Message

Jonathan Humphreys May 9, 2024, 4:41 p.m. UTC
Added OSPI flash layout diagram, as well as example commands to flash
firmware to it.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
 doc/board/ti/am62px_sk.rst | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Comments

Tom Rini May 9, 2024, 10:23 p.m. UTC | #1
On Thu, May 09, 2024 at 11:41:21AM -0500, Jonathan Humphreys wrote:

> Added OSPI flash layout diagram, as well as example commands to flash
> firmware to it.
> 
> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
diff mbox series

Patch

diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst
index 1f2982c36f9..c80b5068117 100644
--- a/doc/board/ti/am62px_sk.rst
+++ b/doc/board/ti/am62px_sk.rst
@@ -156,6 +156,30 @@  Image formats:
 .. image:: img/dm_tispl.bin.svg
   :alt: tispl.bin image format
 
+OSPI:
+-----
+ROM supports booting from OSPI from offset 0x0.
+
+Flashing images to OSPI:
+
+Below commands can be used to download tiboot3.bin, tispl.bin, and u-boot.img,
+over tftp and then flash those to OSPI at their respective addresses.
+
+.. prompt:: bash =>
+
+  sf probe
+  tftp ${loadaddr} tiboot3.bin
+  sf update $loadaddr 0x0 $filesize
+  tftp ${loadaddr} tispl.bin
+  sf update $loadaddr 0x80000 $filesize
+  tftp ${loadaddr} u-boot.img
+  sf update $loadaddr 0x280000 $filesize
+
+Flash layout for OSPI:
+
+.. image:: img/ospi_sysfw2.svg
+  :alt: OSPI flash partition layout
+
 A53 SPL DDR Memory Layout
 -------------------------