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.

Flashing kernel & ramdisk in SPI Flash using U-Boot

Other Parts Discussed in Thread: AM1705

Hi,

I am currently working on AM1705 custom board. Our board have 64MB ram & 32 MB flash.

The memory Map of my Flash is given below:

ARM UBL is stored at: 0x00 

U-Boot is stored at : 0x10000

U-Boot parameters is stored : 0x40000

Linux Kernel at : 0x60000 

Ramdisk : 0x400000

I am using the following commands given below for writing to SPI flash

sf erase 0x60000 0x300000

tftp 0xC0700000 uImage

sf write 0xC0700000 0x60000 0x300000

sf read 0xC0700000 0x60000 0x300000

But when i am booting the kernel it is giving me Bad CRC error.

But sometimes when i re write the code in flash then it works properly

So I my case flashing of uImage works only 1 out of 20 times. 

Similar case occur for ramdisk.

Can anyone provide me solution that how can I solve my above given issue.

 

Please revert back as soon as possible

 

Thanks & regards

Jitendra