public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Juan Gonzo <kayemmess@yahoo.ca>
Cc: MTD Mailing List <mtd@infradead.org>
Subject: Re: mtd devices & jffs
Date: Tue, 11 Jul 2000 08:30:23 +0100	[thread overview]
Message-ID: <20923.963300623@cygnus.co.uk> (raw)
In-Reply-To: <20000710221950.8117.qmail@web5304.mail.yahoo.com>


kayemmess@yahoo.ca said:
> Dirty flash memory or bad inode: hexdump(pos = 0x1098176, len = 128):

Looks like there were data on the flash chips before you started. Erase 
them first. There's no utility to erase whole devices, but the 'erase' 
program in the util/ directory will erase a single erase block at a time.

 for a in `seq 0 131072 16777216` ; do mtd/util/erase /dev/mtd0 $a ; done

...or put a loop into the erase program. The MTDGETINFO ioctl should return 
the size of the device.


--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  parent reply	other threads:[~2000-07-11  7:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-10 22:19 mtd devices & jffs Juan Gonzo
2000-07-11  6:37 ` Rogelio M. Serrano Jr.
2000-07-11  7:30 ` David Woodhouse [this message]
2000-07-12  1:10 ` Rogelio M. Serrano Jr.
2000-07-12  8:20   ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2000-07-11 21:23 Juan Gonzo
2000-07-12  8:19 ` David Woodhouse
2000-07-12  9:35   ` 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=20923.963300623@cygnus.co.uk \
    --to=dwmw2@infradead.org \
    --cc=kayemmess@yahoo.ca \
    --cc=mtd@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