DDR Test in Initramfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DDR Test in Initramfs

399 Views
hajimohammed
Contributor III

Hi,

   Initramfs loading in MFG tool. Validating DDR data lines and Address lines from Uboot.

   DDR test is pass(Below prints are displayed in console).

DDR Test Pass

But when ddr testing is completed, Kernel is not loading , below is boot log for reference

Kernel image @ 0x80800000 [ 0x000000 - 0x4a7ab0 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
   Image Name:   PRFYC Initramfs
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    13550857 Bytes = 12.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... Bad Data CRC
Ramdisk image is corrupt or invalid
G18M>

Please  let me know, how to validate the ddr data line and address line in uboot.

Regards,

Haji

Labels (1)
0 Kudos
1 Reply

337 Views
b36401
NXP Employee
NXP Employee

You can load data into RAM and check the CRC with crc32 command. Here is an example:

=> fatload mmc 0:1 0x80800000 zImage
reading zImage
6616232 bytes read in 295 ms (21.4 MiB/s)
=> crc32 0x80800000 0x64F4A8
CRC32 for 80800000 ... 80e4f4a7 ==> a9ceef28
=>

0 Kudos