Wind River Support Network

HomeDefectsLIN1021-395
Fixed

LIN1021-395 : nxp-s32g2xx: rmmod pfeng make the board kernel panic

Created: May 26, 2021    Updated: Jul 7, 2021
Resolved Date: Jun 14, 2021
Found In Version: 10.21.20.1
Fix Version: 10.21.20.2
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP

Description

This issue is due to wrong steps to free the driver resources and it has been fixed in CD release. Detail infos have been disscussed in the comments.

Workaround

Compile the module into the kernel. Seems like removing the kernel module is not frequently required.

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRL10_21/WRL10_21_GIT/wrlinux-10/setup.sh --machines nxp-s32g2xx --templates feature/docker --distros wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build_wrlinux_pfe
echo KERNEL_FEATURES_append = \" features/usb/serial-all.scc\" >> conf/local.conf
echo KERNEL_VERSION_SANITY_SKIP=\"1\" >> conf/local.conf
echo IMAGE_FSTYPES += \" tar.bz2\" >> conf/local.conf
echo BB_NUMBER_THREADS ?= \"24\" >> conf/local.conf
echo PARALLEL_MAKE ?= \"-j 24\" >> conf/local.conf
echo BB_DANGLINGAPPENDS_WARNONLY = \"1\" >> conf/local.conf
echo HSE_LOCAL_FIRMWARE_EVB_BIN = \"/folk/wgao/s32g/firmware/hse/s32g2xx_hse_fw_0.1.0_0.8.5_pb200922.bin.rev2.pink\" >> conf/local.conf
echo PNWHITELIST_wr-nxp-s32g2xx += \"llce\" >> conf/local.conf
echo IMAGE_INSTALL_append_nxp-s32g2xx = \" llce\" >> conf/local.conf
echo LLCE_LOCAL_FIRMWARE_DIR_DTE_BIN = \"/folk/wgao/s32g/firmware/llce/dte.bin\" >> conf/local.conf
echo LLCE_LOCAL_FIRMWARE_DIR_FRPE_BIN = \"/folk/wgao/s32g/firmware/llce/frpe.bin\" >> conf/local.conf
echo LLCE_LOCAL_FIRMWARE_DIR_PPE-TX_BIN = \"/folk/wgao/s32g/firmware/llce/ppe_tx.bin\" >> conf/local.conf
echo LLCE_LOCAL_FIRMWARE_DIR_PPE-RX_BIN = \"/folk/wgao/s32g/firmware/llce/ppe_rx.bin\" >> conf/local.conf
echo IMAGE_INSTALL_append_nxp-s32g2xx = \" pfe\" >> conf/local.conf
echo PFE_LOCAL_FIRMWARE_DIR_CLASS_BIN = \"/folk/wgao/s32g/firmware/pfe/s32g_pfe_class.fw\" >> conf/local.conf
echo PFE_LOCAL_FIRMWARE_DIR_UTIL_BIN = \"/folk/wgao/s32g/firmware/pfe/s32g_pfe_util.fw\" >> conf/local.conf
bitbake-layers add-layer /net/pek-lpgtest7408/buildarea1/wgao/wrlinux_master/wr-testing/bts-dev
echo require templates/feature/bts/template.conf >> conf/local.conf
bitbake wrlinux-image-std

Deploy image(wic) on MMC and boot with EVB board.

$ rmmod pfeng
Live chat
Online