QSPI startup mode EMMC jump failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

QSPI startup mode EMMC jump failed

728 次查看
youke
Contributor III

Hi NXP,

I am using S32g274ardb2 board and testing with bsp42;
I tried the following startup process successfully:
1. The direct SD card startup was successful.
2. Directly start EMMC successfully. (Burn the same program as the SD card using flash tools)
According to the AN13750 document, starting through QSPI successfully redirects to the SD card to start the kernel.
The SD card burn command is:
$ sudo dd if=/dev/zero of=/dev/sda bs=512 count=1 && sync
$ sudo dd if=fsl-image-auto-s32g274ardb2.sdcard of=/dev/sda bs=1M skip=4 seek=4
$ sudo dd if=fsl-image-auto-s32g274ardb2.sdcard of=/dev/sda bs=1M count=4 && sync
$ sudo dd if=fip.s32 of=/dev/sda skip=512 seek=512 iflag=skip_bytes oflag=seek_bytes conv=fsync, notrunc
When I tried to start the kernel of EMMC using QSPI, it failed:
4. The emmc burn command I used is as follows:
a. Use serial mode, flash tools to flash QSPI, and then write FIP.S32 at EMMC 0 address;
b. Using serial boot (sw3 dialed to emmc), you can enter u-boot and flash rootfs through network tftp. The command is as follows:
=> tftp 88000000 fsl-image-auto-s32g274ardb2.sdcard
=> mmc rescan
=> mmc write 88000000 0 0x13e000
=> tftp 88000000 fip.s32
=> mmc rescan
=> mmc write 88000000 0 0x960
After restarting, it cannot jump to kernel startup and will get stuck in u-boot, as shown below
May I ask if there are any issues with the flashing command in EMMC? Why is it stuck and how do I need to modify it?

thanks,

 

0 项奖励
回复
1 回复

700 次查看
youke
Contributor III

Hi,

I've solved it, you can close it

0 项奖励
回复