AnsweredAssumed Answered

Booting kernel and filesystem in p1022 based board from spi flash

Question asked by somya aggarwal on Mar 28, 2017
Latest reply on Apr 3, 2017 by Pavel Chubakov


I am able to program and load uboot from spi flash. I want to boot kernel , device tree and file system also from spi flash.

I have programmed all the above required files in spi flash .Using sf read commands , I have copied kernel and device tree from spi flash to ram and run bootm command.However i get the  error "  Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!". Can anyone suggest something to resolve this issue.


Please find below the error log:


 sf read 0x100000 0xa0000  4136b0
SF: 4273840 bytes @ 0xa0000 Read: OK
=> sf read 800000 0x4c0000 0x3c28
SF: 15400 bytes @ 0x4c0000 Read: OK
=> bootm 0x100000 - 0x800000
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 00100000 ...
   Image Name:   Linux-3.12.37-rt51-QorIQ-SDK-V1.
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    4273774 Bytes = 4.1 MiB
   Load Address: 00000000
   Entry Point:  00000000

 Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!