DDR Test in Initramfs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DDR Test in Initramfs

1,066 次查看
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

标签 (1)
0 项奖励
回复
1 回复

1,004 次查看
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 项奖励
回复