Wind River Support Network

HomeDefectsLINCD-3753
Fixed

LINCD-3753 : Fix nxp-s32g2xx: PFE running call trace

Created: Dec 4, 2020    Updated: Jan 3, 2021
Resolved Date: Dec 13, 2020
Found In Version: 10.20.48.0
Fix Version: 10.20.53.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: BSP

Description

Disable softirq before napi_alloc_frag() calling to keep safe to fix PFE feature call trace.

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_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
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
bitbake-layers add-layer /net/128.224.162.235/buildarea1/test_env/wrlinux/wr-testing/bts-dev
echo require templates/feature/bts/template.conf >> conf/local.conf


Edit conf/local.conf, add below 2 lines.

IMAGE_INSTALL_append_nxp-s32g2xx = " pfe"
PFE_LOCAL_FIRMWARE_DIR_BIN = "/folk/wgao/s32g/firmware/s32g_pfe_class.fw"

bitbake wrlinux-image-std

Delpoy wic image on MMC card, and copy firmware to first partition of mmc.

=> setenv mmcargs 'setenv bootargs console=${console},${baudrate}  root=${mmcroot} earlycon  nohz=off coherent_pool=8M'
=> pfeng enable 
=> print ethact
ethact=eth_pfeng
=> run mmcboot
Live chat
Online