Our baord is a custom board with an 8GB eMMC. Option is provided to boot from JTAG and QSPI with MSEL switches.
We could generate the .sof file by following the steps discussed earlier.
We downloaded the precompiled first stage bootloader (FSBL) .hex as suggested earlier.
Generated the .JIC file with the .sof and FSBL included in it and programmed the QSPI through JTAG.
A FAT32 USB drive is plugged in to the USB port with second stage bootloader.bin and kernal.bin.
Then we put MEL pins to boot from QSPI. Our expectation was that the HSP should boot with the linux in the USB drive. But we are getting this error message in the UART0 port.
U-Boot SPL 2022.10 (Mar 20 2023 - 03:03:15 +0000)
Reset state: Cold
MPU 1200000 kHz
L3 main 400000 kHz
Main VCO 2400000 kHz
Per VCO 2000000 kHz
EOSC1 25000 kHz
HPS MMC 20000 kHz
UART 100000 kHz
DDR: Warning: DRAM size from device tree mismatch with hardware.
DDR: 4096 MiB
QSPI: Reference clock at 400000 kHz
WDT: Started watchdog@ffd00200 with servicing (10s timeout)
denali-nand-dt nand@ffb90000: timeout while waiting for irq 0x2000
denali-nand-dt nand@ffb90000: reset not completed.
Trying to boot from MMC1
** Partition 1 not valid on device 0 **
spl_register_fat_device: fat register err - -1
spl_load_image_fat: error reading image u-boot.itb, err - -1
Trying to boot from SPI
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Can you suggest what could be the issue.
Also can you let us know the steps to install the linux in eMMC from the USB drive so that it can boot into linux from eMMC.