public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Neha Malcom Francis <n-francis@ti.com>, Tom Rini <trini@konsulko.com>
Cc: Bryan Brattlof <bb@ti.com>, Praneeth Bajjuri <praneeth@ti.com>,
	Andrew Davis <afd@ti.com>,
	Robert Nelson <robertcnelson@gmail.com>,
	Vignesh R <vigneshr@ti.com>, <u-boot@lists.denx.de>,
	Nishanth Menon <nm@ti.com>
Subject: [PATCH 6/6] doc: board: ti: Add beagleplay documentation
Date: Tue, 25 Jul 2023 13:52:53 -0500	[thread overview]
Message-ID: <20230725185253.2123433-7-nm@ti.com> (raw)
In-Reply-To: <20230725185253.2123433-1-nm@ti.com>

Add base documentation for beagleplay

Signed-off-by: Nishanth Menon <nm@ti.com>
---
 doc/board/ti/am62x_beagleplay.rst | 169 ++++++++++++++++++++++++++++++
 doc/board/ti/k3.rst               |   1 +
 2 files changed, 170 insertions(+)
 create mode 100644 doc/board/ti/am62x_beagleplay.rst

diff --git a/doc/board/ti/am62x_beagleplay.rst b/doc/board/ti/am62x_beagleplay.rst
new file mode 100644
index 000000000000..4bb131c03736
--- /dev/null
+++ b/doc/board/ti/am62x_beagleplay.rst
@@ -0,0 +1,169 @@
+.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+.. sectionauthor:: Nishanth Menon <nm@ti.com>
+
+Beagleboard.org Beagleplay
+==========================
+
+Introduction:
+-------------
+BeagleBoard.org BeaglePlay is an easy to use, affordable open source
+hardware single board computer based on the Texas Instruments AM625
+SoC that allows you to create connected devices that work even at long
+distances using IEEE 802.15.4g LR-WPAN and IEEE 802.3cg 10Base-T1L.
+Expansion is provided over open standards based mikroBUS, Grove and
+QWIIC headers among other interfaces.
+
+Further information can be found at:
+https://beagleplay.org/
+https://git.beagleboard.org/beagleplay/beagleplay
+
+The boot flow follows the standard AM62X bootflow [1]_.
+
+Sources:
+--------
+1. Trusted Firmware-A:
+	Tree: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/
+	Branch: master
+
+2. OP-TEE:
+	Tree: https://github.com/OP-TEE/optee_os.git
+	Branch: master
+
+3. U-Boot:
+	Tree: https://source.denx.de/u-boot/u-boot
+	Branch: master
+
+4. TI Linux Firmware:
+	Tree: git://git.ti.com/processor-firmware/ti-linux-firmware.git
+	Branch: ti-linux-firmware
+
+Build procedure:
+----------------
+1. Trusted Firmware-A:
+
+.. code-block:: bash
+
+ $ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=aarch64 PLAT=k3 \
+        TARGET_BOARD=lite SPD=opteed
+
+2. OP-TEE:
+
+.. code-block:: bash
+
+ $ make PLATFORM=k3 CFG_ARM64_core=y CROSS_COMPILE=arm-none-linux-gnueabihf- \
+        CROSS_COMPILE64=aarch64-none-linux-gnu-
+
+3. U-Boot:
+
+* 3.1 R5:
+
+.. code-block:: bash
+
+ $ make ARCH=arm am62x_beagleplay_r5_defconfig
+ $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
+        BINMAN_INDIRS=<path/to/ti-linux-firmware>
+
+* 3.2 A53:
+
+.. code-block:: bash
+
+ $ make ARCH=arm am62x_beagleplay_a53_defconfig
+ $ make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- \
+        BL31=<path/to/trusted-firmware-a/dir>/build/k3/lite/release/bl31.bin \
+        TEE=<path/to/optee_os/dir>/out/arm-plat-k3/core/tee-raw.bin \
+        BINMAN_INDIRS=<path/to/ti-linux-firmware>
+
+Target Images
+--------------
+Copy the below images to an SD card and boot:
+
+* tiboot3-am62x-gp-evm.bin from step 3.1 as tiboot3.bin
+* tispl.bin_unsigned from step 3.2 as tispl.bin
+* u-boot.img_unsigned from step 3.2 as uboot.img
+
+Image formats:
+--------------
+
+The Image format follows the standard AM62X image format [1]_.
+
+A53 SPL DDR Memory Layout
+-------------------------
+
+This provides an overview memory usage in A53 SPL stage.
+
+.. list-table::
+   :widths: 16 16 16
+   :header-rows: 1
+
+   * - Region
+     - Start Address
+     - End Address
+
+   * - EMPTY
+     - 0x80000000
+     - 0x80080000
+
+   * - TEXT BASE
+     - 0x80080000
+     - 0x800d8000
+
+   * - EMPTY
+     - 0x800d8000
+     - 0x80200000
+
+   * - BMP IMAGE
+     - 0x80200000
+     - 0x80b77660
+
+   * - STACK
+     - 0x80b77660
+     - 0x80b77e60
+
+   * - GD
+     - 0x80b77e60
+     - 0x80b78000
+
+   * - MALLOC
+     - 0x80b78000
+     - 0x80b80000
+
+   * - EMPTY
+     - 0x80b80000
+     - 0x80c80000
+
+   * - BSS
+     - 0x80c80000
+     - 0x80d00000
+
+   * - BLOBS
+     - 0x80d00000
+     - 0x80d00400
+
+   * - EMPTY
+     - 0x80d00400
+     - 0x81000000
+
+Switch Setting for Boot Mode
+----------------------------
+
+The Boot time switch option is configured via "USR" button on the board.
+See https://git.beagleboard.org/beagleplay/beagleplay/-/blob/main/BeaglePlay_sch.pdf
+for details.
+
+*Boot Modes*
+
+=========== ============ ==============
+Switch Posn Primary Boot Secondary Boot
+=========== ============ ==============
+Not Pressed  eMMC          UART
+Pressed      SD FS mode    USB DFU
+=========== ============ ==============
+
+The procedure for using the USR button for switching to SD card boot mode
+is to keep the USR button pressed while providing power over the Type-C power
+supply and releasing the USR button once the power LED glows.
+
+References
+----------
+
+.. [1] :doc:`am62x_sk`
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
index 126d4e153c0a..5366beedb6a3 100644
--- a/doc/board/ti/k3.rst
+++ b/doc/board/ti/k3.rst
@@ -30,6 +30,7 @@ K3 Based SoCs
 .. toctree::
    :maxdepth: 1
 
+   am62x_beagleplay
    am62x_sk
    am65x_evm
    j7200_evm
-- 
2.40.0


  parent reply	other threads:[~2023-07-25 18:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25 18:52 [PATCH 0/6] board: ti: Add support for BeaglePlay Nishanth Menon
2023-07-25 18:52 ` [PATCH 1/6] doc: board: ti: k3: Sort the boards in alphabetical order Nishanth Menon
2023-07-25 21:23   ` Tom Rini
2023-07-25 18:52 ` [PATCH 2/6] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary Nishanth Menon
2023-07-25 21:23   ` Tom Rini
2023-07-25 18:52 ` [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce Nishanth Menon
2023-07-25 21:25   ` Tom Rini
2023-07-25 21:37     ` Nishanth Menon
2023-07-25 21:42       ` Tom Rini
2023-07-25 22:03         ` Nishanth Menon
2023-07-25 22:16           ` Francesco Dolcini
2023-07-25 22:35             ` Francesco Dolcini
2023-07-26 11:10               ` Nishanth Menon
2023-07-26 13:29                 ` Francesco Dolcini
2024-01-07 10:54                 ` Jan Kiszka
2023-07-25 18:52 ` [PATCH 4/6] arm: dts: Add k3-am625-beagleplay Nishanth Menon
2023-07-25 21:25   ` Tom Rini
2023-07-25 18:52 ` [PATCH 5/6] configs: Add am62x_beagleplay_* defconfigs Nishanth Menon
2023-07-25 18:52 ` Nishanth Menon [this message]
2023-07-25 21:35   ` [PATCH 6/6] doc: board: ti: Add beagleplay documentation Tom Rini
2023-07-25 22:00     ` Nishanth Menon
2023-07-25 22:45       ` Tom Rini
2023-07-26 14:59         ` Andrew Davis
2023-07-26 16:21           ` Tom Rini
2023-07-26 16:41             ` Andrew Davis
2023-07-26 16:49               ` 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=20230725185253.2123433-7-nm@ti.com \
    --to=nm@ti.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=n-francis@ti.com \
    --cc=praneeth@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /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