View unanswered posts | View active topics It is currently Tue Jun 18, 2019 2:40 pm



Reply to topic  [ 2 posts ] 
 CRC Error with initrd on utilite standard 
Author Message

Joined: Mon Jan 27, 2014 7:21 am
Posts: 44
Post CRC Error with initrd on utilite standard
Hello,

I can't seem to get initrd working on the utilite standard. It always reports a CRC error. The very same procedure works fine on my utilite pro.

I create the initrd with
Code:
mkimage -A arm -O linux -T ramdisk -a 0x12000000 -n ramdisk -d /boot/initrd.img /boot/initrd.img.pre


and load it in U-Boot 2014.10-cm-fx6-2.1 (Jan 19 2015 - 11:28:10) with
Code:
loadinitrd=load ${storagetype} ${storagedev} ${initrdaddr} ${initrd}; setenv initrdsize ${filesize};


which results in
Code:
doboot=bootz 0x10800000 0x12000000:2c71af 0x11000000


the 1st argument to bootz is a zImage, 2nd initrd:initrdsize and 3rd fdt...

the exact error is
Code:
CM-FX6 # iminfo $initrdaddr

## Checking Image at 12000000 ...
   Legacy image found
   Image Name:   ramdisk
   Created:      2015-05-04  22:33:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2912623 Bytes = 2.8 MiB
   Load Address: 12000000
   Entry Point:  12000000
   Verifying Checksum ...    Bad Data CRC


md and crc32 reveal
Code:
CM-FX6 # md $initrdaddr 40                                                             
12000000: 56190527 59317767 b3f34755 6f712c00    '..Vgw1YUG...,qo
12000010: 00000012 00000012 e8d75b3c 01030205    ........<[......
12000020: 646d6172 006b7369 00000000 00000000    ramdisk.........
12000030: 00000000 00000000 00000000 00000000    ................
12000040: 00088b1f 551b6c9f fdd40300 55545c0b    .....l.U.....\TU
12000050: ef8c38f7 ca2e7733 a82898a8 28da8c33    .8..3w....(.3..(
12000060: bc35e3a8 e4780c25 4a9782a2 3ab872cd    ..5.%.x....J.r.:
12000070: 58082823 2f0a7978 a615a595 a9158216    #(.Xxy./........
12000080: bc12b795 506988f4 d593d959 7d796a4c    ......iPY...Ljy}
12000090: 18073534 e72103c4 bbcc0cc0 774199d6    45....!.......Aw
120000a0: dfbe7b7e df7bfbef fffde7cf ad67b3f5    ~{....{.......g.
120000b0: ed6df67d 9f6bdb75 f0c1cfb3 c331e198    }.m.u.k.......1.
120000c0: 8bfc0308 0c794e32 5311e8e1 ff7f0c62    ....2Ny....Sb...
120000d0: 3198dc6f a3638c23 ba1f19c7 2301e11e    o..1#.c........#
120000e0: 7687fe46 230faff7 e33c7a06 a8de30ff    F..v...#.z<..0..
120000f0: c6f1c3ff d9a92274 5fc8334b c4a364c6    ....t"..K3._.d..

CM-FX6 # crc32 $initrdaddr 40                                                           
CRC32 for 12000000 ... 1200003f ==> cdd471d9


Thanks for any help!


Tue May 05, 2015 12:29 am
Profile

Joined: Mon Jan 27, 2014 7:21 am
Posts: 44
Post Re: CRC Error with initrd on utilite standard
Backed down to U-Boot 2014.10-cm-fx6-2 (Dec 13 2014 - 16:28:12) to get initrd to work.

Thank g-d, I still had a copy, because I couldn't find it in the resource archives...


Tue May 05, 2015 6:33 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.