Wind River Support Network

HomeDefectsLIN10-2721
Fixed

LIN10-2721 : WRL8 hardware watchdog is not working

Created: Dec 11, 2017    Updated: Dec 3, 2018
Resolved Date: Apr 24, 2018
Found In Version: 10.17.41.3
Fix Version: 10.17.41.7
Severity: Critical
Applicable for: Wind River Linux LTS 17
Component/s: BSP

Description

When we tried the following diff and then hardware watchdog worked on Denverton platform, but this is a generic code, if changed as the followings, then hardware watchdog will not work on the other platform.

diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
--- a/drivers/i2c/busses/i2c-i801.c 2017-11-24 15:09:06.379974942 +0530
+++ b/drivers/i2c/busses/i2c-i801.c 2017-11-24 15:10:17.511670517 +0530
@@ -125,7 +125,8 @@
#define ACPICTRL_EN 0x080

#define SBREG_BAR 0x10
-#define SBREG_SMBCTRL 0xc6000c
+//#define SBREG_SMBCTRL 0xc6000c
+#define SBREG_SMBCTRL 0xcf000c

/* Host status bits for SMBPCISTS */
#define SMBPCISTS_INTS 0x08

Steps to Reproduce

 cat build-nfx-3/x86-64-ovp/config.log 
# Generated by wrlinux configure at Sun Nov 26 21:57:21 IST 2017 
/volume/vendor-tools/final/v8.0.0.23/wrlinux-8/wrlinux/configure --with-ccache-size=10G --with-ccache-dir=/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../caches/x86-64-ovp-caches/.ccache/ --enable-parallel-pkgbuilds=8 --enable-jobs=10 --enable-ccache=no --with-sstate-dir=/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../caches/x86-64-ovp-caches/sstate/ --enable-board=intel-x86-64 --enable-kernel=ovp --enable-rootfs=ovp_kvm+installer-support --enable-bootimage=hdd,tar.bz2 --with-bootimage-space=1024 --enable-checkout-all-layers=yes --enable-reconfig --enable-rm-oldimgs=yes --with-layer=/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-x86-64-ovp,/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-nfx-3,wr-dpdk,/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-oss,/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-common,/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-flavors,/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-nfx-ovp,/b/anuv/WRL8-RCPL23/ysb/layers/meta-x86-64-ovp/config/../../../layers/meta-secure-boot --with-template=feature/empty-password,feature/initramfs,feature/kexec,feature/kdump,feature/nfx-ovp,feature/nfx-ovp-sdk,feature/secure-boot --enable-patchresolve=noop --enable-addons=wr-ovp --enable-internet-download=yes --with-init=sysvinit --with-rcpl-version=0023 

Boot system and ...

Other Downloads


Live chat
Online