Part Number: AM6442
Other Parts Discussed in Thread: SK-AM64B
The watchdog timer is working correctly on SR1.0 silicon but is no longer able to reset the board after switching to SR2.0 silicon.
Log below showing the device not resetting at the end of the watchdog countdown. Is there anything different needed for SR2.0 silicon for the watchdog timer?
Log:
bash-5.0# ./runltp -P am64xx-sk -f ddt/wdt_test -s WDT_S_FUNC_GETSTATUS
INFO: creating /usr/srvroot/shared/TI/opt/ltp/results directory
INFO: Filtering testscenarios based on am64xx-sk capabilities
Checking for required user/group ids
'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=****
NAME="****-Linux"
VERSION="1.0 (****)"
VERSION_ID=1.0
PRETTY_NAME="****"
DISTRO_CODENAME="****"
uname:
Linux **** 5.10.140-**** #1 SMP PREEMPT Fri Sep 23 14:11:59 UTC 2022 aarch64 GNU/Linux
/proc/cmdline
console=ttyS2,115200n8 bootmedium=QSPI serverip= msocsbootver= fwup=active upstatus=complete bootsrc= earlycon=ns16550a,mmio32,0x02800000 mtdparts=fc40000.spi.0:512k(qspi.tiboot3),2m(qspi.tispl),13824k(qspi.u-boot),84m(qspi.fit-img),64k(qspi.ver) root=PARTUUID= rw rootfstype=ext4 rootwait
Gnu C
Clang
util-linux 2.35.1
mount linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
modutils 26
/usr/srvroot/shared/TI/opt/ltp/ver_linux: line 94: ldd: command not found
Linux C Library r.. 1 root root 199 Sep 11 18:58 alltests
Linux C Library . 1 root root 1823 Sep 11 18:58 alltests.orig
Linux C Library drwxr.xr.x 42 root root 840 Sep 11 18:58 platform
/usr/srvroot/shared/TI/opt/ltp/ver_linux: line 98: ldd: command not found
Procps '--version'
Net-tools 1.60
iproute2 binary.
iputils 'V'
ethtool 4.0
Kbd 2.2.0
Sh-utils --v
Modules Loaded gpio_mon nf_conntrack_tftp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_multiport xt_tcpudp ip6table_filter ip6_tables iptable_filter ip_tables x_tables irq_pruss_intc pru_rproc icss_iep crct10dif_ce rti_wdt sa2ul sha512_generic authenc pruss sch_fq_codel ipv6
free reports:
total used free shared buff/cache available
Mem: 1944600 208196 1453304 49992 283100 1459664
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
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Vendor ID: ARM
Model: 4
Model name: Cortex-A53
Stepping: r0p4
BogoMIPS: 400.00
L1d cache: 64 KiB
L1i cache: 64 KiB
L2 cache: 256 KiB
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpui
d
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: /usr/srvroot/shared/TI/opt/ltp/bin/ltp-pan -e -S -a 2038 -n 2038 -p -f /tmp/ltp-XXXXSs6ZNu/alltests -l /tmp/tmp.dbPGXa -C /usr/srvroot/shared/TI/opt/ltp/output/LTP_RUN_ON-tmp.dbPGXa.failed -T /usr/srvroot/shared/TI/opt/ltp/output/LTP_RUN_ON-tmp.dbPGXa.tconf
INFO: Restricted to WDT_S_FUNC_GETSTATUS
LOG File: /tmp/tmp.dbPGXa
FAILED COMMAND File: /usr/srvroot/shared/TI/opt/ltp/output/LTP_RUN_ON-tmp.dbPGXa.failed
TCONF COMMAND File: /usr/srvroot/shared/TI/opt/ltp/output/LTP_RUN_ON-tmp.dbPGXa.tconf
Running tests.......
<<<test_start>>>
tag=WDT_S_FUNC_GETSTATUS stime=1694458705
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 getstatus"
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/watchdog1 -ioctl getstatus|
|TEST START|wdt_tests|
|TRACE LOG|******** WDT Testcase parameters ******** |
|TRACE LOG|Device : /dev/watchdog1|
|TRACE LOG|Loop Count : 1|
|TRACE LOG|Operation : Ioctl|
|TRACE LOG|Ioctl Name : WDIOC_GETSTATUS|
|TRACE LOG|Ioctl Arg : 0 |
|TRACE LOG| ************* End of Test params ************* |
|TRACE LOG|STATUS VALUE : 32768
Status Is : |
|TRACE LOG|Keep Alive Ping Reply|
|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


