public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Apurva Nandan <a-nandan@ti.com>
Cc: Hari Nagalla <hnagalla@ti.com>, Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Neha Malcom Francis <n-francis@ti.com>,
	Simon Glass <sjg@chromium.org>, Andrew Davis <afd@ti.com>,
	Kamlesh Gurudasani <kamlesh@ti.com>,
	Dasnavis Sabiya <sabiya.d@ti.com>,
	Manorit Chawdhry <m-chawdhry@ti.com>,
	Aradhya Bhatia <a-bhatia1@ti.com>, Bryan Brattlof <bb@ti.com>,
	Christian Gmeiner <christian.gmeiner@gmail.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Roger Quadros <rogerq@kernel.org>,
	Jayesh Choudhary <j-choudhary@ti.com>,
	Ralph Siemsen <ralph.siemsen@linaro.org>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
	<u-boot@lists.denx.de>,
	Sinthu Raja M <sinthu.raja@mistralsolutions.com>,
	Udit Kumar <u-kumar1@ti.com>
Subject: Re: [PATCH v7 16/17] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation
Date: Wed, 3 Jan 2024 12:39:09 -0600	[thread overview]
Message-ID: <20240103183909.mzwi2itzmbp7pxwt@engaging> (raw)
In-Reply-To: <20231219191537.4039361-17-a-nandan@ti.com>

On 00:45-20231220, Apurva Nandan wrote:
> TI K3 J784S4 and AM69 are new additions to the K3 SoC family.
> Add documentation about the J784S4 EVM and AM69 SK.
> 
> Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
> Signed-off-by: Apurva Nandan <a-nandan@ti.com>
> ---
>  doc/board/ti/j784s4_evm.rst | 303 ++++++++++++++++++++++++++++++++++++
>  doc/board/ti/k3.rst         |   1 +
>  2 files changed, 304 insertions(+)
>  create mode 100644 doc/board/ti/j784s4_evm.rst
> 
> diff --git a/doc/board/ti/j784s4_evm.rst b/doc/board/ti/j784s4_evm.rst
> new file mode 100644
> index 0000000000..bb7ed0b031
> --- /dev/null
> +++ b/doc/board/ti/j784s4_evm.rst
> @@ -0,0 +1,303 @@
[...]
> +
> +
> +More info can be found in TRM: http://www.ti.com/lit/zip/spruj52
> +
> +Platform information:
> +
> +* https://www.ti.com/tool/J784S4XEVM
> +* https://www.ti.com/tool/SK-AM69
> +
> +Boot Flow
> +---------
> +Below is the pictorial representation of boot flow:
> +
> +.. image:: img/boot_diagram_k3_current.svg
> +    :alt: K3 boot flow
> +
> +- On this platform, "TI Foundational Security (TIFS)" functions as the
"TI Foundational Security" (TIFS)

> +  security enclave master. While "Device Manager (DM)", also known as the
"Device Manager" (DM)

[...]

> +
> +Switch Setting for Boot Mode
> +----------------------------
> +
> +Boot Mode pins provide means to select the boot mode and options before the
> +device is powered up. After every POR, they are the main source to populate
> +the Boot Parameter Tables.
> +
> +Boot Mode Pins for J784S4-EVM
> +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> +
> +The following tables show some common boot modes used on J784S4 SoC platform.

Pick EVM Platform - since we are talking about evm in this context.

> +More details can be found in the Technical Reference Manual:
> +http://www.ti.com/lit/zip/spruj52 under the `Boot Mode Pins` section.
> +
> +.. list-table:: J784S4 EVM Boot Modes
> +   :widths: 16 16 16
> +   :header-rows: 1
> +
> +   * - Switch Label
> +     - SW9: 12345678
> +     - SW8: 12345678
> +
> +   * - SD
> +     - 00000000
> +     - 10000010
> +
> +   * - EMMC
> +     - 01000000
> +     - 10000000
> +
> +   * - OSPI
> +     - 01000000
> +     - 00000110
> +
> +   * - UART
> +     - 01110000
> +     - 00000000
> +
> +   * - USB DFU
> +     - 00100000
> +     - 10000000
> +
> +For SW8 and SW9, the switch state in the "ON" position = 1.
> +
> +Boot Mode Pins for AM69-SK
> +^^^^^^^^^^^^^^^^^^^^^^^^^^
> +
> +The following table show some common boot modes used on AM69-SK platform.
> +More details can be found in the User Guide for AM69-SK:
> +https://www.ti.com/lit/ug/spruj70/spruj70.pdf under the `Bootmode Settings`
> +section.
> +
> +.. list-table:: AM69 SK Boot Modes
> +   :widths: 16 16
> +   :header-rows: 1
> +
> +   * - Switch Label
> +     - SW2: 1234
> +
> +   * - SD
> +     - 0000
> +
> +   * - EMMC
> +     - 0110
> +
> +   * - OSPI
> +     - 1110
> +
> +   * - UART
> +     - 1010

Just make sure that the dip switches match up to the boot modes we
support in u-boot.

> +
> +For SW2, the switch state in the "ON" position = 1.
> +
> +Debugging U-Boot
> +----------------
> +
> +See :ref:`Common Debugging environment - OpenOCD<k3_rst_refer_openocd>`: for
> +detailed setup information.
> +
> +.. warning::
> +
> +  **Debugging the platform via JTAG requires latest OpenOCD tag**

This very vague. Use the same terminology as doc/board/ti/am62ax_sk.rst

> +
> +
> +Debugging U-Boot on J784S4-EVM and AM69-SK
> +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> +
> +.. include::  k3.rst
> +    :start-after: .. k3_rst_include_start_openocd_connect_XDS110
> +    :end-before: .. k3_rst_include_end_openocd_connect_XDS110
> +
> +To start OpenOCD and connect to J784S4-EVM or AM69-SK board, use the
> +following.
> +
> +.. code-block:: bash
> +
> +  openocd -f board/ti_j784s4evm.cfg
> diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
> index f19ee56f29..6b2faa9dc3 100644
> --- a/doc/board/ti/k3.rst
> +++ b/doc/board/ti/k3.rst
> @@ -40,6 +40,7 @@ K3 Based SoCs
>     ../beagle/j721e_beagleboneai64
>     j721e_evm
>     j721s2_evm
> +   j784s4_evm
>  
>  Boot Flow Overview
>  ------------------

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

  reply	other threads:[~2024-01-03 18:39 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 19:15 [PATCH v7 00/17] Introduce initial TI's J784S4 and AM69 support Apurva Nandan
2023-12-19 19:15 ` [PATCH v7 01/17] arm: dts: Introduce j784s4 dts from linux kernel Apurva Nandan
2024-01-03 15:57   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 02/17] arm: dts: Introduce am69-sk " Apurva Nandan
2024-01-03 15:58   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 03/17] arm: mach-k3: Add basic support for J784S4 SoC definition Apurva Nandan
2024-01-03 16:25   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 04/17] arm: mach-k3: Sort SoC JTAG_ID entries Apurva Nandan
2023-12-19 19:15 ` [PATCH v7 05/17] soc: ti: k3-socinfo: Add entry for J784S4 SoC Apurva Nandan
2024-01-03 17:07   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 06/17] arm: mach-k3: j784s4: Add clk and power support Apurva Nandan
2024-01-03 17:11   ` Nishanth Menon
2024-01-03 21:11     ` Bryan Brattlof
2023-12-19 19:15 ` [PATCH v7 07/17] drivers: dma: Add support for J784S4 SoC Apurva Nandan
2024-01-03 17:13   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 08/17] board: ti: j784s4: Add board support for J784S4 EVM Apurva Nandan
2024-01-03 17:28   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 09/17] board: ti: j748s4: Add board config yaml files Apurva Nandan
2024-01-03 17:36   ` Nishanth Menon
2024-01-04  3:46     ` Neha Malcom Francis
2023-12-19 19:15 ` [PATCH v7 10/17] board: ti: j784s4: Add boot environment variables Apurva Nandan
2024-01-03 17:39   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 11/17] arm: dts: Introduce j784s4 u-boot dts files Apurva Nandan
2024-01-03 17:47   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 12/17] arm: dts: Introduce am69-sk " Apurva Nandan
2024-01-03 17:50   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 13/17] arm: dts: Add bootph-all for memory node Apurva Nandan
2024-01-03 17:52   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 14/17] configs: j784s4_evm: Add defconfig for j784s4 evm board Apurva Nandan
2024-01-03 17:58   ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 15/17] configs: Add am69_sk_* defconfig fragments Apurva Nandan
2024-01-03 17:59   ` Nishanth Menon
2024-01-11  9:36     ` Manorit Chawdhry
2024-01-11 12:20       ` Nishanth Menon
2024-01-11 12:25   ` Roger Quadros
2024-01-11 12:26     ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 16/17] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation Apurva Nandan
2024-01-03 18:39   ` Nishanth Menon [this message]
2023-12-19 19:15 ` [PATCH v7 17/17] board: ti: j784s4: Add MAINTAINERS file Apurva Nandan
2024-01-03 18:41   ` Nishanth Menon
2024-01-03 15:37 ` [PATCH v7 00/17] Introduce initial TI's J784S4 and AM69 support Nishanth Menon
2024-01-03 15:53   ` Nishanth Menon
2024-01-18  7:35     ` Enric Balletbo i Serra

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=20240103183909.mzwi2itzmbp7pxwt@engaging \
    --to=nm@ti.com \
    --cc=a-bhatia1@ti.com \
    --cc=a-nandan@ti.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=hnagalla@ti.com \
    --cc=j-choudhary@ti.com \
    --cc=jh80.chung@samsung.com \
    --cc=kamlesh@ti.com \
    --cc=lukma@denx.de \
    --cc=m-chawdhry@ti.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=n-francis@ti.com \
    --cc=ralph.siemsen@linaro.org \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=rogerq@kernel.org \
    --cc=sabiya.d@ti.com \
    --cc=seanga2@gmail.com \
    --cc=sinthu.raja@mistralsolutions.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=u-kumar1@ti.com \
    --cc=xypron.glpk@gmx.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