[U-Boot-Users] JFFS2 CRC problem with kernel and ramdisk in U-boot 0.4.0

Dave Ellis dge at sixnetio.com
Fri Dec 5 18:20:17 CET 2003


Maynard Cabiente wrote:
> We are currently using u-boot 0.4.0 on our custom MPC8270 board with a

> Intel StrataFlash.  Everything is working fine and we can  boot the
Denx PPC 
> Linux Kernel 2.4.4 using NFS.  Now we are trying to boot linux kernel
through 
> JFFS2 and we are encountering problems similar to the problem posted
by 
> Vitali Martin on 7-22-2003.  (See link below.)
> 
>
http://sourceforge.net/mailarchive/forum.php?thread_id=2814642&forum_id=
12898
> 
> Not entirely sure if this was resolved because the thread just died
without 
> the real answer.

I fixed some JFFS2 problems for U-Boot 0.4.8. If you can't just use
the latest U-Boot you need to update fs/jffs2/jffs2_1pass.c and
include/jffs2/jffs2.h.

Before the patch a clean jffs2 image from mkfs.jffs2 would work fine,
but I had problems if I copied a new kernel in with cp or ftp. 
It would usually (but not always) be corrupted when read by U-Boot,
but it was fine when read by Linux.

Dave

Dave Ellis
~~~~~~~~~~~~~~~~~~~~~~~~~~
SIXNET - "Leading the Industrial Ethernet Revolution"
331 Ushers Road,   P.O. Box 767, Clifton Park, NY 12065 USA
Tel +1 (518) 877-5173   Fax +1 (518) 877-8346
Email me at: dge at sixnetio.com 
Detailed product info: www.sixnetio.com 
~~~~~~~~~~~~~~~~~~~~~~~~~~






More information about the U-Boot mailing list