This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI Flash SPL Boot Error

Attempting to boot SPL & U-boot from a SPI flash on a custom AM335x board. I am using u-boot obtained from the ti sdk (version 6 I believe). I can successfully build spl/u-boot and boot from an SD card, now I am trying to get SPI boot to work. U-boot recognizes my SPI Flash and I follow the procedure here to flash the MLO.byteswap image and u-boot.img here:

http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide#SPI_2

Upon powering on with boot selected for SPI mode the SPL loads and I get the following messages:

SPI error: malloc of SPI structure failed
SF: Failed to set up slave
SPI probe failed.
### ERROR ### Please RESET the board ###

It stops and does not proceed to load u-boot.img. Not really sure what's going on. Would appreciate any advice on the matter.