SD Card boot failed on UFS load

I’ve tried referred to the documentation and attempted to test SD card boot,
but encountered a boot failure. .
Please help to take a look together to find out what’s causing the issue?

Log:

Partition Map for MMC device 1 – Partition Type: EFI

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid GPT ***

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid Backup GPT ***

=> mmc info

Device: mmc@11240000

Manufacturer ID: 74

OEM: 4a60

Name: USDU1

Bus Speed: 50000000

Mode: SD High Speed (50MHz)

Rd Block Len: 512

SD version 3.0

High Capacity: Yes

Capacity: 116.5 GiB

Bus Width: 4-bit

Erase Group Size: 512 Bytes

=>

I’ve found the reason why it boot failed.

The following log indicates that the SD card data is incorrect. There’s an error starting from the partition table: GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid GPT ***

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid Backup GPT ***

The reason is UFS storage default sector size (4096 Bytes) is different from eMMC (512 Bytes).
Hence you cannot use wic image built from UFS storage on SD Card!
You need to build a separate project for eMMC to generate the correct wic image for SD Card.
Directly using the wic image built for UFS and flashing it onto the SD card will not work.