I have added contents for the kernel and recompile it and the size is much bigger than the former one, I update the image to Nand Flash, all is OK, but the errors display when booting again.
NAND read: device 0 offset 0x280000, size 0x400000 4194304 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux3.2.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4269392 Bytes = 4.1 MiB Load Address: 80008000 Entry Point: 80008000
Verifying Checksum ... Bad Data CRCERROR:
can't get kernel image!
Answer
Please solve in below way:
Press space key when u-boot in the countdown, stop at the u-boot command line and input two lines of commands:
MYD_AM335X# set nand_img_siz '0x500000' MYD_AM335X# saveenv