Boot Error "SPL: Unsupported Boot Device!"

Started by Faruk, February 20, 2019, 12:29:21 PM

Previous topic - Next topic

Faruk

Hello

I endeavor kernel and boot events. So I try boot OLinuxino-A13 via spiflash(in FEL mode). I created 'u-boot-sunxi-with-spl.bin' file and wrote to on spiflash(I use sunxi-tools). When I boot my board with ./sunxi-fel uboot u-boot-sunxi-with-spl command it is work. But when I reset to board although I write the u-boot-sunxi-with-spl.bin in spiflash, board return SPL: Unsupported Boot Device error.

Whole error message in below.

U-Boot SPL 2019.04-rc1-00141-g63f7e3fca3 (Feb 19 2019 - 17:23:48 +0300)␍␊
DRAM: 512 MiB␍␊
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2␍␊
SPL: Unsupported Boot Device!␍␊
SPL: failed to boot from all boot devices␍␊
### ERROR ### Please RESET the board ###


How can I fix this issue? Thanks.

LubOlimex

Technical support and documentation manager at Olimex

Faruk

Yes. Additionally after this step I'll also try to install a small system from the SPI flash. First I try boot from SPI flash.

Faruk

I exceed this step. I researched and I saw SPL_SPI_SUNXI is not enabled(Actually so simple config, should not have been overlooked). I enabled SPL_SPI_SUNXI. A13 board boot from spiflash now. Thanks. 

LubOlimex

That is very interesting. I am looking at the schematic of A13-OLinuXino and A13-OLinuXino-WIFI and I can't find SPI flash memory, maybe I am understanding something wrong. Did you add own SPI flash?

Some of our A20 boards have SPI flash, these have *16M* suffix in their name, for example "A20-OLinuXino-MICRO-e4Gs16M" . The latest A20 images has script that allows booting from the SPI memory.
Technical support and documentation manager at Olimex

Faruk

Yes I added SPI flash. I prefered modification instead of buying new one. I think it is going fine :)