AM62L TMDS62LEVM evaluation module (EVM)

Overview

The AM62L EVM board configuration is used by Zephyr applications that run on the TI AM62L platform. The board configuration provides support for:

  • ARM Cortex-A53 core and the following features:

    • General Interrupt Controller (GIC)

    • ARM Generic Timer (arch_timer)

    • On-chip SRAM (oc_sram)

    • UART interfaces (uart0 to uart6)

    • I/O expander (via ti-io-exp snippet)

    • CPSW3G Ethernet Switch with two 1Gbps capable MAC Ports

The board configuration also enables support for the semihosting debugging console.

See the TI AM62L Product Page for details.

Hardware

The AM62L EVM features the AM62L SoC, which is composed of a dual Cortex-A53 cluster. The following listed hardware specifications are used:

  • High-performance ARM Cortex-A53

  • Memory

    • 160KB of SRAM

    • 2GB of DDR4

  • Debug

    • XDS110 based JTAG

Supported Features

The am62l_evm board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

I/O Expander Support

The AM62L EVM board includes an I/O expander (J2). By default, these signals are routed to the HDMI interface. Signal routing for the expansion header can be enabled by either configuring SoC_VOUT0_FET_SEL0 (GPIO0_89) or shorting J29.

Enabling I/O Expander Support

To enable I/O expander functionality, use the ti-io-exp snippet when building your application:

west build -b am62l_evm/am62l3/a53 samples/hello_world -- -S ti-io-exp

The snippet automatically: - Enables GPIO via CONFIG_GPIO=y - Enables GPIO hog support via CONFIG_GPIO_HOGS=y

Ball E13 is used for GPIO0_89 configuration (MUX MODE 7) and hence, we cannot use this padconfig offset for other conflicting signals: - SPI0_CLK (MUX MODE 0) - CP_GEMAC_CPTS0_TS_SYN (MUX MODE 1) - EHRPWM1_A (MUX MODE 2)

Devices

System Clock

This board configuration uses a system clock frequency of 1250 MHz.

DDR RAM

The board has 2GB of DDR RAM available.

Serial Port

This board configuration uses a single serial communication channel with the MAIN domain UART (main_uart0).

CPSW3G (Common Platform Switch) Ethernet Switch

The CPSW3G Ethernet Switch integrated in the SoC has two 1 Gbps capable MAC Ports which are brought out on the board and interface with the DP83867 Ethernet PHY. CPSW3G enables Ethernet functionality on the board.

Building and Booting

Dual-Stage Boot Architecture

The AM62L SoC uses a dual-stage boot architecture:

Stage 1: tiboot3.bin
  • Loaded by boot ROM from boot media (SD/eMMC/OSPI)

  • Contains BL1 (first-stage bootloader) from TF-A

  • Contains TIFS (TI Foundation Security firmware)

  • Contains board configuration (security, power, resource management)

  • Initializes SRAM, validates TIFS, loads Stage 2 into DDR

Stage 2: tispl.bin
  • Loaded by ROM into DDR memory

  • Contains TF-A BL31 (ARM Trusted Firmware - secure monitor)

  • Contains Zephyr application binary

Building Boot Images

Boot image generation (tispl.bin, tiboot3.bin) is not enabled by default. The TF-A revision bundled with Zephyr does not include AM62Lx board support. AM62Lx board support is available in upstream TF-A, which must be configured separately in west.yml.

A standard build without any extra flags produces only the Zephyr application binary:

west build -b am62l_evm/am62l3/a53 samples/hello_world

Prerequisites

Boot image generation requires ARM Trusted Firmware-A with AM62Lx support. Update west.yml to use upstream TF-A before enabling boot image generation, then run west update:

- name: trusted-firmware-a
  url: https://review.trustedfirmware.org/TF-A/trusted-firmware-a
  revision: master
  path: modules/tee/tf-a/trusted-firmware-a
  groups:
    - tee

Building

Generating tiboot3.bin (Stage 1)

Enable CONFIG_BUILD_WITH_TFA and CONFIG_SOC_FAMILY_TI_K3_BUILD_TIBOOT3 to generate the tiboot3.bin Stage 1 bootloader (BL1 + TIFS + board configs):

west build -b am62l_evm/am62l3/a53 samples/hello_world -- -DCONFIG_BUILD_WITH_TFA=y -DCONFIG_SOC_FAMILY_TI_K3_BUILD_TIBOOT3=y

Generating tispl.bin (Stage 2)

Enable CONFIG_BUILD_WITH_TFA and CONFIG_SOC_FAMILY_TI_K3_BUILD_TISPL to generate the tispl.bin boot image (TF-A BL31 + Zephyr):

west build -b am62l_evm/am62l3/a53 samples/hello_world -- -DCONFIG_BUILD_WITH_TFA=y -DCONFIG_SOC_FAMILY_TI_K3_BUILD_TISPL=y

To generate both boot images in a single build:

west build -b am62l_evm/am62l3/a53 samples/hello_world -- -DCONFIG_BUILD_WITH_TFA=y -DCONFIG_SOC_FAMILY_TI_K3_BUILD_TISPL=y -DCONFIG_SOC_FAMILY_TI_K3_BUILD_TIBOOT3=y

When boot image generation is enabled, the build system will automatically:

  1. Build ARM Trusted Firmware-A (BL31, and BL1 if generating tiboot3.bin)

  2. Generate board configuration blobs

  3. Create tiboot3.bin (Stage 1 bootloader) - if CONFIG_SOC_FAMILY_TI_K3_BUILD_TIBOOT3=y

  4. Create tispl.bin (Stage 2 with TF-A BL31 + Zephyr app) - if CONFIG_SOC_FAMILY_TI_K3_BUILD_TISPL=y

Generated Boot Files

A default build (no boot image flags) generates:

build/zephyr/zephyr.bin     # Zephyr application binary

With CONFIG_SOC_FAMILY_TI_K3_BUILD_TISPL enabled:

build/zephyr/zephyr.bin     # Zephyr application binary
build/zephyr/tispl.bin      # Stage 2 boot image (TF-A BL31 + Zephyr)
build/zephyr/bl31.bin       # TF-A BL31 binary (intermediate)

With CONFIG_SOC_FAMILY_TI_K3_BUILD_TIBOOT3 also enabled:

build/zephyr/tiboot3.bin    # Stage 1 bootloader (BL1 + TIFS + board configs)
build/zephyr/bl1.bin        # TF-A BL1 binary (intermediate)

Booting from SD Card

The AM62L EVM supports two boot methods: direct boot (no U-Boot) and U-Boot-based boot.

Option 1: Direct Boot (No U-Boot)

This method boots Zephyr directly using only the generated boot images.

Build Requirements:

To use direct boot, both tiboot3.bin and tispl.bin are required. Enable both boot image configurations explicitly:

west build -b am62l_evm/am62l3/a53 samples/hello_world -- \
  -DCONFIG_BUILD_WITH_TFA=y \
  -DCONFIG_SOC_FAMILY_TI_K3_BUILD_TISPL=y \
  -DCONFIG_SOC_FAMILY_TI_K3_BUILD_TIBOOT3=y

Preparation:

  1. Prepare an SD card with a FAT32 boot partition

  2. Copy the generated boot images to the SD card:

    cp build/zephyr/tiboot3.bin /media/boot/
    cp build/zephyr/tispl.bin /media/boot/
    
  3. Insert the SD card and power on the board

Boot Sequence:

Boot ROM → tiboot3.bin (BL1 + TIFS) → tispl.bin (TF-A + Zephyr)
                                                        ↓
                                                 Zephyr Running

The boot ROM loads tiboot3.bin, which initializes the hardware and loads tispl.bin into DDR. The TF-A BL31 then starts the Zephyr application at 0x82000000. No U-Boot is involved.

Option 2: U-Boot-Based Boot

Download TI’s official WIC and flash the WIC file with an etching software onto an SD-card.

Copy the compiled zephyr.bin to the first FAT partition of the SD card and plug the SD card into the board. Power it up and stop the u-boot execution at prompt.

Use U-Boot to load and start zephyr.bin:

fatload mmc 1:1 0x82000000 zephyr.bin; dcache flush; icache flush; dcache off; icache off; go 0x82000000

The Zephyr application should start running on the A53 core.

Debugging

The board is equipped with an XDS110 JTAG debugger. To debug a binary, utilize the debug build target:

west build -b am62l_evm/am62l3/a53 <my_app>
west debug

Hint

To utilize this feature, you’ll need OpenOCD version 0.12 or higher. Due to the possibility of older versions being available in package feeds, it’s advisable to build OpenOCD from source.

Custom Board Configuration

Board configurations are defined in YAML files under boards/ti/am62l_evm/support/:

  • board-cfg.yaml - General board configuration

  • sec-cfg.yaml - Security configuration

  • pm-cfg.yaml - Power management (not required for AM62L)

  • rm-cfg.yaml - Resource management (not required for AM62L)

To customize, edit these files and rebuild. The build system will automatically regenerate the board configuration binary blob.

Custom Signing Keys

For production, replace the development signing key:

CONFIG_SOC_FAMILY_TI_K3_CERT_KEY_PATH="path/to/production_key.pem"

The path is relative to the Zephyr base directory. The key must be RSA 2048-bit in PEM format.

TF-A Build Configuration

The following Kconfig option controls the TF-A build target board:

CONFIG_TFA_TARGET_BOARD

TF-A TARGET_BOARD parameter (string, default: “am62lx-evm” for AM62L)

This specifies the board name passed to TF-A’s build system via the TARGET_BOARD parameter. TF-A artifacts are always placed under a board-specific subdirectory: build/tfa/${PLATFORM}/${TARGET_BOARD}/${BUILD_TYPE}/ (e.g., build/tfa/k3/am62lx-evm/release/)

Boot Image Structure

tiboot3.bin structure:

+------------------+
| X.509 Certificate|  (Signed with RSA key)
+------------------+
| BL1 Binary       |  (TF-A first stage)
+------------------+
| TIFS Firmware    |  (System firmware)
+------------------+
| TIFS Inner Cert  |  (Firmware certificate)
+------------------+
| Board Config     |  (Combined YAML configs)
+------------------+

tispl.bin structure:

+------------------+
| X.509 Certificate|  (Signed with RSA key)
+------------------+
| TF-A BL31        |  (ARM Trusted Firmware)
+------------------+
| TIFS Firmware    |  (System firmware)
+------------------+
| Board Config     |  (Combined YAML configs)
+------------------+
| Zephyr Binary    |  (Application code)
+------------------+

References