SDAA507A October   2026  – November 2026 AM62L

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1 Introduction
  5. 2 Installing the SDK
  6. 3 Understanding the AM62Lx Bootflow
  7. 4 TF-A Build System Integration
  8. 5 U-Boot Build System Integration
  9. 6 Minimal Devicetree and Reaching the U-Boot Prompt
    1. 6.1 Introduction to Devicetrees
    2. 6.2 Minimal Platform Support
    3. 6.3 Adding Custom Board Devicetrees
    4. 6.4 Initial Devicetree Modifications
    5. 6.5 Building U-Boot
    6. 6.6 Reaching the U-Boot Prompt
  10. 7 Expanding the Devicetree
    1. 7.1 Adding New Devicetree Nodes
    2. 7.2 Revising Devicetree Nodes
    3. 7.3 Devicetree Development Tips
  11. 8 Booting the Linux Kernel
    1. 8.1 Boot Method Overview
    2. 8.2 Reaching the Linux Command Prompt
  12. 9 Tools and Debugging
    1. 9.1 Debug Traces
    2. 9.2 OpenOCD
  13. 10Future Work
  14. 11Summary
  15. 12References
  16.   Revision History

Revising Devicetree Nodes

Suppose U-Boot has been built with no errors, and the resulting binaries are boot-tested after updating the Ethernet configuration. After transferring u-boot.img over UART, the U-Boot console output displays as shown below when any key is pressed to abort autoboot:

02000000011a0000616d36326c0000000000000048534653000101000001010002a6000000000000fe73d96bbf79f784d9aee9fc5698d1093936556f93abf79f3ec7ce923079c478f837b12296da2a81a2fa024cb9d2423a14511488622a9ca591e5ee057175b142ad0bc40b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000107882838a9bf29cfa7f8fb37c103f231a2702b0a0366a86fdaf86890d9ac120Cov 12 2026
NOTICE:  BL1: dram_class: 11
NOTICE:  BL1: dram_size: 0x8000000
NOTICE:  DDR init done
NOTICE:  ENTERING WFI - end of bl1
02000000011a0000616d36326c0000000000000048534653000101000001010002a6000000000000ad0bc40b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ad0bc40b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000107882838a9bf29cfa7f8fb37c103f231a2702b0a0366a86fdaf86890d9ac120CCCCNOTICE:  SYSFW ABI: 4.0 (firmware rev 0x000c '12.2.0--v12.02.00 (Clever Cat)')

U-Boot SPL 2026.01-00530-g70f7282f6c91 (Nov 12 2026 - 11:16:15 -0600)
SPL initial stack usage: 1952 bytes
Trying to boot from UART
CCCCCLoaded 1417227 bytes


U-Boot 2026.01-00530-g70f7282f6c91 (Nov 12 2026 - 11:16:15 -0600)

SoC:   AM62LX SR1.1 HS-FS
Model: Texas Instruments AM62L3 MINIMAL
DRAM:  128 MiB
Core:  53 devices, 27 uclasses, devicetree: separate
MMC:   mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   am65_cpsw_nuss_port ethernet@8000000port@2: Invalid PHY mode, port 2
No ethernet found.

Hit any key to stop autoboot: 0
=> 

The Net field indicates the runtime status of the Ethernet configuration. In this scenario, the error log reveals that the Ethernet Port 2 PHY is operating in an invalid mode. This behavior typically points to a devicetree configuration issue, indicating that the PHY is configured in the incorrect or unsupported mode.

To resolve this error, inspect both the PHY and Ethernet MAC port nodes as potential root causes. In the reference EVM devicetree, the port node contains a phy-mode property set to "rgmii-rxid". Searching for this value points us to $TI_U_BOOT/dts/upstream/Bindings/net/ethernet-controller.yaml file, which specifies that phy-mode defines the interface between the PHY and Ethernet port. The binding states that "rgmii-rxid" must be used if the PHY provides an internal RX delay. Since an RX delay was already configured as required by the PHY bindings in an earlier step, this property applies and must be added to the port node.

&cpsw_port2 {
      phy-handle = <&cpsw3g_phy1>;
+     phy-mode = "rgmii-rxid";
 };

This troubleshooting loop highlights the iterative workflow required to develop a fully functional board devicetree. Once the fix is applied, rebuilding U-Boot and booting over UART should confirm that the Ethernet port is active and available. This high speed interface can now be utilized to efficiently transfer the larger images and boot the Linux kernel.