AnsweredAssumed Answered

SPL: Unsupported Boot Device!

Question asked by Sigitas Dagilis on Aug 16, 2019
Latest reply on Aug 16, 2019 by igorpadykov

Hi experts,


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
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1(part 0) is current device
flash target is MMC:1
Net: No ethernet found.
Fastboot: Normal
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?