I've created two u-boot images using yocto (warrior) u-boot-fslc and u-boot-imx. By default cross-compiling for imx6ulevk machine former produces 'SPL' and 'u-boot.img' and latter - 'u-boot.imx'. That's fine, but uploading images using command line tool 'imx_usb_loader' ./imx_usb SPL I got error message:
U-Boot SPL 2019.04+fslc+gc93ced7 (Aug 16 2019 - 12:57:16 +0000)
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
With u-boot.imx it is succeeded:
U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g0d6d880779 (Aug 16 2019 - 07:19:15 +0000)
CPU: Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 42C
Reset cause: POR
Model: Freescale i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
Display: TFT43AB (480x272)
switch to partitions #0, OK
mmc1(part 0) is current device
flash target is MMC:1
Net: No ethernet found.
Boot from USB for mfgtools
How it could be explained? I'm using the same dev boad from MYiR - MYD-Y6ULX
I need to split u-boot into two parts: SPL and u-boot.img. Setting SPL to ENABLE on u-boot-imx through menuconfig - return compilation error. Any ideas how to solve this problem?