AM62A7: Watchdog cannot be enabled

Part Number: AM62A7


Hi, TI experts,

The specific project details are as follows:
Processor: AM62A7
SDK: 10.00.00.08
Boot method: EMMC boot

I attempted to activate the watchdog. After making the modifications as per the user manual, the watchdog did not function properly.

Here are my revisions:

for uboot: k3-am62a-main.dtsi

ScreenShot_2026-01-04_155740_434.png

for kernel: k3-am62a-main.dtsi

ScreenShot_2026-01-04_155710_218.png ScreenShot_2026-01-04_155615_798.png

I enabled the watchdog using wdctl. When the "Timeleft" value is 0, the system will not restart.

ScreenShot_2026-01-04_160752_287.png

 my hardware design:

  

I tried on the TI EVM, it also couldn't restart. 

Please assist with the analysis. Thank you.

 

Best Regards,

Gaogao

  • More Info,

    Using SDK 11_01_07_05, on the EVM platform, the watchdog function works properly.

    Using SDK 10_00_00_08, on the EVM platform, the watchdog does not function properly.

  • Hello Gaogao,

    Good job debugging by testing with a later SDK version on the TI EVM. That tells us that (at least on the EVM) this is not related to hardware.

    Do you still need to get watchdog working on SDK 10.0?

    The first thing I would check is to make sure that you are properly copying over the built files from the computer to the EVM, that is a pretty common mistake. It is unrelated to your question, but note that for the "Target Images" listed in the U-Boot documentation, the tiboot3-processor-type-here.bin file should be renamed on your EVM's memory to just tiboot3.bin, otherwise the bootloader will not use it.
    https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/10_01_00/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html

    Regards,

    Nick

  • Hi, Nick,

    Thanks for replying,

    Yes,I need to get watchdog working on SDK 10.0, please assist with the analysis. Thank you.

    And I used tisdk-edgeai-image-am62a-evm.wic.xz to verify on the TI EVM. 

    Regards,

    Gaogao

  • Hello Gaogao,

    Did you confirm that you properly updated the uboot files on your board after cleaning and rebuilding uboot?

    I do not have as much experience with u-boot, but I expect that the uboot hash that shows up in the terminal should change when you rebuild uboot, similar to the Linux kernel. Here is an example of where I would look in the boot logs (screenshot from an AM62x)

    U-Boot SPL 2025.01-00527-gd2a72467939e (Jul 01 2025 - 21:23:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.2--v11.01.02 (Fancy Rat)')
    Changed A53 CPU frequency to 1250000000Hz (T grade) in DT
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.13.0(release):v2.13.0-240-gd90bb650fe-dirty
    NOTICE:  BL31: Built : 21:37:18, Jun 23 2025
    
    U-Boot SPL 2025.01-00527-gd2a72467939e (Jul 01 2025 - 21:23:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.2--v11.01.02 (Fancy Rat)')
    SPL initial stack usage: 2032 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2025.01-00527-gd2a72467939e (Jul 01 2025 - 21:23:47 +0000)
    
    

    Regards,

    Nick

  • Dear Gao Canjian.

    would you please let us know the progress on your side? we would like to close this ticket in this week if there is no more update for long time.

    thanks a lot!

    yong

  • Hi, Yong, Nick,

    new information, 

    In SDK 10.0, I rebuilt u-boot and linux kernel, the watchdog is working. 

    But, to reduce bootloader time, we use the Optimized bootflow. there is no u-boot. 

    so I just rebuilt linux kernel, the watchdog is not working.

    https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/10_00_00/exports/docs/linux/How_to_Guides/Target/How_to_boot_quickly.html?highlight=sbl

    Regards,

    Gaogao