Bad CRC for ramdisk when using large rootfs
    Yusuf Altıparmak 
    yusufalti1997 at gmail.com
       
    Fri Dec 27 07:47:44 CET 2019
    
    
  
Hello, I Have a demo board which has 8 GB ram. Trying to boot with ramdisk.
When I use large size ramdisk image (447.8 MiB), it's giving Bad CRC while
verifying checksum. When I use small size (49 MiB) its verifiying
successfully. What is the reason of it ?
The commands I use are,
tftp 2000000 uImage-------.bin
tftp 4000000 -------------.dtb
tftp 1000000000 ----------.rootfs.ext2.gz.u-boot
bootm 2000000 1000000000 4000000
u-boot logs are,
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.19.26+gc0c2141
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    7139762 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00000000 ...
   Image Name:   fsl-image-networking-full-t1042d
   Image Type:   PowerPC Linux RAMDisk Image (uncompressed)
   Data Size:    469529163 Bytes = 447.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... Bad Data CRC
Ramdisk image is corrupt or invalid
    
    
More information about the U-Boot
mailing list