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.

DRA829J: How to enable the watchdog on all A72 and R5f

Part Number: DRA829J
Other Parts Discussed in Thread: DRA829

Tool/software:

Hi TI,

We want to set watchdogs on our custom board.

And, I found the DRA829 has linux watchdog enabled. I guess they are the watchdogs on A72s.

Referring to e2e.ti.com/.../tda4vm-tda4-a72-linux-watchdog-issue, I ran the watchdog test demo  ./runltp -P j721e-idk-gw -f ddt/wdt_test -s "WDT_M_FUNC_WRITE " , and the log as following:

root@j721e-evm:/opt/ltp# ./runltp -P j721e-idk-gw -f ddt/wdt_test -s "WDT_M_FUNC_WRITE "
INFO: creating /opt/ltp/output directory
INFO: creating /opt/ltp/results directory
INFO: Filtering testscenarios based on j721e-idk-gw capabilities
awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
Checking for required user/group ids

'root' user id and group found.
'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

/etc/os-release
ID=arago
NAME="Arago"
VERSION="2023.10"
VERSION_ID=2023.10
PRETTY_NAME="Arago 2023.10"

uname:
Linux j721e-evm 6.1.80 #4 SMP PREEMPT Fri Nov  1 12:01:21 CST 2024 aarch64 aarch64 aarch64 GNU/Linux

/proc/cmdline
console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=79ba9ee9-02 rw rootfstype=ext4 rootwait

Gnu C                  gcc (GCC) 11.4.0
Clang
Gnu make               4.3
util-linux             2.37.4
mount                  linux 2.37.4 (libmount 2.37.4: btrfs, namespaces, assert, debug)
modutils               29
e2fsprogs              1.46.5
Linux C Library        x 1 1018 1018 1630088 Mar  9  2018 /lib/libc.so.6
Dynamic linker (ldd)   2.35
Linux C++ Library      6.0.29
Procps                 3.3.17-dirty
Net-tools              2.10
iproute2               iproute2-5.17.0
iputils                'V'
ethtool                5.16
Sh-utils               9.0
Modules Loaded         brcm_xgbe pci_endpoint_test xhci_plat_hcd ti_am335x_adc rpmsg_ctrl rpmsg_char kfifo_buf cdns3 irq_pruss_intc pru_rproc cdns_usb_common omap_rng wlan_cnss_core_pcie overlay display_connector drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops crct10dif_ce phy_can_transceiver cfg80211 rfkill ti_k3_r5_remoteproc vxd_dec k3_j72xx_bandgap vxe_enc videobuf2_dma_sg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_v4l2 ti_am335x_tscadc videobuf2_common pruss videodev sa2ul ti_k3_dsp_remoteproc virtio_rpmsg_bus mc rpmsg_ns ti_k3_common cdns_dphy_rx cdns3_ti pci_j721e_host pci_j721e pcie_cadence_host pcie_cadence optee_rng spi_omap2_mcspi rng_core rti_wdt cryptodev fuse drm drm_panel_orientation_quirks ipv6

free reports:
               total        used        free      shared  buff/cache   available
Mem:         2221908      161544     1833360        9340      227004     1911736
Swap:              0           0           0

cpuinfo:
Architecture:            aarch64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
CPU(s):                  2
  On-line CPU(s) list:   0,1
Vendor ID:               ARM
  Model name:            Cortex-A72
    Model:               0
    Thread(s) per core:  1
    Core(s) per cluster: 2
    Socket(s):           -
    Cluster(s):          1
    Stepping:            r1p0
    BogoMIPS:            400.00
    Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Caches (sum of all):
  L1d:                   64 KiB (2 instances)
  L1i:                   96 KiB (2 instances)
  L2:                    1 MiB (1 instance)
Vulnerabilities:
  Gather data sampling:  Not affected
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec rstack overflow:  Not affected
  Spec store bypass:     Not affected
  Spectre v1:            Mitigation; __user pointer sanitization
  Spectre v2:            Mitigation; CSV2, BHB
  Srbds:                 Not affected
  Tsx async abort:       Not affected

available filesystems:
autofs bdev bpf cgroup cgroup2 configfs cpuset debugfs devpts devtmpfs ext2 ext3 ext4 fuse fuseblk fusectl hugetlbfs mqueue nfs nfs4 overlay pipefs proc pstore ramfs rpc_pipefs securityfs sockfs squashfs sysfs tmpfs ubifs vfat

mounted filesystems (/proc/mounts):
/dev/root / ext4 rw,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=847816k,nr_inodes=211954,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,size=444384k,nr_inodes=819200,mode=755 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,size=1110956k,nr_inodes=1048576 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /media/ram tmpfs rw,relatime,size=16384k 0 0
tmpfs /var/volatile tmpfs rw,relatime,size=51200k 0 0
/dev/mmcblk1p1 /run/media/BOOT-mmcblk1p1 vfat rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0

mounted filesystems (df):
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/root      ext4       59G  6.0G   50G  11% /
devtmpfs       devtmpfs  828M  4.0K  828M   1% /dev
tmpfs          tmpfs     1.1G     0  1.1G   0% /dev/shm
tmpfs          tmpfs     434M  9.2M  425M   3% /run
tmpfs          tmpfs     4.0M     0  4.0M   0% /[ 2627.466876] LTP: starting WDT_M_FUNC_WRITE (source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl -write)
sys/fs/cgroup
tmpfs          tmpfs     1.1G   12K  1.1G   1% /tmp
tmpfs          tmpfs      16M     0   16M   0% /media/ram
tmpfs          tmpfs      50M     0   50M   0% /var/volatile
/dev/mmcblk1p1 vfat      127M  5.9M  121M   5% /run/media/BOOT-mmcblk1p1

AppArmor disabled

SELinux mode: unknown
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 1211     -n 1211 -p -f /tmp/ltp-2phSRLXqIP/alltests -l /tmp/tmp.C6OCkwzYpn  -C /opt/ltp/output/LTP_RUN_ON-tmp.C6OCkwzYpn.failed -T /opt/ltp/output/LTP_RUN_ON-tmp.C6OCkwzYpn.tconf
INFO: Restricted to WDT_M_FUNC_WRITE
LOG File: /tmp/tmp.C6OCkwzYpn
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.C6OCkwzYpn.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.C6OCkwzYpn.tconf
Running tests.......
<<<test_start>>>
tag=WDT_M_FUNC_WRITE stime=1651170365
cmdline="source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl -write"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
|TRACE LOG|Inside do_cmd:CMD=install_modules.sh wdt|
|TRACE LOG|Inside do_cmd:CMD=wdt_tests -device /dev/watchdog -ioctl -write|


|TEST START|wdt_tests|
|TRACE LOG|******** WDT Testcase  parameters  ******** |
|TRACE LOG|Device         : /dev/watchdog|
|TRACE LOG|Loop Count     : 1|
|TRACE LOG|I/O Operation  : Write|
|TRACE LOG|Operation      : Ioctl|
|TRACE LOG|Ioctl Name     : WDIOC_KEEPALIVE|
|TRACE LOG|Ioctl Arg      : 0 |
|TRACE LOG| ************* End of Test params ************* |
|TRACE LOG|Keeping WDT alive, sleep counter -0(sec)|
|TEST RESULT|PASS|wdt_tests|
|TEST END|wdt_tests|
|TRACE LOG|EVM will be rebooted after 60 seconds|
|TRACE LOG|59 seconds remaining before reboot|
|TRACE LOG|58 seconds remaining before reboot|
|TRACE LOG|57 seconds remaining before reboot|
|TRACE LOG|56 seconds remaining before reboot|
|TRACE LOG|55 seconds remaining before reboot|
|TRACE LOG|54 seconds remaining before reboot|
|TRACE LOG|53 seconds remaining before reboot|
|TRACE LOG|52 seconds remaining before reboot|
|TRACE LOG|51 seconds remaining before reboot|
|TRACE LOG|50 seconds remaining before reboot|
|TRACE LOG|49 seconds remaining before reboot|
|TRACE LOG|48 seconds remaining before reboot|
|TRACE LOG|47 seconds remaining before reboot|
|TRACE LOG|46 seconds remaining before reboot|
|TRACE LOG|45 seconds remaining before reboot|
|TRACE LOG|44 seconds remaining before reboot|
|TRACE LOG|43 seconds remaining before reboot|
|TRACE LOG|42 seconds remaining before reboot|
|TRACE LOG|41 seconds remaining before reboot|
|TRACE LOG|40 seconds remaining before reboot|
|TRACE LOG|39 seconds remaining before reboot|
|TRACE LOG|38 seconds remaining before reboot|
|TRACE LOG|37 seconds remaining before reboot|
|TRACE LOG|36 seconds remaining before reboot|
|TRACE LOG|35 seconds remaining before reboot|
|TRACE LOG|34 seconds remaining before reboot|
|TRACE LOG|33 seconds remaining before reboot|
|TRACE LOG|32 seconds remaining before reboot|
|TRACE LOG|31 seconds remaining before reboot|
|TRACE LOG|30 seconds remaining before reboot|
|TRACE LOG|29 seconds remaining before reboot|
|TRACE LOG|28 seconds remaining before reboot|
|TRACE LOG|27 seconds remaining before reboot|
|TRACE LOG|26 seconds remaining before reboot|
|TRACE LOG|25 seconds remaining before reboot|
|TRACE LOG|24 seconds remaining before reboot|
|TRACE LOG|23 seconds remaining before reboot|
|TRACE LOG|22 seconds remaining before reboot|
|TRACE LOG|21 seconds remaining before reboot|
|TRACE LOG|20 seconds remaining before reboot|
|TRACE LOG|19 seconds remaining before reboot|
|TRACE LOG|18 seconds remaining before reboot|
|TRACE LOG|17 seconds remaining before reboot|
|TRACE LOG|16 seconds remaining before reboot|
|TRACE LOG|15 seconds remaining before reboot|
|TRACE LOG|14 seconds remaining before reboot|
|TRACE LOG|13 seconds remaining before reboot|
|TRACE LOG|12 seconds remaining before reboot|
|TRACE LOG|11 seconds remaining before reboot|
|TRACE LOG|10 seconds remaining before reboot|
|TRACE LOG|9 seconds remaining before reboot|
|TRACE LOG|8 seconds remaining before reboot|
|TRACE LOG|7 seconds remaining before reboot|
|TRACE LOG|6 seconds remaining before reboot|
|TRACE LOG|5 seconds remaining before reboot|
|TRACE LOG|4 seconds remaining before reboot|
|TRACE LOG|3 seconds remaining before reboot|
|TRACE LOG|2 seconds remaining before reboot|
|TRACE LOG|1 seconds remaining before reboot|
|TRACE LOG|0 seconds remaining before reboot|
|TRACE LOG|-1 seconds remaining before reboot|
|TRACE LOG|-2 seconds remaining before reboot|
|TRACE LOG|-3 seconds remaining before reboot|
|TRACE LOG|-4 seconds remaining before reboot|
|TRACE LOG|-5 seconds remaining before reboot|
|TRACE LOG|-6 seconds remaining before reboot|
|TRACE LOG|-7 seconds remaining before reboot|
|TRACE LOG|-8 seconds remaining before reboot|
|TRACE LOG|-9 seconds remaining before reboot|
|TRACE LOG|-10 seconds remaining before reboot|
|TRACE LOG|-11 seconds remaining before reboot|
|TRACE LOG|-12 seconds remaining before reboot|
|TRACE LOG|-13 seconds remaining before reboot|
|TRACE LOG|-14 seconds remaining before reboot|
|TRACE LOG|-15 seconds remaining before reboot|
|TRACE LOG|-16 seconds remaining before reboot|
|TRACE LOG|-17 seconds remaining before reboot|
|TRACE LOG|-18 seconds remaining before reboot|
|TRACE LOG|-19 seconds remaining before reboot|
|TRACE LOG|-20 seconds remaining before reboot|
|TRACE LOG|-21 seconds remaining before reboot|
|TRACE LOG|-22 seconds remaining before reboot|
|TRACE LOG|-23 seconds remaining before reboot|
|TRACE LOG|-24 seconds remaining before reboot|
|TRACE LOG|-25 seconds remaining before reboot|
|TRACE LOG|-26 seconds remaining before reboot|
|TRACE LOG|-27 seconds remaining before reboot|
|TRACE LOG|-28 seconds remaining before reboot|
|TRACE LOG|-29 seconds remaining before reboot|
|TRACE LOG|-30 seconds remaining before reboot|
|TRACE LOG|-31 seconds remaining before reboot|
|TRACE LOG|-32 seconds remaining before reboot|
|TRACE LOG|-33 seconds remaining before reboot|
|TRACE LOG|-34 seconds remaining before reboot|
|TRACE LOG|-35 seconds remaining before reboot|
|TRACE LOG|-36 seconds remaining before reboot|
|TRACE LOG|-37 seconds remaining before reboot|
|TRACE LOG|-38 seconds remaining before reboot|
|TRACE LOG|-39 seconds remaining before reboot|
|TRACE LOG|-40 seconds remaining before reboot|
|TRACE LOG|-41 seconds remaining before reboot|
^Cincrementing stop
[ 2731.860783] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[ 2731.869209] watchdog: watchdog0: watchdog did not stop!
<<<execution_status>>>
initiation_status="ok"
duration=105 termination_type=driver_interrupt termination_id=2 corefile=no
cutime=1 cstime=4
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: 20230127-2800-ga41f17a88

       ###############################################################"

            Done executing testcases."
            LTP Version:  20230127-2800-ga41f17a88
            Result log is in the /tmp/tmp.C6OCkwzYpn "
       ###############################################################"

Test Start Time: Thu Apr 28 18:26:05 2022
-----------------------------------------
Testcase                                           Result     Exit Value
--------                                           ------     ----------
WDT_M_FUNC_WRITE                                   FAIL       2

-----------------------------------------------
Total Tests: 1
Total Skipped Tests: 0
Total Failures: 1
Kernel Version: 6.1.80
Machine Architecture: aarch64
Hostname: j721e-evm

It seems write failed.

My questions:

1. Is that means the watchdogs on A72 are enabled?

2. The test log is make sense or not?

3. How can I enable the watchdogs on R5f, and how to test them?

Thanks a lot!

Regrads,

Maxiel

  • Hi Junyan

        please refer to following files for R5F watchdog

        

    /* ========================================================================== */
    /*                             Include Files                                  */
    /* ========================================================================== */
    
    #include <stdint.h>
    #include <stdio.h>
    #include <ti/csl/csl_types.h>
    #include <ti/csl/hw_types.h>
    #include <ti/drv/uart/UART.h>
    #include <ti/drv/uart/UART_stdio.h>
    #include <ti/csl/csl_rti.h>
    #include <ti/csl/soc.h>
    #include <ti/board/board.h>
    #include <ti/osal/osal.h>
    #include <ti/csl/src/ip/esm/V1/esm.h>
    
    #include <ti/csl/example/rti/rti_dwwdtest_app/j7200/rti_app_dwwd.h>
    
    
    //#ifdef WDT_RESET
    #include <ti/drv/sciclient/sciclient.h>
    //#endif
    
    #include "main_rti.h"
    
    //#define WDT_RESET
    
    static uint8_t gEthAppRTIWdgBuf[8192] __attribute__ ((section("ipc_data_buffer"), aligned(8)));
    
    static int wdg_cnt;
    
    /* ========================================================================== */
    /*                         Structures and Enums                               */
    /* ========================================================================== */
    
    /**
    * \brief  Enum to select the clock source for RTI module.
    */
    
    typedef enum rtiClockSource
    {
        RTI_CLOCK_SOURCE_HFOSC0_CLKOUT = 0U,
        /**< to select clock frequency of hfosc0 */
        RTI_CLOCK_SOURCE_LFOSC_CLKOUT = 1U,
        /**< to select clock frequency of lfosc */
        RTI_CLOCK_SOURCE_12MHZ = 2U,
        /**< to select clock frequency of 12 MHz */
        RTI_CLOCK_SOURCE_32KHZ = 3U,
        /**< to select clock frequency of 32KHz */
    } rtiClockSource_t;
    
    extern void appLogPrintf(const char * format, ...);
    
    /* ========================================================================== */
    /*                            Global Variables                                */
    /* ========================================================================== */
    
    /**< Flag used to indicate interrupt is generated */ 
    /* ========================================================================== */
    /*                          Function Definitions                              */
    /* ========================================================================== */
    
    /**
    * \brief   This API to select clock source for RTI module.
    *
    *
    * \param   rtiClockSource  RTI module clock source
    *                          Values given by enum #rtiClockSource_t
    *
    * \return  none.
    */
    
    static void appWdgSetClockSource(uint32_t rtiClockSourceSelect)
    {
        volatile uint32_t *hwRegPtr;
    
        *(uint32_t *)(CSL_CTRL_MMR0_CFG0_BASE + CSL_MAIN_CTRL_MMR_CFG0_LOCK2_KICK0) = LOCK0_VAL;
        /* write Partition Lock Key 1 Register */
        *(uint32_t *)(CSL_CTRL_MMR0_CFG0_BASE + CSL_MAIN_CTRL_MMR_CFG0_LOCK2_KICK1) = LOCK1_VAL;
    
        hwRegPtr = (uint32_t *) (RTI_APP_CTRL_MMR_CFG_BASE + RTI_APP_CTRL_MMR_CLKSEL_OFFSET);
        hwRegPtr[0] = (hwRegPtr[0] & (~RTI_APP_RTI_CLK_SEL_FIELD_MASK)) |
                      (rtiClockSourceSelect << RTI_APP_RTI_CLK_SEL_FIELD_SHIFT);
    }
    
    static void AppWdg_EnableESMErrorPin(void)
    
    {
        uint32_t regVal;
    
        /* MCU_SAFETY_ERRORn PAD configuration */
        /* Unlock lock key registers for Partition 7: IO PAD
           configuration registers in WKUP_CTRL_MMR */
        /* write Partition 7 Lock Key 0 Register */
        HW_WR_REG32(CSL_CTRL_MMR0_CFG0_BASE + 0x1D008, 0x68EF3490);
        /* write Partition 7 Lock Key 1 Register */
        HW_WR_REG32(CSL_CTRL_MMR0_CFG0_BASE + 0x1D00C, 0xD172BC5A);
    
        /* Check for unlock */
        regVal = HW_RD_REG32(CSL_CTRL_MMR0_CFG0_BASE + 0x1D008);
        while ((regVal & 0x1) != 0x1U)
        {
            regVal = HW_RD_REG32(CSL_CTRL_MMR0_CFG0_BASE + 0x1D008);
        }
    
        /* Unlocking done */
        regVal = HW_RD_REG32(CSL_CTRL_MMR0_CFG0_BASE + 0x1C280U);
        regVal |= 0x00000U;
        HW_WR_REG32(CSL_CTRL_MMR0_CFG0_BASE + 0x1C280U, regVal);
    
        return;
    }
    
     
    
    /**
    * \brief   ISR after interrupt generation, sets global flag
    *
    * \retval  None
    */
    
    static void appWdgISR(uintptr_t handle)
    {
        appLogPrintf("[wdg]: %s, %d, %d, reset SOC...\n", __func__, __LINE__, wdg_cnt++);
        
        Sciclient_pmDeviceReset(SCICLIENT_SERVICE_WAIT_FOREVER);
    #if 0
    
        uint32_t intrStatus;
    
    #ifdef WDT_RESET
        int32_t status;
    #endif
    
        RTIDwwdGetStatus(RTI_APP_RTI_CFG_BASE, &intrStatus);
        appLogPrintf("[wdg]: Interrupt Generated %d, 0x%x!!!\n", wdg_cnt, intrStatus);
    //    appLogPrintf("[wdg]: Interrupt 0x%x\n", intrStatus);
        RTIDwwdClearStatus(RTI_APP_RTI_CFG_BASE, intrStatus);
    //    appLogPrintf("[wdg]: Interrupt 0x%x\n", intrStatus);
    
        ESMClearIntrStatus(ESM_INSTANCE, ESM_ERR_SIG);
    
        if (wdg_cnt++ < 50)
        {
            appLogPrintf("[wdg]: %s, %d, %d\n", __func__, __LINE__, wdg_cnt);
            ESMResetErrPin(ESM_INSTANCE);
        }
    
    #ifdef WDT_RESET
        if (wdg_cnt++ == 30)
        {
            status = Sciclient_pmDeviceReset(SCICLIENT_SERVICE_WAIT_FOREVER);
            if (status != 0)
            {
                appLogPrintf("[wdg]: Sciclient_pmDeviceReset Failed : stauts = %d!!!\n", status);
            }
        }
    #endif
    #endif
    }
    
    /**
    * \brief   This API to register interrupt for a given instance.
    *
    *
    * \return  0: Success, -1: Failure
    */
    static int32_t appWdgInterruptConfig(void)
    {
        int32_t retVal = 0;
        OsalRegisterIntrParams_t intrPrms;
        OsalInterruptRetCode_e osalRetVal;
        HwiP_Handle hwiHandle;
        uint32_t rtiIntNum;
    
        Osal_RegisterInterrupt_initParams(&intrPrms);
        intrPrms.corepacConfig.arg          = (uintptr_t)0;
        intrPrms.corepacConfig.priority     = 1U;
        intrPrms.corepacConfig.corepacEventNum = 0U; /* NOT USED ? */
    
        rtiIntNum = RTI_APP_WDT_INT_NUM;
    
        if (retVal == 0)
        {
            intrPrms.corepacConfig.isrRoutine   = &appWdgISR;
            intrPrms.corepacConfig.intVecNum    = rtiIntNum;
            osalRetVal = Osal_RegisterInterrupt(&intrPrms, &hwiHandle);
            if(OSAL_INT_SUCCESS != osalRetVal)
            {
                appLogPrintf("[wdg]: Error Could not register ISR !!!\n");
                retVal = -1;
            }
        }
    
        return retVal;
    
    }
    
    /**
    * \brief   This API to calculate preload value from given time-out value.
    *
    * \param   rtiClockSource  RTI module clock source
    *                          Values given by enum #rtiClockSource_t
    *
    * \param   timeoutVal      RTI DWWD time-out value in mili-seconds.
    *
    * \return  Preload value   Time-out value in RTI source clock cycles.
    */
    static uint32_t appWdgGetPreloadValue(uint32_t rtiClkSource, uint32_t timeoutVal)
    {
        uint32_t clkFreqKHz       = (uint32_t) RTI_CLOCK_SOURCE_32KHZ_FREQ_KHZ,
                 timeoutNumCycles = 0;
                 
        switch (rtiClkSource)
        {
            case RTI_CLOCK_SOURCE_32KHZ:
                clkFreqKHz = (uint32_t) RTI_CLOCK_SOURCE_32KHZ_FREQ_KHZ;
                break;
            default:
                break;
        }
    
        /* Get the clock ticks for given time-out value */
        timeoutNumCycles = timeoutVal * clkFreqKHz;
    
        return timeoutNumCycles;
    }
    
    static void WdgApp_ESMInit()
    {
        /* ESM Soft Reset */
        appLogPrintf("[wdg]: %s, %d, ESM_INSTANCE = 0x%08x\n", __func__, __LINE__, ESM_INSTANCE);
        appLogPrintf("[wdg]: %s, %d, ESM_OPERATION_MODE_NORMAL = 0x%08x\n", __func__, __LINE__, ESM_OPERATION_MODE_NORMAL);
        appLogPrintf("[wdg]: %s, %d, ESM_ERR_SIG = 0x%08x\n", __func__, __LINE__, ESM_ERR_SIG);
    
        ESMReset(ESM_INSTANCE);
    
        /* The below function can be changed to force an error for diagnostic
         * reasons. Make sure we're not in force error mode */
        ESMSetMode(ESM_INSTANCE, ESM_OPERATION_MODE_NORMAL);
    
        /* Enable this ESM Error Signal */
        ESMEnableIntr(ESM_INSTANCE, ESM_ERR_SIG);
    
        /* Set the output interrupt priority level */
        ESMSetIntrPriorityLvl(ESM_INSTANCE, ESM_ERR_SIG,
                                ESM_INTR_PRIORITY_LEVEL_HIGH);
    
        /* Enable Error Pin on this ESM Error Signal */
        ESMSetInfluenceOnErrPin(ESM_INSTANCE, ESM_ERR_SIG, TRUE);
    
        /* Enable for all ESM Error Signals */
        ESMEnableGlobalIntr(ESM_INSTANCE);
    }
    
    volatile uint32_t appWdgService_flag = 1;
    static void appWdgServiceTask(void *a0, void *a1)
    {
        uint32_t loop_cnt = 0;
        appLogPrintf("Ethfw RTI Watchdog service task created...\n");
        while (appWdgService_flag) {
           RTIDwwdService(RTI_APP_RTI_CFG_BASE);
           TaskP_sleep(500);
           loop_cnt++;
           //appLogPrintf("Ethfw RTI Watchdog service lopcnt %d...\n", loop_cnt);
        }
    }
    
    static void appWdgSrvTaskCreate(void)
    {
        TaskP_Handle task;
        TaskP_Params taskParams;
        
        /* Create initialization task */
        TaskP_Params_init(&taskParams);
        taskParams.priority = 2;
        taskParams.stack = &gEthAppRTIWdgBuf[0];
        taskParams.stacksize = sizeof(gEthAppRTIWdgBuf);
        taskParams.name = "EthFw RTI-Wdg Task";
        
        TaskP_create(&appWdgServiceTask, &taskParams);
    }
    
    static void appWdgSetup(void)
    {
        uint32_t rtiModule, rtiWindow_size, rtiPreload_value, rtiReaction;
        int32_t  config_status;
    
        WdgApp_ESMInit();
    
        /* Register Interrupt */
        if(appWdgInterruptConfig() != 0)
        {
            appLogPrintf("RTI Interrupt configuration failed.\n");
            return;
        }
    
        appLogPrintf("Interrupt config complete\n");
    
        /* Configure RTI parameters */
        rtiModule        = RTI_APP_RTI_CFG_BASE;
        rtiWindow_size   = APP_RTI_DWWD_WINDOW_SIZE;
        rtiReaction      = APP_RTI_DWWD_REACTION;
        rtiPreload_value = appWdgGetPreloadValue((uint32_t) RTI_CLOCK_SOURCE_32KHZ, (uint32_t) APP_RTI_DWWD_TIMEOUT_VALUE);
    
        appLogPrintf("[wdg] base_addr = 0x%x\n", rtiModule);
        appLogPrintf("[wdg] rtiPreload_value = %u\n", rtiPreload_value);
    
        /* Select RTI module clock source */
        appWdgSetClockSource((uint32_t) RTI_CLOCK_SOURCE_32KHZ);
        config_status = RTIDwwdWindowConfig(rtiModule,
                                            rtiReaction,
                                            rtiPreload_value,
                                            rtiWindow_size);
    
        if (config_status == CSL_EFAIL)
        {
            appLogPrintf("[wdg]: Error during Window configuration.\n");
        }
        else
        {
            appLogPrintf("[wdg]: DWWD is configured for %u ms time-out \n", APP_RTI_DWWD_TIMEOUT_VALUE);
            appLogPrintf("[wdg]: DWWD will generate interrupt after above time-out period.\n");
    
            //AppWdg_EnableESMErrorPin();
    
            RTIDwwdCounterEnable(rtiModule);
            
            appWdgSrvTaskCreate();
    
            /* Let DWWD expire here */
            appLogPrintf("[wdg]: Wait for %u ms for interrupt to be generated by DWWD.\n", APP_RTI_DWWD_TIMEOUT_VALUE);
    #if 0
            while (0U == isrFlag)
            {
                /* Wait for interrupt */
            }
    #endif
            appLogPrintf("[wdg]: RTI App completed successfully.\n");
        }
    }
    
     
    
     
    
    int32_t appWdgInit(void)
    {
        appLogPrintf("WDG: Init ... !!!\n");
        appWdgSetup();
    
        return 0;
    
    }
    

        main_rti.h

    and for Linux, you can try following command, with different board name

    test command:

                 ./runltp -P j7200-evm -f ddt/wdt_test -s "WDT_M_FUNC_WRI"

  • Hi Semon,

    and for Linux, you can try following command, with different board name

    I ran the test command you provided, 

             ./runltp -P j721e-evm -f ddt/wdt_test -s "WDT_M_FUNC_WRI"

    And the test log  is make sense or not? (following)

    root@j721e-evm:/opt/ltp#   ./runltp -P j721e-evm -f ddt/wdt_test -s "WDT_M_FUNC_WRI"
    INFO: Filtering testscenarios based on j721e-evm capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'root' user id and group found.
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2023.10"
    VERSION_ID=2023.10
    PRETTY_NAME="Arago 2023.10"
    
    uname:
    Linux j721e-evm 6.1.80 #4 SMP PREEMPT Fri Nov  1 12:01:21 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=79ba9ee9-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 11.4.0
    Clang
    Gnu make               4.3
    util-linux             2.37.4
    mount                  linux 2.37.4 (libmount 2.37.4: btrfs, namespaces, assert, debug)
    modutils               29
    e2fsprogs              1.46.5
    Linux C Library        x 1 1018 1018 1630088 Mar  9  2018 /lib/libc.so.6
    Dynamic linker (ldd)   2.35
    Linux C++ Library      6.0.29
    Procps                 3.3.17-dirty
    Net-tools              2.10
    iproute2               iproute2-5.17.0
    iputils                'V'
    ethtool                5.16
    Sh-utils               9.0
    Modules Loaded         brcm_xgbe pci_endpoint_test xhci_plat_hcd ti_am335x_adc kfifo_buf omap_rng rpmsg_ctrl rpmsg_char cdns3 pru_rproc irq_pruss_intc cdns_usb_common overlay wlan_cnss_core_pcie display_connector drm_kms_helper crct10dif_ce cfg80211 syscopyarea sysfillrect sysimgblt rfkill fb_sys_fops phy_can_transceiver ti_k3_r5_remoteproc vxd_dec vxe_enc videobuf2_dma_sg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem k3_j72xx_bandgap videobuf2_v4l2 ti_am335x_tscadc videobuf2_common videodev pruss mc ti_k3_dsp_remoteproc sa2ul virtio_rpmsg_bus rpmsg_ns ti_k3_common cdns_dphy_rx cdns3_ti pci_j721e_host pci_j721e pcie_cadence_host pcie_cadence optee_rng rti_wdt spi_omap2_mcspi rng_core cryptodev fuse drm drm_panel_orientation_quirks ipv6
    
    free reports:
                   total        used        free      shared  buff/cache   available
    Mem:         2221908      166140     1547036        9336      508732     1860852
    Swap:              0           0           0
    
    cpuinfo:
    Architecture:            aarch64
      CPU op-mode(s):        32-bit, 64-bit
      Byte Order:            Little Endian
    CPU(s):                  2
      On-line CPU(s) list:   0,1
    Vendor ID:               ARM
      Model name:            Cortex-A72
        Model:               0
        Thread(s) per core:  1
        Core(s) per cluster: 2
        Socket(s):           -
        Cluster(s):          1
        Stepping:            r1p0
        BogoMIPS:            400.00
        Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
    Caches (sum of all):
      L1d:                   64 KiB (2 instances)
      L1i:                   96 KiB (2 instances)
      L2:                    1 MiB (1 instance)
    Vulnerabilities:
      Gather data sampling:  Not affected
      Itlb multihit:         Not affected
      L1tf:                  Not affected
      Mds:                   Not affected
      Meltdown:              Not affected
      Mmio stale data:       Not affected
      Retbleed:              Not affected
      Spec rstack overflow:  Not affected
      Spec store bypass:     Not affected
      Spectre v1:            Mitigation; __user pointer sanitization
      Spectre v2:            Mitigation; CSV2, BHB
      Srbds:                 Not affected
      Tsx async abort:       Not affected
    
    available filesystems:
    autofs bdev bpf cgroup cgroup2 configfs cpuset debugfs devpts devtmpfs ext2 ext3 ext4 fuse fuseblk fusectl hugetlbfs mqueue nfs nfs4 overlay pipefs proc pstore ramfs rpc_pipefs securityfs sockfs squashfs sysfs tmpfs ubifs vfat
    
    mounted filesystems (/proc/mounts):
    /dev/root / ext4 rw,relatime 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=847816k,nr_inodes=211954,mode=755 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,nodev,size=444384k,nr_inodes=819200,mode=755 0 0
    tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755 0 0
    cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
    cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
    pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
    bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
    cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
    cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
    cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
    cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
    cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
    cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
    cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
    cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
    cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
    cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
    hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
    mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
    debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev,size=1110956k,nr_inodes=1048576 0 0
    fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
    configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /media/ram tmpfs rw,relatime,size=16384k 0 0
    tmpfs /var/volatile tmpfs rw,relatime,size=51200k 0 0
    /dev/mmcblk1p1 /run/media/BOOT-mmcblk1p1 vfat rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
    
    mounted filesystems (df):
    Filesystem     Type      Size  Used Avail Use% Mounted on
    /dev/root      ext4       59G  6.0G   50G  11% /
    devtmpfs       devtmpfs  828M  4.0K  828M   1% /dev
    tmpfs          tmpfs     1.1G     0  1.1G   0% /dev/shm
    tmpfs          tmpfs     434M  9.2M  425M   3% /run
    tmpfs          tmpfs     4.0M     0  4.0M   0% /sys/fs/cgroup
    [  613.523627] LTP: starting WDT_M_FUNC_WRITE (source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl -write)
    tmpfs          tmpfs     1.1G   12K  1.1G   1% /tmp
    tmpfs          tmpfs      16M     0   16M   0% /media/ram
    tmpfs          tmpfs      50M     0   50M   0% /var/volatile
    /dev/mmcblk1p1 vfat      127M  5.9M  121M   5% /run/media/BOOT-mmcblk1p1
    
    AppArmor disabled
    
    SELinux mode: unknown
    no big block device was specified on commandline.
    Tests which require a big block device are disabled.
    You can specify it with option -z
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 1178     -n 1178 -p -f /tmp/ltp-ByWP3XnFCi/alltests -l /tmp/tmp.TtMvufhvKv  -C /opt/ltp/output/LTP_RUN_ON-tmp.TtMvufhvKv.failed -T /opt/ltp/output/LTP_RUN_ON-tmp.TtMvufhvKv.tconf
    INFO: Restricted to WDT_M_FUNC_WRI
    LOG File: /tmp/tmp.TtMvufhvKv
    FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.TtMvufhvKv.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.TtMvufhvKv.tconf
    Running tests.......
    <<<test_start>>>
    tag=WDT_M_FUNC_WRITE stime=1651168351
    cmdline="source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl -write"
    contacts=""
    analysis=exit
    <<<test_output>>>
    |TRACE LOG|Inside do_cmd:CMD=install_modules.sh wdt|
    |TRACE LOG|Inside do_cmd:CMD=wdt_tests -device /dev/watchdog -ioctl -write|
    
    
    |TEST START|wdt_tests|
    |TRACE LOG|******** WDT Testcase  parameters  ******** |
    |TRACE LOG|Device         : /dev/watchdog|
    |TRACE LOG|Loop Count     : 1|
    |TRACE LOG|I/O Operation  : Write|
    |TRACE LOG|Operation      : Ioctl|
    |TRACE LOG|Ioctl Name     : WDIOC_KEEPALIVE|
    |TRACE LOG|Ioctl Arg      : 0 |
    |TRACE LOG| ************* End of Test params ************* |
    |TRACE LOG|Keeping WDT alive, sleep counter -0(sec)|
    |TEST RESULT|PASS|wdt_tests|
    |TEST END|wdt_tests|
    |TRACE LOG|EVM will be rebooted after 60 seconds|
    |TRACE LOG|59 seconds remaining before reboot|
    |TRACE LOG|58 seconds remaining before reboot|
    |TRACE LOG|57 seconds remaining before reboot|
    |TRACE LOG|56 seconds remaining before reboot|
    |TRACE LOG|55 seconds remaining before reboot|
    |TRACE LOG|54 seconds remaining before reboot|
    |TRACE LOG|53 seconds remaining before reboot|
    |TRACE LOG|52 seconds remaining before reboot|
    |TRACE LOG|51 seconds remaining before reboot|
    |TRACE LOG|50 seconds remaining before reboot|
    |TRACE LOG|49 seconds remaining before reboot|
    |TRACE LOG|48 seconds remaining before reboot|
    |TRACE LOG|47 seconds remaining before reboot|
    |TRACE LOG|46 seconds remaining before reboot|
    |TRACE LOG|45 seconds remaining before reboot|
    |TRACE LOG|44 seconds remaining before reboot|
    |TRACE LOG|43 seconds remaining before reboot|
    |TRACE LOG|42 seconds remaining before reboot|
    |TRACE LOG|41 seconds remaining before reboot|
    |TRACE LOG|40 seconds remaining before reboot|
    |TRACE LOG|39 seconds remaining before reboot|
    |TRACE LOG|38 seconds remaining before reboot|
    |TRACE LOG|37 seconds remaining before reboot|
    |TRACE LOG|36 seconds remaining before reboot|
    |TRACE LOG|35 seconds remaining before reboot|
    |TRACE LOG|34 seconds remaining before reboot|
    |TRACE LOG|33 seconds remaining before reboot|
    |TRACE LOG|32 seconds remaining before reboot|
    |TRACE LOG|31 seconds remaining before reboot|
    |TRACE LOG|30 seconds remaining before reboot|
    |TRACE LOG|29 seconds remaining before reboot|
    |TRACE LOG|28 seconds remaining before reboot|
    |TRACE LOG|27 seconds remaining before reboot|
    |TRACE LOG|26 seconds remaining before reboot|
    |TRACE LOG|25 seconds remaining before reboot|
    |TRACE LOG|24 seconds remaining before reboot|
    |TRACE LOG|23 seconds remaining before reboot|
    |TRACE LOG|22 seconds remaining before reboot|
    |TRACE LOG|21 seconds remaining before reboot|
    |TRACE LOG|20 seconds remaining before reboot|
    |TRACE LOG|19 seconds remaining before reboot|
    |TRACE LOG|18 seconds remaining before reboot|
    |TRACE LOG|17 seconds remaining before reboot|
    |TRACE LOG|16 seconds remaining before reboot|
    |TRACE LOG|15 seconds remaining before reboot|
    |TRACE LOG|14 seconds remaining before reboot|
    |TRACE LOG|13 seconds remaining before reboot|
    |TRACE LOG|12 seconds remaining before reboot|
    |TRACE LOG|11 seconds remaining before reboot|
    |TRACE LOG|10 seconds remaining before reboot|
    |TRACE LOG|9 seconds remaining before reboot|
    |TRACE LOG|8 seconds remaining before reboot|
    |TRACE LOG|7 seconds remaining before reboot|
    |TRACE LOG|6 seconds remaining before reboot|
    |TRACE LOG|5 seconds remaining before reboot|
    |TRACE LOG|4 seconds remaining before reboot|
    |TRACE LOG|3 seconds remaining before reboot|
    |TRACE LOG|2 seconds remaining before reboot|
    |TRACE LOG|1 seconds remaining before reboot|
    |TRACE LOG|0 seconds remaining before reboot|
    |TRACE LOG|-1 seconds remaining before reboot|
    |TRACE LOG|-2 seconds remaining before reboot|
    |TRACE LOG|-3 seconds remaining before reboot|
    |TRACE LOG|-4 seconds remaining before reboot|
    |TRACE LOG|-5 seconds remaining before reboot|
    |TRACE LOG|-6 seconds remaining before reboot|
    |TRACE LOG|-7 seconds remaining before reboot|
    |TRACE LOG|-8 seconds remaining before reboot|
    |TRACE LOG|-9 seconds remaining before reboot|
    |TRACE LOG|-10 seconds remaining before reboot|
    |TRACE LOG|-11 seconds remaining before reboot|
    |TRACE LOG|-12 seconds remaining before reboot|
    |TRACE LOG|-13 seconds remaining before reboot|
    |TRACE LOG|-14 seconds remaining before reboot|
    |TRACE LOG|-15 seconds remaining before reboot|
    |TRACE LOG|-16 seconds remaining before reboot|
    |TRACE LOG|-17 seconds remaining before reboot|
    |TRACE LOG|-18 seconds remaining before reboot|
    |TRACE LOG|-19 seconds remaining before reboot|
    |TRACE LOG|-20 seconds remaining before reboot|
    |TRACE LOG|-21 seconds remaining before reboot|
    |TRACE LOG|-22 seconds remaining before reboot|
    |TRACE LOG|-23 seconds remaining before reboot|
    |TRACE LOG|-24 seconds remaining before reboot|
    |TRACE LOG|-25 seconds remaining before reboot|
    

    please refer to following files for R5F watchdog

    Sorry to ask how the test code of R5f should be compiled, packaged and run. I don't know much about the rtos side of the logic.

    Regrads,

    Maxiel

  • Hello Maxiel,

    Watchdog triggering is one part. Then the Signal has to routed via ESM module to PMIC. Is that taken care of on your custom board?

    - Keerthy

  • Hi Keerthy,

    Watchdog triggering is one part. Then the Signal has to routed via ESM module to PMIC. Is that taken care of on your custom board?

    Maybe not. And how can I implement signal routing?

    Regrads,

    Maxiel

  • Hi Keerthy,

    I found a E2E about how to  enable watchdog on J784S4 : https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1261103/faq-j784s4xevm-how-to-enable-main-domain-watchdog.

    Can give me some patches similar to this E2E. Our SDK version is 09.02.04

    Regrads,

    Maxiel

  • hello Junyan

        what's purpose of using the RTI watchdog, 

        each CORE has its own RTI watchdog, you should change the configuration in my example code if you run it in different CORE, my example is on MCU2_0 and is used to reset the SOC, if you want to trigger ESM or other purpose, need to add further handling code

    Regards

      Semon 

  • Hi Semon,

    what's purpose of using the RTI watchdog, 

    According to the requirements I got, RTI watchdog is used to monitor core business processes. But, the specific monitoring logic is not released to us.

    Therefore, we would like to break through the standard RTI logic similar to above E2E.

    Also, let's focus on A72 for now and deal with R5f later.

    Regrads,

    Maxiel

  • According to the requirements I got, RTI watchdog is used to monitor core business processes. But, the specific monitoring logic is not released to us.

    Therefore, we would like to break through the standard RTI logic similar to above E2E.

    Also, let's focus on A72 for now and deal with R5f later.

    Hi Maxiel

        A72 SDK9.2 already support Watchdog, refer toL

       (+) TDA4VM: TDA4 A72 linux watchdog issue - Processors forum - Processors - TI E2E support forums

    Regards

       Semon

  • Hi Semon,

    Yes, I have seen this E2E, run the corresponding test command, and give the test log.

    And the test log  is make sense or not? (following)

    1) So, I want to check with TI, the test log is make sense or not? And why didn't the system reboot after the countdown? 

    2) As Keerthy said, we need make sure that the ESM modules (main ESM, MCU ESM, and WKUP ESM) are all enabled. How can I check this?

    3) According to my preliminary inquiry, I didn`t find the ESM node in dts. 

    For the above questions,  I want to double check with TI.

    Regrads,

    Maxiel

  • Yang,

    Just a quick check. I have seen on EVM the reset happen even after -60 Seconds. Can you run till -200 Seconds?
    Just to check?

    - Keerthy

  • Hi Keerthy,

    Just a quick check. I have seen on EVM the reset happen even after -60 Seconds. Can you run till -200 Seconds?

    The reset didn't  happen.

    root@j721e-evm:/opt/ltp# ./runltp -P j721e-evm -f ddt/wdt_test -s "WDT_M_FUNC_WRI"
    INFO: creating /opt/ltp/output directory
    INFO: creating /opt/ltp/results directory
    INFO: Filtering testscenarios based on j721e-evm capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'root' user id and group found.
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2023.10"
    VERSION_ID=2023.10
    PRETTY_NAME="Arago 2023.10"
    
    uname:
    Linux j721e-evm 6.1.80 #1 SMP PREEMPT Tue Nov  5 06:45:16 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=272bae6d-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 11.4.0
    Clang
    Gnu make               4.3
    util-linux             2.37.4
    mount                  linux 2.37.4 (libmount 2.37.4: btrfs, namespaces, assert, debug)
    modutils               29
    e2fsprogs              1.46.5
    Linux C Library        x 1 1001 1001 1630088 Mar  9  2018 /lib/libc.so.6
    Dynamic linker (ldd)   2.35
    Linux C++ Library      6.0.29
    Procps                 3.3.17-dirty
    Net-tools              2.10
    iproute2               iproute2-5.17.0
    iputils                'V'
    ethtool                5.16
    Sh-utils               9.0
    Modules Loaded         brcm_xgbe pci_endpoint_test overlay cfg80211 rfkill xhci_plat_hcd ti_am335x_adc kfifo_buf rpmsg_ctrl irq_pruss_intc pru_rproc rpmsg_char omap_rng cdns3 cdns_usb_common wlan_cnss_core_pcie crct10dif_ce display_connector drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops phy_can_transceiver vxe_enc vxd_dec ti_k3_r5_remoteproc videobuf2_dma_sg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_v4l2 k3_j72xx_bandgap videobuf2_common ti_am335x_tscadc pruss videodev ti_k3_dsp_remoteproc mc virtio_rpmsg_bus rpmsg_ns sa2ul pci_j721e_host cdns_dphy_rx ti_k3_common cdns3_ti pci_j721e spi_omap2_mcspi pcie_cadence_host optee_rng pcie_cadence rng_core rti_wdt cryptodev fuse drm drm_panel_orientation_quirks ipv6
    
    free reports:
                   total        used        free      shared  buff/cache   available
    Mem:         2221908      160124     1766344        9348      295440     1912016
    Swap:              0           0           0
    
    cpuinfo:
    Architecture:            aarch64
      CPU op-mode(s):        32-bit, 64-bit
      Byte Order:            Little Endian
    CPU(s):                  2
      On-line CPU(s) list:   0,1
    Vendor ID:               ARM
      Model name:            Cortex-A72
        Model:               0
        Thread(s) per core:  1
        Core(s) per cluster: 2
        Socket(s):           -
        Cluster(s):          1
        Stepping:            r1p0
        BogoMIPS:            400.00
        Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
    Caches (sum of all):
      L1d:                   64 KiB (2 instances)
      L1i:                   96 KiB (2 instances)
      L2:                    1 MiB (1 instance)
    Vulnerabilities:
      Gather data sampling:  Not affected
      Itlb multihit:         Not affected
      L1tf:                  Not affected
      Mds:                   Not affected
      Meltdown:              Not affected
      Mmio stale data:       Not affected
      Retbleed:              Not affected
      Spec rstack overflow:  Not affected
      Spec store bypass:     Not affected
      Spectre v1:            Mitigation; __user pointer sanitization
      Spectre v2:            Mitigation; CSV2, BHB
      Srbds:                 Not affected
      Tsx async abort:       Not affected
    
    available filesystems:
    autofs bdev bpf cgroup cgroup2 configfs cpuset debugfs devpts devtmpfs ext2 ext3 ext4 fuse fuseblk fusectl hugetlbfs mqueue nfs nfs4 overlay pipefs proc pstore ramfs rpc_pipefs securityfs sockfs squashfs sysfs tmpfs ubifs vfat
    
    mounted filesystems (/proc/mounts):
    /dev/root / ext4 rw,relatime 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=847816k,nr_inodes=211954,mode=755 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,nodev,size=444384k,nr_inodes=819200,mode=755 0 0
    tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755 0 0
    cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
    cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
    pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
    bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
    cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
    cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
    cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
    cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
    cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
    cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
    cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
    cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
    cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
    cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
    hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
    mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
    debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev,size=1110956k,nr_inodes=1048576 0 0
    fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
    configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
    ramfs /run/credentials/systemd-sysusers.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
    tmpfs /media/ram tmpfs rw,relatime,size=16384k 0 0
    tmpfs /var/volatile tmpfs rw,relatime,size=51200k 0 0
    /dev/mmcblk1p1 /run/media/BOOT-mmcblk1p1 vfat rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
    
    mounte[ 5436.038470] LTP: starting WDT_M_FUNC_WRITE (source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl -write)
    d filesystems (df):
    Filesystem     Type      Size  Used Avail Use% Mounted on
    /dev/root      ext4       59G  6.0G   50G  11% /
    devtmpfs       devtmpfs  828M  4.0K  828M   1% /dev
    tmpfs          tmpfs     1.1G     0  1.1G   0% /dev/shm
    tmpfs          tmpfs     434M  9.2M  425M   3% /run
    tmpfs          tmpfs     4.0M     0  4.0M   0% /sys/fs/cgroup
    tmpfs          tmpfs     1.1G   12K  1.1G   1% /tmp
    tmpfs          tmpfs      16M     0   16M   0% /media/ram
    tmpfs          tmpfs      50M     0   50M   0% /var/volatile
    /dev/mmcblk1p1 vfat      127M  5.9M  121M   5% /run/media/BOOT-mmcblk1p1
    
    AppArmor disabled
    
    SELinux mode: unknown
    no big block device was specified on commandline.
    Tests which require a big block device are disabled.
    You can specify it with option -z
    COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 1197     -n 1197 -p -f /tmp/ltp-gjx9BU6Ecj/alltests -l /tmp/tmp.8PiP1JPWwv  -C /opt/ltp/output/LTP_RUN_ON-tmp.8PiP1JPWwv.failed -T /opt/ltp/output/LTP_RUN_ON-tmp.8PiP1JPWwv.tconf
    INFO: Restricted to WDT_M_FUNC_WRI
    LOG File: /tmp/tmp.8PiP1JPWwv
    FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.8PiP1JPWwv.failed
    TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.8PiP1JPWwv.tconf
    Running tests.......
    <<<test_start>>>
    tag=WDT_M_FUNC_WRITE stime=1651173175
    cmdline="source 'common.sh'; do_cmd install_modules.sh 'wdt' ; DEV_NODE=`get_devnode.sh "wdt"` || die "error getting devnode for wdt"; do_cmd wdt_tests -device $DEV_NODE -ioctl -write"
    contacts=""
    analysis=exit
    <<<test_output>>>
    |TRACE LOG|Inside do_cmd:CMD=install_modules.sh wdt|
    |TRACE LOG|Inside do_cmd:CMD=wdt_tests -device /dev/watchdog -ioctl -write|
    
    
    |TEST START|wdt_tests|
    |TRACE LOG|******** WDT Testcase  parameters  ******** |
    |TRACE LOG|Device         : /dev/watchdog|
    |TRACE LOG|Loop Count     : 1|
    |TRACE LOG|I/O Operation  : Write|
    |TRACE LOG|Operation      : Ioctl|
    |TRACE LOG|Ioctl Name     : WDIOC_KEEPALIVE|
    |TRACE LOG|Ioctl Arg      : 0 |
    |TRACE LOG| ************* End of Test params ************* |
    |TRACE LOG|Keeping WDT alive, sleep counter -0(sec)|
    |TEST RESULT|PASS|wdt_tests|
    |TEST END|wdt_tests|
    |TRACE LOG|EVM will be rebooted after 60 seconds|
    |TRACE LOG|59 seconds remaining before reboot|
    |TRACE LOG|58 seconds remaining before reboot|
    |TRACE LOG|57 seconds remaining before reboot|
    |TRACE LOG|56 seconds remaining before reboot|
    |TRACE LOG|55 seconds remaining before reboot|
    |TRACE LOG|54 seconds remaining before reboot|
    |TRACE LOG|53 seconds remaining before reboot|
    |TRACE LOG|52 seconds remaining before reboot|
    |TRACE LOG|51 seconds remaining before reboot|
    |TRACE LOG|50 seconds remaining before reboot|
    |TRACE LOG|49 seconds remaining before reboot|
    |TRACE LOG|48 seconds remaining before reboot|
    |TRACE LOG|47 seconds remaining before reboot|
    |TRACE LOG|46 seconds remaining before reboot|
    |TRACE LOG|45 seconds remaining before reboot|
    |TRACE LOG|44 seconds remaining before reboot|
    |TRACE LOG|43 seconds remaining before reboot|
    |TRACE LOG|42 seconds remaining before reboot|
    |TRACE LOG|41 seconds remaining before reboot|
    |TRACE LOG|40 seconds remaining before reboot|
    |TRACE LOG|39 seconds remaining before reboot|
    |TRACE LOG|38 seconds remaining before reboot|
    |TRACE LOG|37 seconds remaining before reboot|
    |TRACE LOG|36 seconds remaining before reboot|
    |TRACE LOG|35 seconds remaining before reboot|
    |TRACE LOG|34 seconds remaining before reboot|
    |TRACE LOG|33 seconds remaining before reboot|
    |TRACE LOG|32 seconds remaining before reboot|
    |TRACE LOG|31 seconds remaining before reboot|
    |TRACE LOG|30 seconds remaining before reboot|
    |TRACE LOG|29 seconds remaining before reboot|
    |TRACE LOG|28 seconds remaining before reboot|
    |TRACE LOG|27 seconds remaining before reboot|
    |TRACE LOG|26 seconds remaining before reboot|
    |TRACE LOG|25 seconds remaining before reboot|
    |TRACE LOG|24 seconds remaining before reboot|
    |TRACE LOG|23 seconds remaining before reboot|
    |TRACE LOG|22 seconds remaining before reboot|
    |TRACE LOG|21 seconds remaining before reboot|
    |TRACE LOG|20 seconds remaining before reboot|
    |TRACE LOG|19 seconds remaining before reboot|
    |TRACE LOG|18 seconds remaining before reboot|
    |TRACE LOG|17 seconds remaining before reboot|
    |TRACE LOG|16 seconds remaining before reboot|
    |TRACE LOG|15 seconds remaining before reboot|
    |TRACE LOG|14 seconds remaining before reboot|
    |TRACE LOG|13 seconds remaining before reboot|
    |TRACE LOG|12 seconds remaining before reboot|
    |TRACE LOG|11 seconds remaining before reboot|
    |TRACE LOG|10 seconds remaining before reboot|
    |TRACE LOG|9 seconds remaining before reboot|
    |TRACE LOG|8 seconds remaining before reboot|
    |TRACE LOG|7 seconds remaining before reboot|
    |TRACE LOG|6 seconds remaining before reboot|
    |TRACE LOG|5 seconds remaining before reboot|
    |TRACE LOG|4 seconds remaining before reboot|
    |TRACE LOG|3 seconds remaining before reboot|
    |TRACE LOG|2 seconds remaining before reboot|
    |TRACE LOG|1 seconds remaining before reboot|
    |TRACE LOG|0 seconds remaining before reboot|
    |TRACE LOG|-1 seconds remaining before reboot|
    |TRACE LOG|-2 seconds remaining before reboot|
    |TRACE LOG|-3 seconds remaining before reboot|
    |TRACE LOG|-4 seconds remaining before reboot|
    |TRACE LOG|-5 seconds remaining before reboot|
    |TRACE LOG|-6 seconds remaining before reboot|
    |TRACE LOG|-7 seconds remaining before reboot|
    |TRACE LOG|-8 seconds remaining before reboot|
    |TRACE LOG|-9 seconds remaining before reboot|
    |TRACE LOG|-10 seconds remaining before reboot|
    |TRACE LOG|-11 seconds remaining before reboot|
    |TRACE LOG|-12 seconds remaining before reboot|
    |TRACE LOG|-13 seconds remaining before reboot|
    |TRACE LOG|-14 seconds remaining before reboot|
    |TRACE LOG|-15 seconds remaining before reboot|
    |TRACE LOG|-16 seconds remaining before reboot|
    |TRACE LOG|-17 seconds remaining before reboot|
    |TRACE LOG|-18 seconds remaining before reboot|
    |TRACE LOG|-19 seconds remaining before reboot|
    |TRACE LOG|-20 seconds remaining before reboot|
    |TRACE LOG|-21 seconds remaining before reboot|
    |TRACE LOG|-22 seconds remaining before reboot|
    |TRACE LOG|-23 seconds remaining before reboot|
    |TRACE LOG|-24 seconds remaining before reboot|
    |TRACE LOG|-25 seconds remaining before reboot|
    |TRACE LOG|-26 seconds remaining before reboot|
    |TRACE LOG|-27 seconds remaining before reboot|
    |TRACE LOG|-28 seconds remaining before reboot|
    |TRACE LOG|-29 seconds remaining before reboot|
    |TRACE LOG|-30 seconds remaining before reboot|
    |TRACE LOG|-31 seconds remaining before reboot|
    |TRACE LOG|-32 seconds remaining before reboot|
    |TRACE LOG|-33 seconds remaining before reboot|
    |TRACE LOG|-34 seconds remaining before reboot|
    |TRACE LOG|-35 seconds remaining before reboot|
    |TRACE LOG|-36 seconds remaining before reboot|
    |TRACE LOG|-37 seconds remaining before reboot|
    |TRACE LOG|-38 seconds remaining before reboot|
    |TRACE LOG|-39 seconds remaining before reboot|
    |TRACE LOG|-40 seconds remaining before reboot|
    |TRACE LOG|-41 seconds remaining before reboot|
    |TRACE LOG|-42 seconds remaining before reboot|
    |TRACE LOG|-43 seconds remaining before reboot|
    |TRACE LOG|-44 seconds remaining before reboot|
    |TRACE LOG|-45 seconds remaining before reboot|
    |TRACE LOG|-46 seconds remaining before reboot|
    |TRACE LOG|-47 seconds remaining before reboot|
    |TRACE LOG|-48 seconds remaining before reboot|
    |TRACE LOG|-49 seconds remaining before reboot|
    |TRACE LOG|-50 seconds remaining before reboot|
    |TRACE LOG|-51 seconds remaining before reboot|
    |TRACE LOG|-52 seconds remaining before reboot|
    |TRACE LOG|-53 seconds remaining before reboot|
    |TRACE LOG|-54 seconds remaining before reboot|
    |TRACE LOG|-55 seconds remaining before reboot|
    |TRACE LOG|-56 seconds remaining before reboot|
    |TRACE LOG|-57 seconds remaining before reboot|
    |TRACE LOG|-58 seconds remaining before reboot|
    |TRACE LOG|-59 seconds remaining before reboot|
    |TRACE LOG|-60 seconds remaining before reboot|
    |TRACE LOG|-61 seconds remaining before reboot|
    |TRACE LOG|-62 seconds remaining before reboot|
    |TRACE LOG|-63 seconds remaining before reboot|
    |TRACE LOG|-64 seconds remaining before reboot|
    |TRACE LOG|-65 seconds remaining before reboot|
    |TRACE LOG|-66 seconds remaining before reboot|
    |TRACE LOG|-67 seconds remaining before reboot|
    |TRACE LOG|-68 seconds remaining before reboot|
    |TRACE LOG|-69 seconds remaining before reboot|
    |TRACE LOG|-70 seconds remaining before reboot|
    |TRACE LOG|-71 seconds remaining before reboot|
    |TRACE LOG|-72 seconds remaining before reboot|
    |TRACE LOG|-73 seconds remaining before reboot|
    |TRACE LOG|-74 seconds remaining before reboot|
    |TRACE LOG|-75 seconds remaining before reboot|
    |TRACE LOG|-76 seconds remaining before reboot|
    |TRACE LOG|-77 seconds remaining before reboot|
    |TRACE LOG|-78 seconds remaining before reboot|
    |TRACE LOG|-79 seconds remaining before reboot|
    |TRACE LOG|-80 seconds remaining before reboot|
    |TRACE LOG|-81 seconds remaining before reboot|
    |TRACE LOG|-82 seconds remaining before reboot|
    |TRACE LOG|-83 seconds remaining before reboot|
    |TRACE LOG|-84 seconds remaining before reboot|
    |TRACE LOG|-85 seconds remaining before reboot|
    |TRACE LOG|-86 seconds remaining before reboot|
    |TRACE LOG|-87 seconds remaining before reboot|
    |TRACE LOG|-88 seconds remaining before reboot|
    |TRACE LOG|-89 seconds remaining before reboot|
    |TRACE LOG|-90 seconds remaining before reboot|
    |TRACE LOG|-91 seconds remaining before reboot|
    |TRACE LOG|-92 seconds remaining before reboot|
    |TRACE LOG|-93 seconds remaining before reboot|
    |TRACE LOG|-94 seconds remaining before reboot|
    |TRACE LOG|-95 seconds remaining before reboot|
    |TRACE LOG|-96 seconds remaining before reboot|
    |TRACE LOG|-97 seconds remaining before reboot|
    |TRACE LOG|-98 seconds remaining before reboot|
    |TRACE LOG|-99 seconds remaining before reboot|
    |TRACE LOG|-100 seconds remaining before reboot|
    |TRACE LOG|-101 seconds remaining before reboot|
    |TRACE LOG|-102 seconds remaining before reboot|
    |TRACE LOG|-103 seconds remaining before reboot|
    |TRACE LOG|-104 seconds remaining before reboot|
    |TRACE LOG|-105 seconds remaining before reboot|
    |TRACE LOG|-106 seconds remaining before reboot|
    |TRACE LOG|-107 seconds remaining before reboot|
    |TRACE LOG|-108 seconds remaining before reboot|
    |TRACE LOG|-109 seconds remaining before reboot|
    |TRACE LOG|-110 seconds remaining before reboot|
    |TRACE LOG|-111 seconds remaining before reboot|
    |TRACE LOG|-112 seconds remaining before reboot|
    |TRACE LOG|-113 seconds remaining before reboot|
    |TRACE LOG|-114 seconds remaining before reboot|
    |TRACE LOG|-115 seconds remaining before reboot|
    |TRACE LOG|-116 seconds remaining before reboot|
    |TRACE LOG|-117 seconds remaining before reboot|
    |TRACE LOG|-118 seconds remaining before reboot|
    |TRACE LOG|-119 seconds remaining before reboot|
    |TRACE LOG|-120 seconds remaining before reboot|
    |TRACE LOG|-121 seconds remaining before reboot|
    |TRACE LOG|-122 seconds remaining before reboot|
    |TRACE LOG|-123 seconds remaining before reboot|
    |TRACE LOG|-124 seconds remaining before reboot|
    |TRACE LOG|-125 seconds remaining before reboot|
    |TRACE LOG|-126 seconds remaining before reboot|
    |TRACE LOG|-127 seconds remaining before reboot|
    |TRACE LOG|-128 seconds remaining before reboot|
    |TRACE LOG|-129 seconds remaining before reboot|
    |TRACE LOG|-130 seconds remaining before reboot|
    |TRACE LOG|-131 seconds remaining before reboot|
    |TRACE LOG|-132 seconds remaining before reboot|
    |TRACE LOG|-133 seconds remaining before reboot|
    |TRACE LOG|-134 seconds remaining before reboot|
    |TRACE LOG|-135 seconds remaining before reboot|
    |TRACE LOG|-136 seconds remaining before reboot|
    |TRACE LOG|-137 seconds remaining before reboot|
    |TRACE LOG|-138 seconds remaining before reboot|
    |TRACE LOG|-139 seconds remaining before reboot|
    |TRACE LOG|-140 seconds remaining before reboot|
    |TRACE LOG|-141 seconds remaining before reboot|
    |TRACE LOG|-142 seconds remaining before reboot|
    |TRACE LOG|-143 seconds remaining before reboot|
    |TRACE LOG|-144 seconds remaining before reboot|
    |TRACE LOG|-145 seconds remaining before reboot|
    |TRACE LOG|-146 seconds remaining before reboot|
    |TRACE LOG|-147 seconds remaining before reboot|
    |TRACE LOG|-148 seconds remaining before reboot|
    |TRACE LOG|-149 seconds remaining before reboot|
    |TRACE LOG|-150 seconds remaining before reboot|
    |TRACE LOG|-151 seconds remaining before reboot|
    |TRACE LOG|-152 seconds remaining before reboot|
    |TRACE LOG|-153 seconds remaining before reboot|
    |TRACE LOG|-154 seconds remaining before reboot|
    |TRACE LOG|-155 seconds remaining before reboot|
    |TRACE LOG|-156 seconds remaining before reboot|
    |TRACE LOG|-157 seconds remaining before reboot|
    |TRACE LOG|-158 seconds remaining before reboot|
    |TRACE LOG|-159 seconds remaining before reboot|
    |TRACE LOG|-160 seconds remaining before reboot|
    |TRACE LOG|-161 seconds remaining before reboot|
    |TRACE LOG|-162 seconds remaining before reboot|
    |TRACE LOG|-163 seconds remaining before reboot|
    |TRACE LOG|-164 seconds remaining before reboot|
    |TRACE LOG|-165 seconds remaining before reboot|
    |TRACE LOG|-166 seconds remaining before reboot|
    |TRACE LOG|-167 seconds remaining before reboot|
    |TRACE LOG|-168 seconds remaining before reboot|
    |TRACE LOG|-169 seconds remaining before reboot|
    |TRACE LOG|-170 seconds remaining before reboot|
    |TRACE LOG|-171 seconds remaining before reboot|
    |TRACE LOG|-172 seconds remaining before reboot|
    |TRACE LOG|-173 seconds remaining before reboot|
    |TRACE LOG|-174 seconds remaining before reboot|
    |TRACE LOG|-175 seconds remaining before reboot|
    |TRACE LOG|-176 seconds remaining before reboot|
    |TRACE LOG|-177 seconds remaining before reboot|
    |TRACE LOG|-178 seconds remaining before reboot|
    |TRACE LOG|-179 seconds remaining before reboot|
    |TRACE LOG|-180 seconds remaining before reboot|
    |TRACE LOG|-181 seconds remaining before reboot|
    |TRACE LOG|-182 seconds remaining before reboot|
    |TRACE LOG|-183 seconds remaining before reboot|
    |TRACE LOG|-184 seconds remaining before reboot|
    |TRACE LOG|-185 seconds remaining before reboot|
    |TRACE LOG|-186 seconds remaining before reboot|
    |TRACE LOG|-187 seconds remaining before reboot|
    |TRACE LOG|-188 seconds remaining before reboot|
    |TRACE LOG|-189 seconds remaining before reboot|
    |TRACE LOG|-190 seconds remaining before reboot|
    |TRACE LOG|-191 seconds remaining before reboot|
    |TRACE LOG|-192 seconds remaining before reboot|
    |TRACE LOG|-193 seconds remaining before reboot|
    |TRACE LOG|-194 seconds remaining before reboot|
    |TRACE LOG|-195 seconds remaining before reboot|
    |TRACE LOG|-196 seconds remaining before reboot|
    |TRACE LOG|-197 seconds remaining before reboot|
    |TRACE LOG|-198 seconds remaining before reboot|
    |TRACE LOG|-199 seconds remaining before reboot|
    |TRACE LOG|-200 seconds remaining before reboot|
    |TRACE LOG|-201 seconds remaining before reboot|
    |TRACE LOG|-202 seconds remaining before reboot|
    |TRACE LOG|-203 seconds remaining before reboot|
    |TRACE LOG|-204 seconds remaining before reboot|
    |TRACE LOG|-205 seconds remaining before reboot|
    |TRACE LOG|-206 seconds remaining before reboot|
    |TRACE LOG|-207 seconds remaining before reboot|
    |TRACE LOG|-208 seconds remaining before reboot|
    |TRACE LOG|-209 seconds remaining before reboot|
    |TRACE LOG|-210 seconds remaining before reboot|
    |TRACE LOG|-211 seconds remaining before reboot|
    |TRACE LOG|-212 seconds remaining before reboot|
    |TRACE LOG|-213 seconds remaining before reboot|
    |TRACE LOG|-214 seconds remaining before reboot|
    |TRACE LOG|-215 seconds remaining before reboot|
    |TRACE LOG|-216 seconds remaining before reboot|
    |TRACE LOG|-217 seconds remaining before reboot|
    |TRACE LOG|-218 seconds remaining before reboot|
    |TRACE LOG|-219 seconds remaining before reboot|
    |TRACE LOG|-220 seconds remaining before reboot|
    |TRACE LOG|-221 seconds remaining before reboot|
    |TRACE LOG|-222 seconds remaining before reboot|
    |TRACE LOG|-223 seconds remaining before reboot|
    |TRACE LOG|-224 seconds remaining before reboot|
    |TRACE LOG|-225 seconds remaining before reboot|
    |TRACE LOG|-226 seconds remaining before reboot|
    |TRACE LOG|-227 seconds remaining before reboot|
    |TRACE LOG|-228 seconds remaining before reboot|
    |TRACE LOG|-229 seconds remaining before reboot|
    |TRACE LOG|-230 seconds remaining before reboot|
    |TRACE LOG|-231 seconds remaining before reboot|
    |TRACE LOG|-232 seconds remaining before reboot|
    |TRACE LOG|-233 seconds remaining before reboot|
    |TRACE LOG|-234 seconds remaining before reboot|
    |TRACE LOG|-235 seconds remaining before reboot|
    |TRACE LOG|-236 seconds remaining before reboot|
    |TRACE LOG|-237 seconds remaining before reboot|
    |TRACE LOG|-238 seconds remaining before reboot|
    |TRACE LOG|-239 seconds remaining before reboot|
    |TRACE LOG|-240 seconds remaining before reboot|
    |TRACE LOG|-241 seconds remaining before reboot|
    |TRACE LOG|-242 seconds remaining before reboot|
    |TRACE LOG|-243 seconds remaining before reboot|
    |TRACE LOG|-244 seconds remaining before reboot|
    |TRACE LOG|-245 seconds remaining before reboot|
    |TRACE LOG|-246 seconds remaining before reboot|
    |TRACE LOG|-247 seconds remaining before reboot|
    |TRACE LOG|-248 seconds remaining before reboot|
    |TRACE LOG|-249 seconds remaining before reboot|
    |TRACE LOG|-250 seconds remaining before reboot|
    |TRACE LOG|-251 seconds remaining before reboot|
    |TRACE LOG|-252 seconds remaining before reboot|
    |TRACE LOG|-253 seconds remaining before reboot|
    |TRACE LOG|-254 seconds remaining before reboot|
    |TRACE LOG|-255 seconds remaining before reboot|
    |TRACE LOG|-256 seconds remaining before reboot|
    |TRACE LOG|-257 seconds remaining before reboot|
    |TRACE LOG|-258 seconds remaining before reboot|
    |TRACE LOG|-259 seconds remaining before reboot|
    |TRACE LOG|-260 seconds remaining before reboot|
    |TRACE LOG|-261 seconds remaining before reboot|
    |TRACE LOG|-262 seconds remaining before reboot|
    |TRACE LOG|-263 seconds remaining before reboot|
    |TRACE LOG|-264 seconds remaining before reboot|
    |TRACE LOG|-265 seconds remaining before reboot|
    |TRACE LOG|-266 seconds remaining before reboot|
    |TRACE LOG|-267 seconds remaining before reboot|
    |TRACE LOG|-268 seconds remaining before reboot|
    |TRACE LOG|-269 seconds remaining before reboot|
    |TRACE LOG|-270 seconds remaining before reboot|
    |TRACE LOG|-271 seconds remaining before reboot|
    |TRACE LOG|-272 seconds remaining before reboot|
    |TRACE LOG|-273 seconds remaining before reboot|
    |TRACE LOG|-274 seconds remaining before reboot|
    |TRACE LOG|-275 seconds remaining before reboot|
    |TRACE LOG|-276 seconds remaining before reboot|
    |TRACE LOG|-277 seconds remaining before reboot|
    |TRACE LOG|-278 seconds remaining before reboot|
    |TRACE LOG|-279 seconds remaining before reboot|
    |TRACE LOG|-280 seconds remaining before reboot|
    |TRACE LOG|-281 seconds remaining before reboot|
    |TRACE LOG|-282 seconds remaining before reboot|
    |TRACE LOG|-283 seconds remaining before reboot|
    |TRACE LOG|-284 seconds remaining before reboot|
    |TRACE LOG|-285 seconds remaining before reboot|
    |TRACE LOG|-286 seconds remaining before reboot|
    |TRACE LOG|-287 seconds remaining before reboot|
    |TRACE LOG|-288 seconds remaining before reboot|
    |TRACE LOG|-289 seconds remaining before reboot|
    |TRACE LOG|-290 seconds remaining before reboot|
    |TRACE LOG|-291 seconds remaining before reboot|
    |TRACE LOG|-292 seconds remaining before reboot|
    |TRACE LOG|-293 seconds remaining before reboot|
    |TRACE LOG|-294 seconds remaining before reboot|
    |TRACE LOG|-295 seconds remaining before reboot|
    |TRACE LOG|-296 seconds remaining before reboot|
    |TRACE LOG|-297 seconds remaining before reboot|
    |TRACE LOG|-298 seconds remaining before reboot|
    |TRACE LOG|-299 seconds remaining before reboot|
    |TRACE LOG|-300 seconds remaining before reboot|
    |TRACE LOG|-301 seconds remaining before reboot|
    |TRACE LOG|-302 seconds remaining before reboot|
    |TRACE LOG|-303 seconds remaining before reboot|
    |TRACE LOG|-304 seconds remaining before reboot|
    |TRACE LOG|-305 seconds remaining before reboot|
    |TRACE LOG|-306 seconds remaining before reboot|
    |TRACE LOG|-307 seconds remaining before reboot|
    |TRACE LOG|-308 seconds remaining before reboot|
    |TRACE LOG|-309 seconds remaining before reboot|
    |TRACE LOG|-310 seconds remaining before reboot|
    |TRACE LOG|-311 seconds remaining before reboot|
    |TRACE LOG|-312 seconds remaining before reboot|
    |TRACE LOG|-313 seconds remaining before reboot|
    |TRACE LOG|-314 seconds remaining before reboot|
    |TRACE LOG|-315 seconds remaining before reboot|
    |TRACE LOG|-316 seconds remaining before reboot|
    |TRACE LOG|-317 seconds remaining before reboot|
    |TRACE LOG|-318 seconds remaining before reboot|
    |TRACE LOG|-319 seconds remaining before reboot|
    |TRACE LOG|-320 seconds remaining before reboot|
    |TRACE LOG|-321 seconds remaining before reboot|
    |TRACE LOG|-322 seconds remaining before reboot|
    |TRACE LOG|-323 seconds remaining before reboot|
    |TRACE LOG|-324 seconds remaining before reboot|
    |TRACE LOG|-325 seconds remaining before reboot|
    |TRACE LOG|-326 seconds remaining before reboot|
    |TRACE LOG|-327 seconds remaining before reboot|
    |TRACE LOG|-328 seconds remaining before reboot|
    |TRACE LOG|-329 seconds remaining before reboot|
    |TRACE LOG|-330 seconds remaining before reboot|
    |TRACE LOG|-331 seconds remaining before reboot|
    |TRACE LOG|-332 seconds remaining before reboot|
    |TRACE LOG|-333 seconds remaining before reboot|
    |TRACE LOG|-334 seconds remaining before reboot|
    |TRACE LOG|-335 seconds remaining before reboot|
    |TRACE LOG|-336 seconds remaining before reboot|
    |TRACE LOG|-337 seconds remaining before reboot|
    |TRACE LOG|-338 seconds remaining before reboot|
    |TRACE LOG|-339 seconds remaining before reboot|
    |TRACE LOG|-340 seconds remaining before reboot|
    |TRACE LOG|-341 seconds remaining before reboot|
    |TRACE LOG|-342 seconds remaining before reboot|
    |TRACE LOG|-343 seconds remaining before reboot|
    |TRACE LOG|-344 seconds remaining before reboot|
    |TRACE LOG|-345 seconds remaining before reboot|
    |TRACE LOG|-346 seconds remaining before reboot|
    |TRACE LOG|-347 seconds remaining before reboot|
    |TRACE LOG|-348 seconds remaining before reboot|
    |TRACE LOG|-349 seconds remaining before reboot|
    |TRACE LOG|-350 seconds remaining before reboot|
    |TRACE LOG|-351 seconds remaining before reboot|
    |TRACE LOG|-352 seconds remaining before reboot|
    |TRACE LOG|-353 seconds remaining before reboot|
    |TRACE LOG|-354 seconds remaining before reboot|
    |TRACE LOG|-355 seconds remaining before reboot|
    |TRACE LOG|-356 seconds remaining before reboot|
    |TRACE LOG|-357 seconds remaining before reboot|
    |TRACE LOG|-358 seconds remaining before reboot|
    |TRACE LOG|-359 seconds remaining before reboot|
    |TRACE LOG|-360 seconds remaining before reboot|
    |TRACE LOG|-361 seconds remaining before reboot|
    |TRACE LOG|-362 seconds remaining before reboot|
    |TRACE LOG|-363 seconds remaining before reboot|
    |TRACE LOG|-364 seconds remaining before reboot|
    |TRACE LOG|-365 seconds remaining before reboot|
    |TRACE LOG|-366 seconds remaining before reboot|
    |TRACE LOG|-367 seconds remaining before reboot|
    |TRACE LOG|-368 seconds remaining before reboot|
    |TRACE LOG|-369 seconds remaining before reboot|
    |TRACE LOG|-370 seconds remaining before reboot|
    |TRACE LOG|-371 seconds remaining before reboot|
    |TRACE LOG|-372 seconds remaining before reboot|
    |TRACE LOG|-373 seconds remaining before reboot|
    |TRACE LOG|-374 seconds remaining before reboot|
    |TRACE LOG|-375 seconds remaining before reboot|
    |TRACE LOG|-376 seconds remaining before reboot|
    |TRACE LOG|-377 seconds remaining before reboot|
    |TRACE LOG|-378 seconds remaining before reboot|
    |TRACE LOG|-379 seconds remaining before reboot|
    |TRACE LOG|-380 seconds remaining before reboot|
    |TRACE LOG|-381 seconds remaining before reboot|
    |TRACE LOG|-382 seconds remaining before reboot|
    |TRACE LOG|-383 seconds remaining before reboot|
    |TRACE LOG|-384 seconds remaining before reboot|
    |TRACE LOG|-385 seconds remaining before reboot|
    |TRACE LOG|-386 seconds remaining before reboot|
    |TRACE LOG|-387 seconds remaining before reboot|
    |TRACE LOG|-388 seconds remaining before reboot|
    |TRACE LOG|-389 seconds remaining before reboot|
    |TRACE LOG|-390 seconds remaining before reboot|
    |TRACE LOG|-391 seconds remaining before reboot|
    |TRACE LOG|-392 seconds remaining before reboot|
    |TRACE LOG|-393 seconds remaining before reboot|
    |TRACE LOG|-394 seconds remaining before reboot|
    |TRACE LOG|-395 seconds remaining before reboot|
    |TRACE LOG|-396 seconds remaining before reboot|
    |TRACE LOG|-397 seconds remaining before reboot|
    |TRACE LOG|-398 seconds remaining before reboot|
    |TRACE LOG|-399 seconds remaining before reboot|
    |TRACE LOG|-400 seconds remaining before reboot|
    |TRACE LOG|-401 seconds remaining before reboot|
    |TRACE LOG|-402 seconds remaining before reboot|
    |TRACE LOG|-403 seconds remaining before reboot|
    |TRACE LOG|-404 seconds remaining before reboot|
    |TRACE LOG|-405 seconds remaining before reboot|
    |TRACE LOG|-406 seconds remaining before reboot|
    |TRACE LOG|-407 seconds remaining before reboot|
    |TRACE LOG|-408 seconds remaining before reboot|
    |TRACE LOG|-409 seconds remaining before reboot|
    |TRACE LOG|-410 seconds remaining before reboot|
    |TRACE LOG|-411 seconds remaining before reboot|
    |TRACE LOG|-412 seconds remaining before reboot|
    |TRACE LOG|-413 seconds remaining before reboot|
    |TRACE LOG|-414 seconds remaining before reboot|
    |TRACE LOG|-415 seconds remaining before reboot|
    |TRACE LOG|-416 seconds remaining before reboot|
    |TRACE LOG|-417 seconds remaining before reboot|
    |TRACE LOG|-418 seconds remaining before reboot|
    |TRACE LOG|-419 seconds remaining before reboot|
    |TRACE LOG|-420 seconds remaining before reboot|
    |TRACE LOG|-421 seconds remaining before reboot|
    |TRACE LOG|-422 seconds remaining before reboot|
    |TRACE LOG|-423 seconds remaining before reboot|
    |TRACE LOG|-424 seconds remaining before reboot|
    |TRACE LOG|-425 seconds remaining before reboot|
    |TRACE LOG|-426 seconds remaining before reboot|
    |TRACE LOG|-427 seconds remaining before reboot|
    |TRACE LOG|-428 seconds remaining before reboot|
    |TRACE LOG|-429 seconds remaining before reboot|
    |TRACE LOG|-430 seconds remaining before reboot|
    |TRACE LOG|-431 seconds remaining before reboot|
    |TRACE LOG|-432 seconds remaining before reboot|
    |TRACE LOG|-433 seconds remaining before reboot|
    |TRACE LOG|-434 seconds remaining before reboot|
    |TRACE LOG|-435 seconds remaining before reboot|
    |TRACE LOG|-436 seconds remaining before reboot|
    |TRACE LOG|-437 seconds remaining before reboot|
    |TRACE LOG|-438 seconds remaining before reboot|
    |TRACE LOG|-439 seconds remaining before reboot|
    |TRACE LOG|-440 seconds remaining before reboot|
    |TRACE LOG|-441 seconds remaining before reboot|
    |TRACE LOG|-442 seconds remaining before reboot|
    |TRACE LOG|-443 seconds remaining before reboot|
    |TRACE LOG|-444 seconds remaining before reboot|
    |TRACE LOG|-445 seconds remaining before reboot|
    |TRACE LOG|-446 seconds remaining before reboot|
    |TRACE LOG|-447 seconds remaining before reboot|
    |TRACE LOG|-448 seconds remaining before reboot|
    |TRACE LOG|-449 seconds remaining before reboot|
    |TRACE LOG|-450 seconds remaining before reboot|
    |TRACE LOG|-451 seconds remaining before reboot|
    |TRACE LOG|-452 seconds remaining before reboot|
    |TRACE LOG|-453 seconds remaining before reboot|
    |TRACE LOG|-454 seconds remaining before reboot|
    |TRACE LOG|-455 seconds remaining before reboot|
    |TRACE LOG|-456 seconds remaining before reboot|
    |TRACE LOG|-457 seconds remaining before reboot|
    |TRACE LOG|-458 seconds remaining before reboot|
    |TRACE LOG|-459 seconds remaining before reboot|
    |TRACE LOG|-460 seconds remaining before reboot|
    |TRACE LOG|-461 seconds remaining before reboot|
    |TRACE LOG|-462 seconds remaining before reboot|
    |TRACE LOG|-463 seconds remaining before reboot|
    |TRACE LOG|-464 seconds remaining before reboot|
    |TRACE LOG|-465 seconds remaining before reboot|
    |TRACE LOG|-466 seconds remaining before reboot|
    |TRACE LOG|-467 seconds remaining before reboot|
    |TRACE LOG|-468 seconds remaining before reboot|
    |TRACE LOG|-469 seconds remaining before reboot|
    |TRACE LOG|-470 seconds remaining before reboot|
    |TRACE LOG|-471 seconds remaining before reboot|
    |TRACE LOG|-472 seconds remaining before reboot|
    |TRACE LOG|-473 seconds remaining before reboot|
    |TRACE LOG|-474 seconds remaining before reboot|
    |TRACE LOG|-475 seconds remaining before reboot|
    |TRACE LOG|-476 seconds remaining before reboot|
    |TRACE LOG|-477 seconds remaining before reboot|
    |TRACE LOG|-478 seconds remaining before reboot|
    |TRACE LOG|-479 seconds remaining before reboot|
    |TRACE LOG|-480 seconds remaining before reboot|
    |TRACE LOG|-481 seconds remaining before reboot|
    |TRACE LOG|-482 seconds remaining before reboot|
    |TRACE LOG|-483 seconds remaining before reboot|
    |TRACE LOG|-484 seconds remaining before reboot|
    |TRACE LOG|-485 seconds remaining before reboot|
    |TRACE LOG|-486 seconds remaining before reboot|
    |TRACE LOG|-487 seconds remaining before reboot|
    |TRACE LOG|-488 seconds remaining before reboot|
    |TRACE LOG|-489 seconds remaining before reboot|
    |TRACE LOG|-490 seconds remaining before reboot|
    |TRACE LOG|-491 seconds remaining before reboot|
    |TRACE LOG|-492 seconds remaining before reboot|
    |TRACE LOG|-493 seconds remaining before reboot|
    |TRACE LOG|-494 seconds remaining before reboot|
    |TRACE LOG|-495 seconds remaining before reboot|
    |TRACE LOG|-496 seconds remaining before reboot|
    |TRACE LOG|-497 seconds remaining before reboot|
    |TRACE LOG|-498 seconds remaining before reboot|
    |TRACE LOG|-499 seconds remaining before reboot|
    |TRACE LOG|-500 seconds remaining before reboot|
    |TRACE LOG|-501 seconds remaining before reboot|
    |TRACE LOG|-502 seconds remaining before reboot|
    |TRACE LOG|-503 seconds remaining before reboot|
    |TRACE LOG|-504 seconds remaining before reboot|
    |TRACE LOG|-505 seconds remaining before reboot|
    |TRACE LOG|-506 seconds remaining before reboot|
    |TRACE LOG|-507 seconds remaining before reboot|
    |TRACE LOG|-508 seconds remaining before reboot|
    |TRACE LOG|-509 seconds remaining before reboot|
    |TRACE LOG|-510 seconds remaining before reboot|
    |TRACE LOG|-511 seconds remaining before reboot|
    |TRACE LOG|-512 seconds remaining before reboot|
    |TRACE LOG|-513 seconds remaining before reboot|
    |TRACE LOG|-514 seconds remaining before reboot|
    |TRACE LOG|-515 seconds remaining before reboot|
    |TRACE LOG|-516 seconds remaining before reboot|
    |TRACE LOG|-517 seconds remaining before reboot|
    |TRACE LOG|-518 seconds remaining before reboot|
    |TRACE LOG|-519 seconds remaining before reboot|
    |TRACE LOG|-520 seconds remaining before reboot|
    |TRACE LOG|-521 seconds remaining before reboot|
    |TRACE LOG|-522 seconds remaining before reboot|
    |TRACE LOG|-523 seconds remaining before reboot|
    |TRACE LOG|-524 seconds remaining before reboot|
    |TRACE LOG|-525 seconds remaining before reboot|
    |TRACE LOG|-526 seconds remaining before reboot|
    |TRACE LOG|-527 seconds remaining before reboot|
    |TRACE LOG|-528 seconds remaining before reboot|
    |TRACE LOG|-529 seconds remaining before reboot|
    |TRACE LOG|-530 seconds remaining before reboot|
    |TRACE LOG|-531 seconds remaining before reboot|
    |TRACE LOG|-532 seconds remaining before reboot|
    |TRACE LOG|-533 seconds remaining before reboot|
    |TRACE LOG|-534 seconds remaining before reboot|
    |TRACE LOG|-535 seconds remaining before reboot|
    |TRACE LOG|-536 seconds remaining before reboot|
    |TRACE LOG|-537 seconds remaining before reboot|
    |TRACE LOG|-538 seconds remaining before reboot|
    |TRACE LOG|-539 seconds remaining before reboot|
    |TRACE LOG|-540 seconds remaining before reboot|
    |TRACE LOG|-541 seconds remaining before reboot|
    |TRACE LOG|-542 seconds remaining before reboot|
    |TRACE LOG|-543 seconds remaining before reboot|
    |TRACE LOG|-544 seconds remaining before reboot|
    |TRACE LOG|-545 seconds remaining before reboot|
    |TRACE LOG|-546 seconds remaining before reboot|
    |TRACE LOG|-547 seconds remaining before reboot|
    |TRACE LOG|-548 seconds remaining before reboot|
    |TRACE LOG|-549 seconds remaining before reboot|
    |TRACE LOG|-550 seconds remaining before reboot|
    |TRACE LOG|-551 seconds remaining before reboot|
    |TRACE LOG|-552 seconds remaining before reboot|
    |TRACE LOG|-553 seconds remaining before reboot|
    |TRACE LOG|-554 seconds remaining before reboot|
    |TRACE LOG|-555 seconds remaining before reboot|
    |TRACE LOG|-556 seconds remaining before reboot|
    |TRACE LOG|-557 seconds remaining before reboot|
    |TRACE LOG|-558 seconds remaining before reboot|
    |TRACE LOG|-559 seconds remaining before reboot|
    |TRACE LOG|-560 seconds remaining before reboot|
    |TRACE LOG|-561 seconds remaining before reboot|
    |TRACE LOG|-562 seconds remaining before reboot|
    |TRACE LOG|-563 seconds remaining before reboot|
    |TRACE LOG|-564 seconds remaining before reboot|
    |TRACE LOG|-565 seconds remaining before reboot|
    |TRACE LOG|-566 seconds remaining before reboot|
    |TRACE LOG|-567 seconds remaining before reboot|
    |TRACE LOG|-568 seconds remaining before reboot|
    |TRACE LOG|-569 seconds remaining before reboot|
    |TRACE LOG|-570 seconds remaining before reboot|
    |TRACE LOG|-571 seconds remaining before reboot|
    |TRACE LOG|-572 seconds remaining before reboot|
    |TRACE LOG|-573 seconds remaining before reboot|
    |TRACE LOG|-574 seconds remaining before reboot|
    |TRACE LOG|-575 seconds remaining before reboot|
    |TRACE LOG|-576 seconds remaining before reboot|
    |TRACE LOG|-577 seconds remaining before reboot|
    |TRACE LOG|-578 seconds remaining before reboot|
    |TRACE LOG|-579 seconds remaining before reboot|
    |TRACE LOG|-580 seconds remaining before reboot|
    |TRACE LOG|-581 seconds remaining before reboot|
    |TRACE LOG|-582 seconds remaining before reboot|
    |TRACE LOG|-583 seconds remaining before reboot|
    |TRACE LOG|-584 seconds remaining before reboot|
    |TRACE LOG|-585 seconds remaining before reboot|
    |TRACE LOG|-586 seconds remaining before reboot|
    |TRACE LOG|-587 seconds remaining before reboot|
    |TRACE LOG|-588 seconds remaining before reboot|
    |TRACE LOG|-589 seconds remaining before reboot|
    |TRACE LOG|-590 seconds remaining before reboot|
    |TRACE LOG|-591 seconds remaining before reboot|
    |TRACE LOG|-592 seconds remaining before reboot|
    |TRACE LOG|-593 seconds remaining before reboot|
    |TRACE LOG|-594 seconds remaining before reboot|
    |TRACE LOG|-595 seconds remaining before reboot|
    |TRACE LOG|-596 seconds remaining before reboot|
    |TRACE LOG|-597 seconds remaining before reboot|
    |TRACE LOG|-598 seconds remaining before reboot|
    |TRACE LOG|-599 seconds remaining before reboot|
    |TRACE LOG|-600 seconds remaining before reboot|
    |TRACE LOG|-601 seconds remaining before reboot|
    |TRACE LOG|-602 seconds remaining before reboot|
    |TRACE LOG|-603 seconds remaining before reboot|
    |TRACE LOG|-604 seconds remaining before reboot|
    |TRACE LOG|-605 seconds remaining before reboot|
    |TRACE LOG|-606 seconds remaining before reboot|
    |TRACE LOG|-607 seconds remaining before reboot|
    |TRACE LOG|-608 seconds remaining before reboot|
    |TRACE LOG|-609 seconds remaining before reboot|
    |TRACE LOG|-610 seconds remaining before reboot|
    |TRACE LOG|-611 seconds remaining before reboot|
    |TRACE LOG|-612 seconds remaining before reboot|
    |TRACE LOG|-613 seconds remaining before reboot|
    |TRACE LOG|-614 seconds remaining before reboot|
    |TRACE LOG|-615 seconds remaining before reboot|
    |TRACE LOG|-616 seconds remaining before reboot|
    |TRACE LOG|-617 seconds remaining before reboot|
    |TRACE LOG|-618 seconds remaining before reboot|
    |TRACE LOG|-619 seconds remaining before reboot|
    |TRACE LOG|-620 seconds remaining before reboot|
    |TRACE LOG|-621 seconds remaining before reboot|
    |TRACE LOG|-622 seconds remaining before reboot|
    |TRACE LOG|-623 seconds remaining before reboot|
    |TRACE LOG|-624 seconds remaining before reboot|
    |TRACE LOG|-625 seconds remaining before reboot|
    |TRACE LOG|-626 seconds remaining before reboot|
    |TRACE LOG|-627 seconds remaining before reboot|
    |TRACE LOG|-628 seconds remaining before reboot|
    |TRACE LOG|-629 seconds remaining before reboot|
    |TRACE LOG|-630 seconds remaining before reboot|
    |TRACE LOG|-631 seconds remaining before reboot|
    |TRACE LOG|-632 seconds remaining before reboot|
    |TRACE LOG|-633 seconds remaining before reboot|
    |TRACE LOG|-634 seconds remaining before reboot|
    |TRACE LOG|-635 seconds remaining before reboot|
    |TRACE LOG|-636 seconds remaining before reboot|
    |TRACE LOG|-637 seconds remaining before reboot|
    |TRACE LOG|-638 seconds remaining before reboot|
    |TRACE LOG|-639 seconds remaining before reboot|
    |TRACE LOG|-640 seconds remaining before reboot|
    |TRACE LOG|-641 seconds remaining before reboot|
    |TRACE LOG|-642 seconds remaining before reboot|
    |TRACE LOG|-643 seconds remaining before reboot|
    |TRACE LOG|-644 seconds remaining before reboot|
    |TRACE LOG|-645 seconds remaining before reboot|
    |TRACE LOG|-646 seconds remaining before reboot|
    |TRACE LOG|-647 seconds remaining before reboot|
    |TRACE LOG|-648 seconds remaining before reboot|
    |TRACE LOG|-649 seconds remaining before reboot|
    |TRACE LOG|-650 seconds remaining before reboot|
    |TRACE LOG|-651 seconds remaining before reboot|
    |TRACE LOG|-652 seconds remaining before reboot|
    |TRACE LOG|-653 seconds remaining before reboot|
    |TRACE LOG|-654 seconds remaining before reboot|
    |TRACE LOG|-655 seconds remaining before reboot|
    |TRACE LOG|-656 seconds remaining before reboot|
    |TRACE LOG|-657 seconds remaining before reboot|
    |TRACE LOG|-658 seconds remaining before reboot|
    |TRACE LOG|-659 seconds remaining before reboot|
    |TRACE LOG|-660 seconds remaining before reboot|
    |TRACE LOG|-661 seconds remaining before reboot|
    |TRACE LOG|-662 seconds remaining before reboot|
    |TRACE LOG|-663 seconds remaining before reboot|
    |TRACE LOG|-664 seconds remaining before reboot|
    |TRACE LOG|-665 seconds remaining before reboot|
    |TRACE LOG|-666 seconds remaining before reboot|
    |TRACE LOG|-667 seconds remaining before reboot|
    |TRACE LOG|-668 seconds remaining before reboot|
    |TRACE LOG|-669 seconds remaining before reboot|
    |TRACE LOG|-670 seconds remaining before reboot|
    |TRACE LOG|-671 seconds remaining before reboot|
    |TRACE LOG|-672 seconds remaining before reboot|
    |TRACE LOG|-673 seconds remaining before reboot|
    |TRACE LOG|-674 seconds remaining before reboot|
    |TRACE LOG|-675 seconds remaining before reboot|
    |TRACE LOG|-676 seconds remaining before reboot|
    |TRACE LOG|-677 seconds remaining before reboot|
    |TRACE LOG|-678 seconds remaining before reboot|
    |TRACE LOG|-679 seconds remaining before reboot|
    |TRACE LOG|-680 seconds remaining before reboot|
    |TRACE LOG|-681 seconds remaining before reboot|
    |TRACE LOG|-682 seconds remaining before reboot|
    |TRACE LOG|-683 seconds remaining before reboot|
    |TRACE LOG|-684 seconds remaining before reboot|
    |TRACE LOG|-685 seconds remaining before reboot|
    |TRACE LOG|-686 seconds remaining before reboot|
    |TRACE LOG|-687 seconds remaining before reboot|
    |TRACE LOG|-688 seconds remaining before reboot|
    |TRACE LOG|-689 seconds remaining before reboot|
    |TRACE LOG|-690 seconds remaining before reboot|
    |TRACE LOG|-691 seconds remaining before reboot|
    |TRACE LOG|-692 seconds remaining before reboot|
    |TRACE LOG|-693 seconds remaining before reboot|
    |TRACE LOG|-694 seconds remaining before reboot|
    |TRACE LOG|-695 seconds remaining before reboot|
    |TRACE LOG|-696 seconds remaining before reboot|
    |TRACE LOG|-697 seconds remaining before reboot|
    |TRACE LOG|-698 seconds remaining before reboot|
    |TRACE LOG|-699 seconds remaining before reboot|
    |TRACE LOG|-700 seconds remaining before reboot|
    |TRACE LOG|-701 seconds remaining before reboot|
    |TRACE LOG|-702 seconds remaining before reboot|
    |TRACE LOG|-703 seconds remaining before reboot|
    |TRACE LOG|-704 seconds remaining before reboot|
    |TRACE LOG|-705 seconds remaining before reboot|
    |TRACE LOG|-706 seconds remaining before reboot|
    |TRACE LOG|-707 seconds remaining before reboot|
    |TRACE LOG|-708 seconds remaining before reboot|
    |TRACE LOG|-709 seconds remaining before reboot|
    |TRACE LOG|-710 seconds remaining before reboot|
    |TRACE LOG|-711 seconds remaining before reboot|
    |TRACE LOG|-712 seconds remaining before reboot|
    |TRACE LOG|-713 seconds remaining before reboot|
    |TRACE LOG|-714 seconds remaining before reboot|
    |TRACE LOG|-715 seconds remaining before reboot|
    |TRACE LOG|-716 seconds remaining before reboot|
    |TRACE LOG|-717 seconds remaining before reboot|
    |TRACE LOG|-718 seconds remaining before reboot|
    |TRACE LOG|-719 seconds remaining before reboot|
    |TRACE LOG|-720 seconds remaining before reboot|
    |TRACE LOG|-721 seconds remaining before reboot|
    |TRACE LOG|-722 seconds remaining before reboot|
    |TRACE LOG|-723 seconds remaining before reboot|
    |TRACE LOG|-724 seconds remaining before reboot|
    |TRACE LOG|-725 seconds remaining before reboot|
    |TRACE LOG|-726 seconds remaining before reboot|
    |TRACE LOG|-727 seconds remaining before reboot|
    |TRACE LOG|-728 seconds remaining before reboot|
    |TRACE LOG|-729 seconds remaining before reboot|
    |TRACE LOG|-730 seconds remaining before reboot|
    |TRACE LOG|-731 seconds remaining before reboot|
    |TRACE LOG|-732 seconds remaining before reboot|
    |TRACE LOG|-733 seconds remaining before reboot|
    |TRACE LOG|-734 seconds remaining before reboot|
    |TRACE LOG|-735 seconds remaining before reboot|
    |TRACE LOG|-736 seconds remaining before reboot|
    |TRACE LOG|-737 seconds remaining before reboot|
    |TRACE LOG|-738 seconds remaining before reboot|
    |TRACE LOG|-739 seconds remaining before reboot|
    |TRACE LOG|-740 seconds remaining before reboot|
    |TRACE LOG|-741 seconds remaining before reboot|
    |TRACE LOG|-742 seconds remaining before reboot|
    |TRACE LOG|-743 seconds remaining before reboot|
    |TRACE LOG|-744 seconds remaining before reboot|
    |TRACE LOG|-745 seconds remaining before reboot|
    |TRACE LOG|-746 seconds remaining before reboot|
    |TRACE LOG|-747 seconds remaining before reboot|
    |TRACE LOG|-748 seconds remaining before reboot|
    |TRACE LOG|-749 seconds remaining before reboot|
    |TRACE LOG|-750 seconds remaining before reboot|
    |TRACE LOG|-751 seconds remaining before reboot|
    |TRACE LOG|-752 seconds remaining before reboot|
    |TRACE LOG|-753 seconds remaining before reboot|
    |TRACE LOG|-754 seconds remaining before reboot|
    |TRACE LOG|-755 seconds remaining before reboot|
    |TRACE LOG|-756 seconds remaining before reboot|
    |TRACE LOG|-757 seconds remaining before reboot|
    |TRACE LOG|-758 seconds remaining before reboot|
    |TRACE LOG|-759 seconds remaining before reboot|
    |TRACE LOG|-760 seconds remaining before reboot|
    |TRACE LOG|-761 seconds remaining before reboot|
    |TRACE LOG|-762 seconds remaining before reboot|
    |TRACE LOG|-763 seconds remaining before reboot|
    |TRACE LOG|-764 seconds remaining before reboot|
    |TRACE LOG|-765 seconds remaining before reboot|
    |TRACE LOG|-766 seconds remaining before reboot|
    |TRACE LOG|-767 seconds remaining before reboot|
    |TRACE LOG|-768 seconds remaining before reboot|
    |TRACE LOG|-769 seconds remaining before reboot|
    |TRACE LOG|-770 seconds remaining before reboot|
    |TRACE LOG|-771 seconds remaining before reboot|
    |TRACE LOG|-772 seconds remaining before reboot|
    |TRACE LOG|-773 seconds remaining before reboot|
    |TRACE LOG|-774 seconds remaining before reboot|
    |TRACE LOG|-775 seconds remaining before reboot|
    |TRACE LOG|-776 seconds remaining before reboot|
    |TRACE LOG|-777 seconds remaining before reboot|
    |TRACE LOG|-778 seconds remaining before reboot|
    |TRACE LOG|-779 seconds remaining before reboot|
    |TRACE LOG|-780 seconds remaining before reboot|
    |TRACE LOG|-781 seconds remaining before reboot|
    |TRACE LOG|-782 seconds remaining before reboot|
    |TRACE LOG|-783 seconds remaining before reboot|
    |TRACE LOG|-784 seconds remaining before reboot|
    |TRACE LOG|-785 seconds remaining before reboot|
    |TRACE LOG|-786 seconds remaining before reboot|
    |TRACE LOG|-787 seconds remaining before reboot|
    |TRACE LOG|-788 seconds remaining before reboot|
    |TRACE LOG|-789 seconds remaining before reboot|
    |TRACE LOG|-790 seconds remaining before reboot|
    |TRACE LOG|-791 seconds remaining before reboot|
    |TRACE LOG|-792 seconds remaining before reboot|
    |TRACE LOG|-793 seconds remaining before reboot|
    |TRACE LOG|-794 seconds remaining before reboot|
    |TRACE LOG|-795 seconds remaining before reboot|
    |TRACE LOG|-796 seconds remaining before reboot|
    |TRACE LOG|-797 seconds remaining before reboot|
    |TRACE LOG|-798 seconds remaining before reboot|
    |TRACE LOG|-799 seconds remaining before reboot|
    |TRACE LOG|-800 seconds remaining before reboot|
    |TRACE LOG|-801 seconds remaining before reboot|
    |TRACE LOG|-802 seconds remaining before reboot|
    |TRACE LOG|-803 seconds remaining before reboot|
    |TRACE LOG|-804 seconds remaining before reboot|
    |TRACE LOG|-805 seconds remaining before reboot|
    |TRACE LOG|-806 seconds remaining before reboot|
    |TRACE LOG|-807 seconds remaining before reboot|
    |TRACE LOG|-808 seconds remaining before reboot|
    |TRACE LOG|-809 seconds remaining before reboot|
    |TRACE LOG|-810 seconds remaining before reboot|
    |TRACE LOG|-811 seconds remaining before reboot|
    |TRACE LOG|-812 seconds remaining before reboot|
    |TRACE LOG|-813 seconds remaining before reboot|
    |TRACE LOG|-814 seconds remaining before reboot|
    |TRACE LOG|-815 seconds remaining before reboot|
    |TRACE LOG|-816 seconds remaining before reboot|
    |TRACE LOG|-817 seconds remaining before reboot|
    |TRACE LOG|-818 seconds remaining before reboot|
    |TRACE LOG|-819 seconds remaining before reboot|
    |TRACE LOG|-820 seconds remaining before reboot|
    |TRACE LOG|-821 seconds remaining before reboot|
    |TRACE LOG|-822 seconds remaining before reboot|
    |TRACE LOG|-823 seconds remaining before reboot|
    |TRACE LOG|-824 seconds remaining before reboot|
    |TRACE LOG|-825 seconds remaining before reboot|
    |TRACE LOG|-826 seconds remaining before reboot|
    |TRACE LOG|-827 seconds remaining before reboot|
    |TRACE LOG|-828 seconds remaining before reboot|
    |TRACE LOG|-829 seconds remaining before reboot|
    |TRACE LOG|-830 seconds remaining before reboot|
    |TRACE LOG|-831 seconds remaining before reboot|
    |TRACE LOG|-832 seconds remaining before reboot|
    |TRACE LOG|-833 seconds remaining before reboot|
    |TRACE LOG|-834 seconds remaining before reboot|
    |TRACE LOG|-835 seconds remaining before reboot|
    |TRACE LOG|-836 seconds remaining before reboot|
    |TRACE LOG|-837 seconds remaining before reboot|
    |TRACE LOG|-838 seconds remaining before reboot|
    |TRACE LOG|-839 seconds remaining before reboot|
    |TRACE LOG|-840 seconds remaining before reboot|
    |TRACE LOG|-841 seconds remaining before reboot|
    |TRACE LOG|-842 seconds remaining before reboot|
    |TRACE LOG|-843 seconds remaining before reboot|
    |TRACE LOG|-844 seconds remaining before reboot|
    |TRACE LOG|-845 seconds remaining before reboot|
    |TRACE LOG|-846 seconds remaining before reboot|
    |TRACE LOG|-847 seconds remaining before reboot|
    |TRACE LOG|-848 seconds remaining before reboot|
    |TRACE LOG|-849 seconds remaining before reboot|
    |TRACE LOG|-850 seconds remaining before reboot|
    |TRACE LOG|-851 seconds remaining before reboot|
    |TRACE LOG|-852 seconds remaining before reboot|
    |TRACE LOG|-853 seconds remaining before reboot|
    |TRACE LOG|-854 seconds remaining before reboot|
    |TRACE LOG|-855 seconds remaining before reboot|
    |TRACE LOG|-856 seconds remaining before reboot|
    |TRACE LOG|-857 seconds remaining before reboot|
    |TRACE LOG|-858 seconds remaining before reboot|
    |TRACE LOG|-859 seconds remaining before reboot|
    |TRACE LOG|-860 seconds remaining before reboot|
    |TRACE LOG|-861 seconds remaining before reboot|
    |TRACE LOG|-862 seconds remaining before reboot|
    |TRACE LOG|-863 seconds remaining before reboot|
    |TRACE LOG|-864 seconds remaining before reboot|
    |TRACE LOG|-865 seconds remaining before reboot|
    |TRACE LOG|-866 seconds remaining before reboot|
    |TRACE LOG|-867 seconds remaining before reboot|
    |TRACE LOG|-868 seconds remaining before reboot|
    |TRACE LOG|-869 seconds remaining before reboot|
    |TRACE LOG|-870 seconds remaining before reboot|
    |TRACE LOG|-871 seconds remaining before reboot|
    |TRACE LOG|-872 seconds remaining before reboot|
    |TRACE LOG|-873 seconds remaining before reboot|
    |TRACE LOG|-874 seconds remaining before reboot|
    |TRACE LOG|-875 seconds remaining before reboot|
    |TRACE LOG|-876 seconds remaining before reboot|
    |TRACE LOG|-877 seconds remaining before reboot|
    |TRACE LOG|-878 seconds remaining before reboot|
    |TRACE LOG|-879 seconds remaining before reboot|
    |TRACE LOG|-880 seconds remaining before reboot|
    |TRACE LOG|-881 seconds remaining before reboot|
    |TRACE LOG|-882 seconds remaining before reboot|
    |TRACE LOG|-883 seconds remaining before reboot|
    |TRACE LOG|-884 seconds remaining before reboot|
    |TRACE LOG|-885 seconds remaining before reboot|
    |TRACE LOG|-886 seconds remaining before reboot|
    |TRACE LOG|-887 seconds remaining before reboot|
    |TRACE LOG|-888 seconds remaining before reboot|
    |TRACE LOG|-889 seconds remaining before reboot|
    |TRACE LOG|-890 seconds remaining before reboot|
    |TRACE LOG|-891 seconds remaining before reboot|
    |TRACE LOG|-892 seconds remaining before reboot|
    

    Could this indirectly indicate that the ESM is not enabled.

    Regrads,

    Maxiel

  • Hi,

    Potentially yes. The ESM is configured in R5 SPL in the U-Boot repo.

    drivers/misc/k3_esm.c
    driver/misc/esm_pmic.c

    https://source.devboardsforandroid.linaro.org/platform/external/u-boot/+/54a54a63139e6986da579ef5be984eb3e67cffb1/drivers/misc/k3_esm.c#75

    https://source.devboardsforandroid.linaro.org/platform/external/u-boot/+/54a54a63139e6986da579ef5be984eb3e67cffb1/drivers/misc/esm_pmic.c#34

    You can add debug prints in the probe function in the SDK U-Boot folder in the above functions to check if they are indeed called.

    - Keerthy

  • Hi keerthy,

    You can add debug prints in the probe function in the SDK U-Boot folder in the above functions to check if they are indeed called.

    k3_esm.c and esm_pmic.c are indeed called.

    But, the ESM PMIC init failed

    Regrads,

    Maxiel

  • Hello Maxiel,

    Please check why PMIC ESM driver is failing. DRA829-EVM uses TPS6594x PMIC. In case you are using a different one then it will fail.
    Which PMIC is being used?

    - Keerthy

  • Hi Keerthy,

    Which PMIC is being used?

    The PMIC-A and PMIC-B are  TPS6594x

    However, according to our hardware engineers, they disabled ESM functionality in hardware.

    It's not clear to me if this is one of the reasons for the init error.

    If yes, how should we solve this problem and whether it can be solved by modifying the register?

    A more detailed debug log shows that spl_board_init fails to match the "pmic_esm" driver.

    Log:

    code:

    Regrads,

    Maxiel

  • Hi Keerthy,

    This is a supplement.

    I found that the name of "pmic_esm" driver is esm_pmic.

    Regrads,

    Maxiel

  • according to our hardware engineers, they disabled ESM functionality in hardware.

    If the esm cannot interrupt pmic then watchdog reset won't work. It's still not clear from your logs which exact pmic esm function is failing. 

    I see probe finished prints. So where is it failing?

    Best regards,

    Keerthy 

  • Hi Keerthy,

    I see probe finished prints. So where is it failing?

    The "k3_esm.c" is probe finished, and the The error print is from "esm_pmic.c".

    If the esm cannot interrupt pmic then watchdog reset won't work.

    You mean we need to modify the hardware design, right?

    Regrads,

    Maxiel

  • And, learn from https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1261103/faq-j784s4xevm-how-to-enable-main-domain-watchdog.

    there is no wkup_esm device node in the dts of J721e platform.

    Also, the dts of the J721e platform and the dts of the J784S4 platform are so different that I don't know which dts file to modify.

    Regrads,

    Maxiel

  • there is no wkup_esm device node in the dts of J721e platform.

    You are using DRA829 then please follow j721e.

    - Keerthy

  • You are using DRA829 then please follow j721e.

    Yes, I'm using DRA829. But, I didn't find a relevant case on the J721e platform. 

    So, you mean this E2E case is not helpful for my current problem? Based on my current situation, what should I do next?

    Best,

    Maxiel

  • Hi Keerthy,

    I solved the issue. In Version 09.02.04 SDK, the CONFIG_SYS_I2C_OMAP24XX is disabled. I enabled it, and the "esm_pmic.c" probe succeed. 

    And the test command worked well, soc restart after the countdown.

    Log show:

    root@j721e-evm:~# cd /opt/ltp/
    root@j721e-evm:/opt/ltp#    ./runltp -P j721e-evm -f ddt/wdt_test -s "WDT_M_FUNC_WRI"
    INFO: creating /opt/ltp/output directory
    INFO: creating /opt/ltp/results directory
    INFO: Filtering testscenarios based on j721e-evm capabilities
    awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
    Checking for required user/group ids
    
    'root' user id and group found.
    'nobody' user id and group found.
    'bin' user id and group found.
    'daemon' user id and group found.
    Users group found.
    Sys group found.
    Required users/groups exist.
    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.
    
    /etc/os-release
    ID=arago
    NAME="Arago"
    VERSION="2023.10"
    VERSION_ID=2023.10
    PRETTY_NAME="Arago 2023.10"
    
    uname:
    Linux j721e-evm 6.1.80 #41 SMP PREEMPT Wed Nov  6 03:10:07 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
    
    /proc/cmdline
    console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=0afa928d-02 rw rootfstype=ext4 rootwait
    
    Gnu C                  gcc (GCC) 11.4.0
    Clang
    Gnu make               4.3
    util-linux             2.37.4
    mount                  linux 2.37.4 (libmount 2.37.4: btrfs, namespaces, assert, debug)
    modutils               29
    e2fsprogs              1.46.5
    Linux C Library        x 1 1001 1001 1630088 Mar  9  2018 /lib/libc.so.6
    Dynamic linker (ldd)   2.35
    Linux C++ Library      6.0.29
    Procps                 3.3.17-dirty
    Net-tools              2.10
    iproute2               iproute2-5.17.0
    iputils                'V'
    ethtool                5.16
    Sh-utils               9.0
    Modules Loaded         brcm_xgbe pci_endpoint_test overlay cfg80211 rfkill xhci_plat_hcd ti_am335x_adc pru_rproc kfifo_buf irq_pruss_intc rpmsg_ctrl rpmsg_char cdns3 omap_rng cdns_usb_common wlan_cnss_core_pcie crct10dif_ce display_connector drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops phy_can_transceiver vxe_enc vxd_dec ti_k3_r5_remoteproc videobuf2_dma_contig videobuf2_dma_sg k3_j72xx_bandgap videobuf2_memops pruss v4l2_mem2mem ti_am335x_tscadc videobuf2_v4l2 videobuf2_common videodev ti_k3_dsp_remoteproc pci_j721e_host mc virtio_rpmsg_bus pci_j721e pcie_cadence_host sa2ul rpmsg_ns pcie_cadence cdns_dphy_rx ti_k3_common cdns3_ti optee_rng rng_core spi_omap2_mcspi rti_wdt cryptodev fuse drm drm_panel_orientation_quirks ipv6
    
    free reports:
                   total        used        free      shared  buff/cache   available
    Mem:         2221908      159312     1768472        9340      294124     1912948
    Swap:              0           0           0
    
    cpuinfo:
    Architecture:            aarch64
      CPU op-mode(s):        32-bit, 64-bit
      Byte Order:            Little Endian
    CPU(s):                  2
      On-line CPU(s) list:   0,1
    Vendor ID:               ARM
      Model name:            Cortex-A72
        Model:               0
        Thread(s) per core:  1
        Core(s) per cluster: 2
        Socket(s):           -
        Cluster(s):          1
        Stepping:            r1p0
        BogoMIPS:            400.00
        Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
    Caches (sum of all):
      L1d:                   64 KiB (2 instances)
      L1i:                   96 KiB (2 instances)
      L2:                    1 MiB (1 instance)
    Vulnerabilities:
      Gather data sampling:  Not affected
      Itlb multihit:         Not affected
      L1tf:                  Not affected
      Mds:                   Not affected
      Meltdown:              Not affected
      Mmio stale data:       Not affected
      Retbleed:              Not affected
      Spec rstack overflow:  Not affected
      Spec store bypass:     Not affected
      Spectre v1:            Mitigation; __user pointer sanitization
      Spectre v2:            Mitigation; CSV2, BHB
      Srbds:                 Not affected
      Tsx async abort:       Not affected
    
    available filesystems:
    autofs bdev bpf cgroup cgroup2 configfs cpuset debugfs devpts devtmpfs ext2 ext3 ext4 fuse fuseblk fusectl hugetlbfs mqueue nfs nfs4 overlay pipefs proc pstore ramfs rpc_pipefs securityfs sockfs squashfs sysfs tmpfs ubifs vfat
    
    mounted filesystems (/proc/mounts):
    /dev/root / ext4 rw,relatime 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=847816k,nr_inodes=211954,mode=755 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,nodev,size=444384k,nr_inodes=819200,mode=755 0 0
    tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755 0 0
    cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
    cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
    pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
    bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
    cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
    cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
    cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
    cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
    cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
    cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
    cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
    cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
    cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
    cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,
                                                                |TRACE LOG|58 seconds remaining before reboot|
    |TRACE LOG|57 seconds remaining before reboot|
    |TRACE LOG|56 seconds remaining before reboot|
    |TRACE LOG|55 seconds remaining before reboot|
    |TRACE LOG|54 seconds remaining before reboot|
    |TRACE LOG|53 seconds remaining before reboot|
    |TRACE LOG|52 seconds remaining before reboot|
    |TRACE LOG|51 seconds remaining before reboot|
    |TRACE LOG|50 seconds remaining before reboot|
    |TRACE LOG|49 seconds remaining before reboot|
    |TRACE LOG|48 seconds remaining before reboot|
    |TRACE LOG|47 seconds remaining before reboot|
    |TRACE LOG|46 seconds remaining before reboot|
    |TRACE LOG|45 seconds remaining before reboot|
    |TRACE LOG|44 seconds remaining before reboot|
    |TRACE LOG|43 seconds remaining before reboot|
    |TRACE LOG|42 seconds remaining before reboot|
    |TRACE LOG|41 seconds remaining before reboot|
    |TRACE LOG|40 seconds remaining before reboot|
    |TRACE LOG|39 seconds remaining before reboot|
    |TRACE LOG|38 seconds remaining before reboot|
    |TRACE LOG|37 seconds remaining before reboot|
    |TRACE LOG|36 seconds remaining before reboot|
    |TRACE LOG|35 seconds remaining before reboot|
    |TRACE LOG|34 seconds remaining before reboot|
    |TRACE LOG|33 seconds remaining before reboot|
    |TRACE LOG|32 seconds remaining before reboot|
    |TRACE LOG|31 seconds remaining before reboot|
    |TRACE LOG|30 seconds remaining before reboot|
    |TRACE LOG|29 seconds remaining before reboot|
    |TRACE LOG|28 seconds remaining before reboot|
    |TRACE LOG|27 seconds remaining before reboot|
    |TRACE LOG|26 seconds remaining before reboot|
    |TRACE LOG|25 seconds remaining before reboot|
    |TRACE LOG|24 seconds remaining before reboot|
    |TRACE LOG|23 seconds remaining before reboot|
    |TRACE LOG|22 seconds remaining before reboot|
    |TRACE LOG|21 seconds remaining before reboot|
    |TRACE LOG|20 seconds remaining before reboot|
    |TRACE LOG|19 seconds remaining before reboot|
    |TRACE LOG|18 seconds remaining before reboot|
    |TRACE LOG|17 seconds remaining before reboot|
    |TRACE LOG|16 seconds remaining before reboot|
    |TRACE LOG|15 seconds remaining before reboot|
    |TRACE LOG|14 seconds remaining before reboot|
    |TRACE LOG|13 seconds remaining before reboot|
    |TRACE LOG|12 seconds remaining before reboot|
    |TRACE LOG|11 seconds remaining before reboot|
    |TRACE LOG|10 seconds remaining before reboot|
    |TRACE LOG|9 seconds remaining before reboot|
    |TRACE LOG|8 seconds remaining before reboot|
    |TRACE LOG|7 seconds remaining before reboot|
    |TRACE LOG|6 seconds remaining before reboot|
    |TRACE LOG|5 seconds remaining before reboot|
    |TRACE LOG|4 seconds remaining before reboot|
    |TRACE LOG|3 seconds remaining before reboot|
    |TRACE LOG|2 seconds remaining before reboot|
    |TRACE LOG|1 seconds remaining before reboot|
    |TRACE LOG|0 seconds remaining before reboot|
    |TRACE LOG|-1 seconds remaining before reboot|
    |TRACE LOG|-2 seconds remaining before reboot|
    |TRACE LOG|-3 seconds remaining before reboot|
    |TRACE LOG|-4 seconds remaining before reboot|
    |TRACE LOG|-5 seconds remaining before reboot|
    |TRACE LOG|-6 seconds remaining before reboot|
    |TRACE LOG|-7 seconds remaining before reboot|
    |TRACE LOG|-8 seconds remaining before reboot|
    |TRACE LOG|-9 seconds remaining before reboot|
    |TRACE LOG|-10 seconds remaining before reboot|
    |TRACE LOG|-11 seconds remaining before reboot|
    |TRACE LOG|-12 seconds remaining before reboot|
    |TRACE LOG|-13 seconds remaining before reboot|
    |TRACE LOG|-14 seconds remaining before reboot|
    |TRACE LOG|-15 seconds remaining before reboot|
    |TRACE LOG|-16 seconds remaining before reboot|
    |TRACE LOG|-17 seconds remaining before reboot|
    |TRACE LOG|-18 seconds remaining before reboot|
    |TRACE LOG|-19 seconds remaining before reboot|
    |TRACE LOG|-20 seconds remaining before reboot|
    |TRACE LOG|-21 seconds remaining before reboot|
    |TRACE LOG|-22 seconds remaining before reboot|
    
    U-Boot SPL 2023.04 (Nov 07 2024 - 08:30:01 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    k3_esm esm@700000: k3 esm probe
    k3_esm esm@700000: k3 esm probe finished
    k3_esm esm@40800000: k3 esm probe
    k3_esm esm@40800000: k3 esm probe finished
    esm_pmic esm: pmic esm probe
    esm_pmic esm: pmic esm probe finished
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    I/TC:
    I/TC: OP-TEE version: 4.1.0-51-g012cdca49 (gcc version 11.4.0 (GCC)) #1 Tue Jan 30 10:48:03 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2023.04 (Nov 07 2024 - 08:29:55 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    

    Another issue, our hardware engineers said that they disabled the Watchdog of PMIC on the hardware. They set the gpio-8 and gpio-9 of the TPS6594X with external pull-up.

    However, I can still successfully run the Watchdog test demo, which means that their hardware design will not affect the Watchdog.

    Please help to confirm whether the result I got now makes sense.

    Regrads,

    Maxiel

  • Maxiel,

    That's great. The tests SoC watchdog and not the pmic watchdog.

    So what you are observing must be reset from SoC watchdog.

    Closing this issue. 

    Best regards,

    Keerthy