This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

QSPI boot fail at newer BSP version(3.02.00.03)

Other Parts Discussed in Thread: DRA742

Our custom board using DRA742 and connect to QSPI flash(STMicro N25Q128) with QSPI_1. At older BSP version(7.04.00.03), after i modify dts file and ti-qspi.c(change quad_read setting for STMicro), i can normally access flash and using QSPI boot. But after i use new BSP version(3.02.00.03), i can't access flash normally even i modify dts file and ti-qspi.c.

Finally, i can access flash normally after i disable "set_quad_mode()" at spi_flash_scan() in spi_flash.c. After i write MLO & u-boot.img to flash through "sf" command, i switch boot mode to QSPI boot, but boot fail.

The log show =>

U-Boot SPL 2016.05 (Aug 23 2017 - 18:11:04)
DRA752-GP ES2.0
** First descriptor is NOT a primary desc on 1:1 **
*** Warning - bad CRC, using default environment

Trying to boot from SPI
(1)quad support!!!
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
cannot find partition: 'environment'
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Is ther exist new QSPI boot method for new BSP version(3.02.00.03)? What's the error message mean?

Regards,

Shawn