Build S32G274 linux bsp35.0 failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build S32G274 linux bsp35.0 failed

Jump to solution
588 Views
longtengqiufeng1
Contributor III

Hi,

I try to build S32G274 BSP35 Yocto with Ubuntu18.04,and I add the LLEC PFE firmware

DISTRO_FEATURES_append = "llce-can "
DISTRO_FEATURES_append = "pfe pfe-slave"
NXP_FIRMWARE_LOCAL_DIR = "/home/lly/S32G/fsl-auto-yocto-bsp/firmware"

but the image has this problem:

U-Boot 2020.04+gf30287c440 (Nov 29 2022 - 16:57:39 +0000)

CPU:   NXP S32G274A rev. 2.0
Model: NXP S32G274A-RDB2
DRAM:  3.5 GiB
Ignore unsupported SCMI protocol 19
MMC:   FSL_SDHC: 0
Loading Environment from MMC... OK
Configuring PCIe0 as RootComplex
PCIe0: Failed to get link up
PCI: Failed autoconfig bar 20
PCI: Failed autoconfig bar 24
In:    serial@401c8000
Out:   serial@401c8000
Err:   serial@401c8000
Board revision: RDB2/GLDBOX Revision D
Net:   EQOS phy: rgmii @ 1

Warning: eth_eqos (eth0) using random MAC address - aa:37:4e:77:3a:b5
eth0: eth_eqos PFE: emac0: sgmii emac1: none emac2: rgmii
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2

Hit any key to stop autoboot:  0
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
 PFE: emac0: sgmii emac1: none emac2: rgmii
pfeng_cfg_mode_enable: Invalid PFE device
switch to partitions #0, OK
mmc0 is current device
Booting from net ...
 PFE: emac0: sgmii emac1: none emac2: rgmii
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
eth_eqos Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
eth_eqos Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
Bad Linux ARM64 Image magic!

 

 How to solve it?

Thank you!

0 Kudos
Reply
1 Solution
571 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Erase everything you have in your computer regarding BSP and reinstall again, the problem is going away.

Regards

View solution in original post

1 Reply
572 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Erase everything you have in your computer regarding BSP and reinstall again, the problem is going away.

Regards