[U-Boot-Users] JFFS2: CRC Problem with Kernel Image

Hi all,
I have an PowerPC board running U-Boot and Linux. So I created an JFFS2 filesystem on one of my static MTD partitions an put the Kernel Image into.
bash-2.05# eraseall /dev/mtd1 Erased 4096 Kibyte @ 0 -- 100% complete. bash-2.05# mount -t jffs2 /dev/mtdblock1 /mnt/ bash-2.05# cp /pImage /mnt/ bash-2.05# cd /mnt/ bash-2.05# ls -l total 527 -rw-r--r-- 1 root root 539419 Jul 22 11:36 pImage bash-2.05# cd .. bash-2.05# umount /mnt/
Then I reboot my board and U-Boot starts. I copy the Kernel Image to the memory with "fsload". But running "iminfo" or "bootm" I get a CRC Error. Some ideas what's wrong? (Thank you for any help.)
->ls Scanning JFFS2 FS: . done. -rw-r--r-- 539419 Tue Jul 22 15:42:25 2003 pImage ->fsload 100000 pImage ### JFFS2 loading 'pImage' to 0x100000 ### JFFS2 load complete: 539419 bytes loaded to 0x100000 ->iminfo 100000 ## Checking Image at 00100000 ... Image Name: Linux-2.4.4 Created: 2003-07-21 14:53:03 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 539355 Bytes = 526.7 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC ->

In message 6E5C570BD3BCBA43A26BE0BC030530D625668B@srvthor.init-ka.lan you wrote:
I have an PowerPC board running U-Boot and Linux. So I created an JFFS2
Which version of U-Boot is this?
filesystem on one of my static MTD partitions an put the Kernel Image into.
bash-2.05# eraseall /dev/mtd1 Erased 4096 Kibyte @ 0 -- 100% complete. bash-2.05# mount -t jffs2 /dev/mtdblock1 /mnt/ bash-2.05# cp /pImage /mnt/ bash-2.05# cd /mnt/ bash-2.05# ls -l total 527 -rw-r--r-- 1 root root 539419 Jul 22 11:36 pImage
Are you sure the image is still OK?
Please try: mkimage -l /mnt/pImage
Best regards,
Wolfgang Denk
participants (2)
-
Martin, Vitali
-
Wolfgang Denk