public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jim Zeus <zeusj@firstlinux.net>
To: David Woodhouse <dwmw2@infradead.org>
Cc: all in MTD mailinglist <linux-mtd@lists.infradead.org>
Subject: Re: Quesion on copying to mtdblock0
Date: Thu, 16 May 2002 02:05:38 -0700 (PDT)	[thread overview]
Message-ID: <20020516090540.EB5162756@sitemail.everyone.net> (raw)


--- David Woodhouse <dwmw2@infradead.org> wrote:

>The flash is not completely erased, and doesn't contain _anything_ that 
>looks like valid JFFS2 data, so we don't erase it and start using it, 
>because you might have mounted the wrong partition.

Yes, you are right, and I think I have to apologize for my stupid question

>> I know the "Last[3] is 9da5, datum is 6246" message is to tell me that
>> what should be written is wrongly different from what be read from
>> flash,its a sanity check,but why a printk() can affects the Flash
>> write? 
>
>Timing? You definitely have flash driver problems. 

Just forget about it,its ok now.

>> 1.Is the command"cp jffs.img /dev/mtdblock0" after booting result as
>> same as to burn the jffs.img into flash chip(which is presented as
>> mtdblock0)with kernel Image? 
>
>Yes.

But I cant mount the jffs.img which was copied to mtdblock0(it has been *completely* erased) after booting.

What I mean is I can mount the mtdblock0 to /mnt, but after mounting,/mnt is still a empty directory,thought it should be many files and directories in it(because those are in jffs.img).I think the what the "mount" did is just find the long enough erased space in flash which is after the jffs.img and mount it on.
It may not recognize the jffs.img, what do you think about it?
And I took a same try with JFFS2, but I got "Magic bitmask not found"message then mount failed.Is seems to prove my conclusion.



_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net  http://www.everyone.net/?btn=tag

             reply	other threads:[~2002-05-16  9:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16  9:05 Jim Zeus [this message]
2002-05-16 12:24 ` Quesion on copying to mtdblock0 David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2002-05-17  8:46 Jim Zeus
2002-05-17  8:57 ` David Woodhouse
2002-05-17  8:34 Jim Zeus
2002-05-17  8:42 ` David Woodhouse
     [not found] <20020517073950.53BD02757@sitemail.everyone.net>
2002-05-17  7:51 ` David Woodhouse
2002-05-17  6:58 Jim Zeus
2002-05-17  7:17 ` David Woodhouse
2002-05-15 18:43 Jim Zeus
2002-05-15 19:17 ` David Woodhouse

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=20020516090540.EB5162756@sitemail.everyone.net \
    --to=zeusj@firstlinux.net \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /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