Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: Faruk on February 20, 2019, 12:29:21 PM

Title: Boot Error "SPL: Unsupported Boot Device!"
Post by: Faruk on February 20, 2019, 12:29:21 PM
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.
Title: Re: Boot Error "SPL: Unsupported Boot Device!"
Post by: LubOlimex on February 20, 2019, 04:39:01 PM
Are you trying to boot from SPI flash?
Title: Re: Boot Error "SPL: Unsupported Boot Device!"
Post by: Faruk on February 21, 2019, 06:55:08 AM
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.
Title: Re: Boot Error "SPL: Unsupported Boot Device!"
Post by: Faruk on February 21, 2019, 07:53:39 AM
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. 
Title: Re: Boot Error "SPL: Unsupported Boot Device!"
Post by: LubOlimex on February 21, 2019, 08:03:21 AM
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.
Title: Re: Boot Error "SPL: Unsupported Boot Device!"
Post by: Faruk on February 21, 2019, 08:26:35 AM
Yes I added SPI flash. I prefered modification instead of buying new one. I think it is going fine :)