Hello

I want to be able to run u-boot from 16 MB SPI flash (https://www.friendlyelec.com/index.php? ... uct_id=307) attached to eMMC slot (https://wiki.friendlyelec.com/wiki/inde ... Layout.jpg)

Im using mainline u-boot (with factory/friendlyelec kernel) and it works fine from SD card. However, when I flash `u-boot-rockchip-spi.bin` to SPI (/dev/mtdblock0), and try to boot (after removing the SD card ofc) nothing happens. I even tried flashing `u-boot-rockchip.bin` to the SPI

I used

Code: Select all

dd if=u-boot-rockchip-spi.bin of=/dev/mtdblock0 conv=fdatasync status=progress
to flash it. The header of looks like:

Code: Select all

00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00008000  52 4b 4e 53 00 00 00 00  80 01 02 00 01 00 00 00  |RKNS............|
00008010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*


Does anyone have any idea what I'm doing wrong? Is there an official (or unofficial at this point) guide for booting from SPI? Any help would be appreciated, thanks!