This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: AM62L boot problems, DDR configuration

Part Number: SK-AM62
Other Parts Discussed in Thread: AM62L, SYSCONFIG, AM625

Tool/software:

Processor is AM62L, boot stuck, log:

NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.12.0(release):11.00.05-dirty
NOTICE: BL1: Built : 05:00:39, Feb 26 2025
NOTICE: lpdd4_init <--
NOTICE: DDR ram size =80000000
NOTICE: bl1_platform_setup DDR init done
NOTICE: k3_bl1_handoff ENTERING WFI - end of bl1
NOTICE: bl1_plat_arch_setup arch setup

----

The board is designed to use DDR4, is DDR4 supported by the current drivers and what tests can I do to determine that my DDR is working.
I tried to configure the DDR parameters using ‘AM62L_sysconfig-1.20.999_152-NDA.zip’, but there is no ‘DDR subsystem’ function in sysconfig. Is there any software that can support me to configure DDR4 parameters.

Referencing AM62, there is no *ddr.dts file in "trusted-firmware-a", but k3-am62l-ddr.dts has been added for AM62L. Currently stuck at the trusted-firmware-a stage, does this indicate a DDR configuration issue? Do I need to first debug and properly configure AM62L DDR4 in trusted-firmware-a?

  • I changed the ‘trusted-firmware-a’ with reference to the DDR configuration of the AM625, and it still has problems booting:

    NOTICE: Booting Trusted Firmware
    NOTICE: BL1: v2.12.0(release):11.00.05-1-g3ae5eb089-dirty
    NOTICE: BL1: Built : 09:01:56, Mar 4 2025
    NOTICE: lpdd4_init <--
    NOTICE: DDR ram size =40000000
    NOTICE: bl1_platform_setup DDR init done
    NOTICE: k3_bl1_handoff ENTERING WFI - end of bl1

  • Hi, sorry for the late reply

    The initial SDK for AM62L on ti.com does not have support for DDR4 in the driver.  We have done some investigation internally and have come up with a patch to support DDR4 initialization:  https://github.com/TexasInstruments/arm-trusted-firmware/pull/20

    Please apply this patch to the current SDK.

    Furthermore, you need to generate a DDR4 configuration using the DDR Register Configuration Tool: http://dev.ti.com/sysconfig/?product=Processor_DDR_Config&device=AM62L

    Choose DDR Memory Type DDR4 and TCR mode "Enabled".  Most likely you can leave the other parameters as default (depending on your DDR memory device selection).

    Save k3-am62Lx-ddr-config.h to board-support/trusted-firmware-a-2.12+git/fdts and edit the #include statement in k3-am62l-ddr.dts to use this file.

    Rebuild and replace tiboot3.bin in the boot media.

    Regards,

    James