Linux BSP Boot

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

Linux BSP Boot

1,517 Views
akhil_k_appu
Contributor III

Hi,

We built a yocto Linux BSP 33.0 image and tried to boot a s32g274ardb2 board using a sd card. But we encountered the following error during bootup. Please refer the log below and tell us how to rectify it. Thanks in advance.

Welcome to minicom 2.7.1

 
OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 19:46:59
 
Press CTRL-A Z for help on special keys
 
NOTICE:  Reset status: Power-On Reset  
NOTICE:  BL2: v2.5(release):bsp32.0-2.5-dirty
NOTICE:  BL2: Built : 16:14:01, Mar 18 2022
NOTICE:  BL2: Booting BL31              
                                       
                                       
U-Boot 2020.04+g7cc85e1885 (Mar 21 2022 - 08:09:34 +0000)
                                       
CPU:   NXP S32G274A rev. 2.1.0          
Model: NXP S32G274A-RDB2                
DRAM:  3.5 GiB                          
MMC:   FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
 
Using external clock for PCIe0, CRNS                                            
Configuring PCIe0 as RootComplex(x2)                                            
Using external clock for PCIe1, CRNS                                            
Frequency 125Mhz configured for PCIe1                                          
Configuring PCIe1 as SGMII(x2) [XPCS0 2.5G, XPCS1 OFF]                          
PCIe0: Failed to get link up                                                    
Pcie0: LINK_DBG_1: 0x00000000, LINK_DBG_2: 0x00000800 (expected 0x000000d1)    
DEBUG_R0: 0x00233e01, DEBUG_R1: 0x08600000                                      
PCI: Failed autoconfig bar 20                                                  
PCI: Failed autoconfig bar 24                                                  
PCIe1: Not configuring PCIe, PHY not configured                                
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 - c6:ed:6a:84:bc:ff          
eth0: eth_eqos PFE: emac0: sgmii emac1: none emac2: rgmii                      
** Unrecognized filesystem type **                                              
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -1              
                                                                               
Hit any key to stop autoboot:  0                                                
** Invalid partition 2 **                                                      
## Executing script at 80200000                                                
Wrong image format for "source" command                                        
No FDT memory address configured. Please configure                              
the FDT address via "fdt addr <address>" command.                              
Aborting!                                                                      
No FDT memory address configured. Please configure                              
the FDT address via "fdt addr <address>" command.                              
Aborting!                                                                      
Bad Linux ARM64 Image magic!                                       
0 Kudos
Reply
2 Replies

1,335 Views
Sri_5600
Contributor I

 

Hi,

We built a yocto Linux BSP 33.0 image and tried to boot a s32g274ardb2 board using a sd card. But we encountered only these logs are been generated  during bootup. Please refer the log below and tell us how to rectify it. Thanks in advance.

NOTICE:  Reset status: Power-On Reset  
NOTICE:  BL2: v2.5(release):bsp33.0.hf1-2.5-dirty
NOTICE:  BL2: Built : 13:14:01, Aug 11 2022
NOTICE:  BL2: Booting BL31   
0 Kudos
Reply

1,501 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For what you are showing in the log, there is CRC error on the image. Have you followed the S32 Linux User guide? The guide should give you, step by step, the tools for you to create a linux image for the S32G2 platform. You can find this guide under the Linux BSP for S32. Below will be a link redirecting to this page.

BSP for S32 MCUs and Processors | NXP Semiconductors

Under the "Automotive SW for S32G2 – Linux BSP" option, you should be able to access this information.

Please, let us know if this information was helpful or not.

0 Kudos
Reply