public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "nbhorse" <nbhorse@163.com>
To: nbhorse <nbhorse@163.net>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: help about jffs2 write problem.
Date: Thu, 14 Nov 2002 8:45:8 +0800	[thread overview]
Message-ID: <200211141204.gAEC4hm02106@mail.cnbook.com.cn> (raw)

Hello nbhorse!

    I download new mtd and include source code from http://lists.infradead.org,fix my old kernel,ererything is ok

---------2002-11-13 11:42:00 nbhorse wrote:-------

>Hello everyone,
>   I have a problem with the mtd and jffs2.when I ported a linux kernel(2.4.18 rmk7)to my arm 7212 board(samsung k9f560 32m nandflash),and my partition for nand mtd driver like this:
>
>const static struct mtd_partition partition_info[] = {
>	{ name: "kernel",
>	  offset: 0,
>	  size: 1*1024*1024},
>	{ name: "blank",
>	  offset: 1*1024*1024,
>	  size: 1*1024*1024},
>	{ name: "file system 1",
>	  offset: 2*1024*1024,
>	  size: 4*1024*1024},
>	{ name: "SamSung flash partition 1",
>	  offset: 6*1024*1024,
>	  size: 2*1024*1024},
>	{ name: "SamSung flash partition 2",
>	  offset: 8*1024*1024,
>	  size: 24*1024*1024 }
>};
>  and i want to mount partition 1(blank) with jffs2.
>  I have a problem:
>  I use "eraseall /dev/mtd1"(c 90 2) to erase the mtdblock1,and i "mount -t jffs2 /dev/mtdblock1 /flash","copy /bin/busybox /flash",it display following error message:
>
>    ARGH. About to write node to 0x000f8760 on flash, but there's data already there:
>0x000f8760: 57 a6 fb 05 76 e3 29 d7 fe f0 78 b7 ce 0f b8 c6
>                       .....
>then i run"/flash/busybox",error is:
>
>Node CRC b04df10c != calculated CRC 49b35642 for node at 00020760
>Node CRC b04df10c != calculated CRC 49b35642 for node at 00020760
>
>I'm sure that partition 1("blank") is be erased.
>
>if i use ext2 filesystem,everything is ok.
>
>Any help would be appreciated
>
>
>
>______________________________________________________
>Linux MTD discussion mailing list
>http://lists.infradead.org/mailman/listinfo/linux-mtd/

-------------------------------------------------
			

                    Best regards,
				
               nbhorse
               nbhorse@163.com
					2002-11-14

             reply	other threads:[~2002-11-14  0:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14  0:45 nbhorse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-13  3:42 help about jffs2 write problem nbhorse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200211141204.gAEC4hm02106@mail.cnbook.com.cn \
    --to=nbhorse@163.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nbhorse@163.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox