Fixed
Created: May 22, 2023
Updated: Mar 28, 2024
Resolved Date: Mar 28, 2024
Found In Version: 10.23.30.1
Fix Version: 10.23.30.9
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: BSP
root@nxp-s32g:~# uname -a
Linux nxp-s32g 6.1.28-yocto-standard #1 SMP PREEMPT Tue May 16 13:33:01 UTC 2023 aarch64 GNU/Linux
root@nxp-s32g:~# cat /proc/version
Linux version 6.1.28-yocto-standard (oe-user@oe-host) (aarch64-wrs-linux-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40.20230119) #1 SMP PREEMPT Tue May 16 13:33:01 UTC 2023
root@nxp-s32g:~# cat /proc/cmdline
console=ttyLF0,115200n8 earlycon nohz=off coherent_pool=64M root=/dev/mmcblk0p2 rw rootwait ip=128.224.165.148:128.224.165.20:128.224.165.1:255.255.255.0::eth0:off
root@nxp-s32g:~# cat /etc/os-release
ID=wrlinux
NAME="Wind River Linux development"
VERSION="10.23.16.0"
VERSION_ID=10.23.16.0
VERSION_CODENAME="${DISTRO_CODENAME}"
PRETTY_NAME="Wind River Linux development 23.16"
root@nxp-s32g:~# /opt/wr-test/main_test.py -k ethernet_autoneg_restrict:"st_gmac_1G##eth0" -q
['ethernet_autoneg_restrict-st_gmac_1G##eth0']
...
[ 2294.139116] s32cc-dwmac 4033c000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
n
[ 2305.653368] s32cc-dwmac 4033c000.ethernet: Set TX clock to 2.5M
[ 2305.659191] s32cc-dwmac 4033c000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
[ 2311.343899] hrtimer: interrupt took 62800 ns
[ 2316.243901] ------------[ cut here ]------------
[ 2316.248512] NETDEV WATCHDOG: eth0 (s32cc-dwmac): transmit queue 1 timed out
[ 2316.255635] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x2a4/0x300
[ 2316.263568] Modules linked in: 8021q llce_logger llce_mailbox llce_core llce_can pfeng(O) sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 [last unloaded: llce_core]
[ 2316.282057] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G O 6.1.28-yocto-standard #1
[ 2316.290736] Hardware name: NXP S32G3XXX-EVB (DT)
[ 2316.295336] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2316.302279] pc : dev_watchdog+0x2a4/0x300
[ 2316.306272] lr : dev_watchdog+0x2a4/0x300
[ 2316.310264] sp : ffffffc00b3dbcf0
[ 2316.313563] x29: ffffffc00b3dbcf0 x28: ffffff8809898510 x27: ffffffc009802008
[ 2316.320680] x26: ffffffc009df1000 x25: 000000010007b0c0 x24: ffffffc009802008
[ 2316.327799] x23: ffffffc009dea000 x22: 0000000000000001 x21: ffffff8809898420
[ 2316.334915] x20: ffffff8809898000 x19: ffffff8809898510 x18: 0000000000000006
[ 2316.342033] x17: ffffffc851c70000 x16: ffffffc00b3d8000 x15: ffffffc00b3db800
[ 2316.349150] x14: 0000000000000000 x13: 74756f2064656d69 x12: 0000000000000300
[ 2316.356268] x11: 0000000000000300 x10: ffffffc009e74218 x9 : ffffffc0080d8730
[ 2316.363386] x8 : 00000000fffff2ec x7 : ffffffc009e6fbf8 x6 : 00000000000002ec
[ 2316.370503] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 2316.377621] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff8800dd5a40
[ 2316.384741] Call trace:
[ 2316.387170] dev_watchdog+0x2a4/0x300
[ 2316.390815] call_timer_fn+0xe0/0x320
[ 2316.394460] __run_timers+0x2f8/0x450
[ 2316.398106] run_timer_softirq+0x38/0x50
[ 2316.402012] __do_softirq+0x190/0x5f0
[ 2316.405657] ____do_softirq+0x18/0x24
[ 2316.409303] call_on_irq_stack+0x24/0x54
[ 2316.413209] do_softirq_own_stack+0x24/0x3c
[ 2316.417375] __irq_exit_rcu+0x110/0x1ac
[ 2316.421195] irq_exit_rcu+0x18/0x50
[ 2316.424667] el1_interrupt+0x38/0x64
[ 2316.428225] el1h_64_irq_handler+0x18/0x2c
[ 2316.432305] el1h_64_irq+0x64/0x68
[ 2316.435690] arch_cpu_idle+0x18/0x2c
[ 2316.439249] default_idle_call+0x68/0xd4
[ 2316.443155] cpuidle_idle_call+0x148/0x1a0
[ 2316.447236] do_idle+0x114/0x144
[ 2316.450446] cpu_startup_entry+0x2c/0x3c
[ 2316.454352] secondary_start_kernel+0x134/0x13c
[ 2316.458866] __secondary_switched+0xb0/0xb4
[ 2316.463036] irq event stamp: 7556067
[ 2316.466591] hardirqs last enabled at (7556066): [<ffffffc0080d885c>] __up_console_sem+0x9c/0xb0
[ 2316.475358] hardirqs last disabled at (7556067): [<ffffffc009189724>] el1_dbg+0x24/0xa0
[ 2316.483343] softirqs last enabled at (7556032): [<ffffffc0080105c4>] __do_softirq+0x3f4/0x5f0
[ 2316.491937] softirqs last disabled at (7556039): [<ffffffc008016ac8>] ____do_softirq+0x18/0x24
[ 2316.500530] ---[ end trace 0000000000000000 ]---
INFO: Shared image path: /net/pek-lpgtest7408/buildarea1/SharedImage/LTS23/BSP/nxp-s32g_standard_glibc-std/20230519_125342
/lpg-build/cdc/fast_prod/WRL10_23/WRL10_23_GIT/wrlinux-10/setup.sh --machines nxp-s32g --templates feature/docker --distro wrlinux --dl-layers=1 --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
bitbake-layers add-layer /net/128.224.34.180/buildarea1/test_env/wassp-linux/testcases/wrlinux/wr-testing/bts-dev
OR
#####To Clone a whole new testcases layer#####
git clone --depth 1 -b WRLINUX_10_23_HEAD git://lxgit.wrs.com/wrlinux-testing/testcases.git ../layers/testcases/wrlinux/
bitbake-layers add-layer ../layers/testcases/wrlinux/wr-testing/bts-dev
#####End#####
echo 'require templates/feature/bts/template.conf' >> conf/local.conf
echo 'SHARED_IMAGE_BASE = "/net/pek-lpgtest7408/buildarea1/SharedImage"
FIRMWARE_DIR_BASE = "${SHARED_IMAGE_BASE}/wr-bsp-images/nxp-s32g/firmwares"
HSE_LOCAL_FIRMWARE_DIR = "${FIRMWARE_DIR_BASE}/hse"
HSE_FW_VERSION_S32G2 = "0.1.0.9"
HSE_FW_VERSION_S32G3 = "0.2.16.1"
HSE_FW_NAME_S32G2 = "rev2.0_s32g2xx_hse_fw_0.1.0_1.0.9_pb230405.bin.pink"
HSE_FW_NAME_S32G3 = "rev1.0_s32g3xx_hse_fw_0.20.0_2.16.1_pb221011.bin.pink"
LLCE_LOCAL_FIRMWARE_DIR = "${FIRMWARE_DIR_BASE}/llce/1.0.6/s32g2"
LLCE_LOCAL_FIRMWARE_DIR_S32G3 = "${FIRMWARE_DIR_BASE}/llce/1.0.6/s32g3"
IPCF_M7_APP_BIN_DIR = "${FIRMWARE_DIR_BASE}/ipcf"
PFE_LOCAL_FIRMWARE_DIR = "${FIRMWARE_DIR_BASE}/pfe/1.6.0"
WRL_RECIPES:wr-nxp-s32g += "llce"
BB_NO_NETWORK:pn-ccid = "0"
BB_NO_NETWORK:pn-pcsc-lite = "0"
IMAGE_INSTALL:append = " llce ipc-shm pfe pfe-slave libfci-cli pkcs11-hse-examples"' >> conf/local.conf
bitbake wrlinux-image-std
http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinux1023/S230509_LTS23/2023WW20/GIT_20230519/BSP/nxp-s32g_preempt-rt_glibc-std/NXP_S32G274A_EVB_OE_st_gmac_1G%23%23eth0_systemd/ethernet_autoneg_restrict/target_29119.platform_B0E1R0_20230522_045003.log
http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinux1023/S230509_LTS23/2023WW19/GIT_20230512/BSP/nxp-s32g_standard_glibc-std/NXP_S32G399A_RDB3_OE_st_gmac_1G%23%23eth0_systemd/ethernet_autoneg_restrict/target_29272.platform_B0E1R0_20230515_104620.log