Wind River Support Network

HomeDefectsLIN1022-1306
Acknowledged

LIN1022-1306 : nxp-s32g EVB3 + pfe + ostree + ustart image: pfe doesn't work

Created: Aug 11, 2022    Updated: Oct 27, 2022
Previous ID: LINCD-10006
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace

Description

When use ostree + pfe + ustart image, there will be an error "udhcpc: SIOCGIFINDEX: No such device Installing to:"

mdadm: no recogniseable superblock on /dev/ram1
mdadm: no recogniseable superblock on /dev/ram0
mdadm: No arrays found in config file or automatically

Wed Aug 10 17:13:24 UTC 2022
udhcpc: SIOCGIFINDEX: No such device
Installing to: /dev/mmcblk0
Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors

 

This is a known issue of EVB3's pfe, check layers/nxp-s32g/README:

On EVB/EVB3 boards, there have an known issue that the pfe1 phy can't work.
Because the NXP SDK bsp33 changed the pfe1 to sgmii mode, then pfe1 will use
an AQR107 phy, but when the pfe1 up to work, the RX count of pfe1 is allways
0, so the pfe1 port can not get any packets from network. And this issue can
be reproduced on SDK pre-built image.

We have submit the issue to NXP to track the progress, and the ticket url
is:
  [https://community.nxp.com/t5/Wind-River-S32G-Support/PFE-driver-update-in-BSP33-RC8/m-p/1488518/highlight/false#M182]

Steps to Reproduce

http://128.224.153.156/buildarea1/SharedImage/LTS22/BSP/nxp-s32g_standard_glibc-std_OSTree_NoAB_hse_ipcf_llce_pfe/20220811_003450/build_steps.log


/lpg-build/cdc/fast_prod/WRL10_22/WRL10_22_GIT/wrlinux-10/setup.sh --machines nxp-s32g --templates feature/ostree --layers meta-lat --distro wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'GPG_PATH = "/tmp/tmp.F601W78jjK"' >> conf/local.conf
echo '
TEST_SPIN = "GIT_20220811"
TEST_SPRINT = "WRL-10.22.33.1(LTS22)"
TEST_PLAN_WEEK = "2022WW32"' >> conf/local.conf

cat << EOF >> customized_test_plan.ini
[Test_Case]
ostree_basic_norpmdata
ostree_basic_fluxdata
ostree_basic_watchdog_clearbootflag
ostree_basic_grub_entry
ostree_basic_readonly_bootenv
ostree_cmd_add-remotes-config-dir
ostree_cmd_fsck
ostree_cmd_diff
ostree_system-export
ostree_reset_simple
ostree_reset_noflux
ostree_reset_everything
ostree_basic_systemd_service
ostree_basic_add_user
ostree_upgrade
ostree_unified_repo
ostree_failover
ostree_upgrade_simple
ostree_basic_unified_repo
ostree_basic_failover
ostree_basic_ostree_checksum
ostree_basic_ostree_diff
ostree_basic_ostree_fsck
ostree_basic_ostree_pull
ostree_basic_ostree_remote_refs
ostree_basic_ostree_remote_show-url
ostree_basic_ostree_rev-parse
ostree_basic_ostree_show
ostree_basic_ostree_prune
[Test_HW]
EOF

echo 'OSTREE_REMOTE_URL = "http://pek-lpgtest7408.wrs.com/buildarea1/SharedImage/LTS22/BSP/nxp-s32g_standard_glibc-std_OSTree_NoAB_hse_ipcf_llce_pfe/20220811_003450/ostree_repo/"' >> conf/local.conf
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1022/testcases/wrlinux/wr-testing/bts-dev
echo '
require templates/feature/bts/template.conf
IMAGE_FSTYPES += " tar.bz2"
BB_NO_NETWORK:pn-lmbench = "0"
ACTIVE_PLAN = "customized_test_plan.ini"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo '
#Bellow is basic env, used by wr-test_0.1.0.bb
TEST_RELEASE_NAME = "WRLinux 10.22"
TEST_ROOTFS_TYPE = "glibc-std"
TEST_MULTILIB = ""
TEST_TESTER_NAME = ""
TEST_REQUIREMANTS = "LINUXEXEC-20572"
TEST_TARGET_NAME = "builder"
TEST_TAGS = ""' >> conf/local.conf
echo 'TEST_KEYWORD = ""' >> conf/local.conf
echo 'OSTREE_USE_AB = "0"
HSE_LOCAL_FIRMWARE_DIR = "/folk/wgao/s32g/firmware/hse/"
HSE_FW_NAME_S32G2 = "s32g2xx_hse_fw_0.1.0_1.0.0_pb211015.bin.pink"
LLCE_LOCAL_FIRMWARE_DIR = "/folk/wgao/s32g/firmware/llce/s32g2"
LLCE_LOCAL_FIRMWARE_DIR_S32G3 = "/folk/wgao/s32g/firmware/llce/s32g3"
PNWHITELIST:wr-nxp-s32g += "llce"
PFE_LOCAL_FIRMWARE_DIR = "/folk/wgao/s32g/firmware/pfe"
IPCF_M7_APP_BIN_DIR = "/folk/wgao/s32g/firmware/ipcf"
PNWHITELIST:wr-nxp-s32g += "ipc-shm"
IMAGE_INSTALL:append = " nfs-utils-mount"
IMAGE_INSTALL:append:nxp-s32g = " llce"
IMAGE_INSTALL:append:nxp-s32g = " pfe"
IMAGE_INSTALL:append = " ipc-shm"' >> conf/local.conf
bitbake wrlinux-image-std wrlinux-image-small


http://128.224.153.156/buildarea1/SharedImage/LTS22/BSP/nxp-s32g_standard_glibc-std_OSTree_NoAB_hse_ipcf_llce_pfe/20220811_003450/ustart_build/

On target 29094: 
http://pek-hostel-deb04.wrs.com/wrlinux-10.22/log/BSP/nxp-s32g/customized_Install_NoAB_hse_ipcf_llce_pfe_systemd/NXP_S32G399A_EVB_standard_glibc-std_OE_systemd/220811-134812/ostree_basic_add_user/nxp-s32g_platform/NXP_S32G399A_EVB.s32g3xxaevb.Install_NoAB_hse_ipcf_llce_pfe.standard.true.glibcstd.lpgbuildcdcWASSP_LINUX_1022testcaseswrlinuxutilsfrags/targetCommands_29094.platform_B0E1R0_20220811_054831.log
Live chat
Online