Hi @Daniel-Aguirre
Let me clarify something Our entire aim is to boot the an image from this EMMC.
in the schematics the correctly connected data lines are D0 & d4,
so as per my understanding (please correct me if i am wrong)
in 1 bit speed mode the emmc and processor use only 1 data line to communicate.
and in 4 bit it use 4 data lines to communicate each other and so on..
at that time if a configure the processor to work in 1 bit mode normal speed (by making the RCON20,RCON19,RCON21 pins 0)
it should be able to boot from EMMC right?
And Some of our observations/doubts are as follows kindly comment on the same,
- While writing the image to EMMC through Flash tool i can see data transitions in d0,d3,d7 lines Is that expected?
- In the Flash tool while we uploading the algorithm to hardware are we defining the bus width or some thing?
- While we upload the image through flash tool and put the RCON switches to 8 bit normal speed we are able to boot till u boot and its getting stopped over there the logs are as follows, my question was after u boot will the processor/emmc will try any other speed modes is at a reason its getting stoppped there ?
NOTICE: Reset status: Power-On Reset
NOTICE: BL2: v2.5(release):bsp36.0-2.5
NOTICE: BL2: Built : 17:42:10, Mar 23 2023
NOTICE: BL2: Booting BL31
U-Boot 2020.04+gec57ab5ab8 (Mar 24 2023 - 13:55:02 +0000)
CPU: NXP S32G274A rev. 2.0
Model: NXP S32G2XXX-EVB3
DRAM: 3.5 GiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
Failed to lock PCIe phy
Failed to power on 'serdes_lane0' PHY
In: serial@401c8000
Out: serial@401c8000
Err: serial@401c8000
Loading SJA1105 firmware over SPI 5:0
No matching device ID found for devid 0, cs 0.
Error SJA1105 configuration not completed
Net: EQOS phy: rgmii @ 4
Warning: eth_eqos (eth0) using random MAC address - 9a:6a:ee:6c:5b:8c
eth0: eth_eqosFailed to get speed of XPCS for emac1_xpcsFailed to set the frequency of mac2_rx_rgmii
Failed to enable mac2_rx_rgmii clock
PFE: emac0: sgmii emac1: sgmii emac2: rgmii
** No partition table - mmc 0 **
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -1
Hit any key to stop autoboot: 0
Failed to get speed of XPCS for emac1_xpcs** No partition table - mmc 0 **
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -1
PFE: emac0: sgmii emac1: sgmii emac2: rgmii
pfeng_cfg_mode_enable: Invalid PFE device
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Booting from net ...
Failed to get speed of XPCS for emac1_xpcsFailed to set the frequency of mac2_rx_rgmii
Failed to enable mac2_rx_rgmii clock
PFE: emac0: sgmii emac1: sgmii emac2: rgmii
** No partition table - mmc 0 **
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -1
Failed to enable rx_rgmii clock
Could not get PHY for eth_eqos: addr 4
phy_connect() failedFAILED: 0BOOTP broadcast 1
eqos_send: TX timeout
Abort
Failed to enable rx_rgmii clock
Could not get PHY for eth_eqos: addr 4
phy_connect() failedFAILED: 0BOOTP broadcast 1
eqos_send: TX timeout
BOOTP broadcast 2
eqos_send: TX timeout
BOOTP broadcast 3
eqos_send: TX timeout
BOOTP broadcast 4
eqos_send: TX timeout
BOOTP broadcast 5
eqos_send: TX timeout
BOOTP broadcast 6
eqos_send: TX timeout
BOOTP broadcast 7
eqos_send: TX timeout
BOOTP broadcast 8
eqos_send: TX timeout
BOOTP broadcast 9
eqos_send: TX timeout
BOOTP broadcast 10
eqos_send: TX timeout
BOOTP broadcast 11
eqos_send: TX timeout
BOOTP broadcast 12
eqos_send: TX timeout
BOOTP broadcast 13
eqos_send: TX timeout
Retry time exceeded; starting again
Bad Linux ARM64 Image magic!
=>
=>
=>
=>
-----------------------------------------------------------------
If you need any additional information regarding this issue please let me know.