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 boot support for AM335x

Hello :

I am using spi flash 

S25FL128S which is made from spansion is in 64KB sector.

My first boot option is serail and second is spi flash.

I have do this  test that I use serial   to send uboot-spl.bin and u-boot.img to am335x  start the uboot ,

then  get the uImage from tftp server ,then I use uboot command  sf write the uImage to S25FL128S offset from 0.

Then I power off the system  ,I use the serial boot the uboot again.

I read the uImage from S25FL128S to sdram address 0x80000000 ,then I can boot the linux kernel  bootm 0x80000000.The linux system run fine.

It  prove that the read and write to the flash is fine.

But when I write the MLO and u-boot.img to S25FL128S and power on and power off ,the uboot can not boot.

It show five C character then stop.

But when I use the M25P64 write the MLO and u-boot.img  to it ,the uboot can  be started.

I want to know which  spiflash is support by the bootcode in am335x?

Is there any devicelist available?Or how can I  start my uboot in S25FL128S by the boot romcode?

Best regards

wangl