public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jack Lu" <jlu@rdmcorp.com>
To: <linux-mtd@lists.infradead.org>
Subject: about jffs2's compression and cfi->fast_prog being turn off
Date: Mon, 20 May 2002 11:47:52 -0400	[thread overview]
Message-ID: <DFEAJMIABOLKNEBOPGDHOEDLCBAA.jlu@rdmcorp.com> (raw)

Hi
	I read the paper posted on May5th 2001 by Vinip Malik, it says:

One down side to this is that if you are writing compressed data to the
system, the CPU will spend time trying to compress it further. At this time
of writing, compression cannot be turned off. There are some plans to
implement this feature however (even turn it off on a directory by directory
basis!).

Now I have set up the jffs2 file system using the latest source code
downloadded from website.

1. With this latest jffs2, can we turn  off the compression? If can , how
can we turn it?


By the way, our compression algorithm is the CCITT Group 4 compression of
bi-level image, the image written to a file with TIFF6.0 file format.

2. If we still use the jffs2 compression after we compress the image using
CCITT4 Group algorithm, could it help us to reduce  the size to store the
compressed image into the flash memory?

3. With the latest jffs2, the erase suspend is implemented for AMD CFI
chips, such as Am29Lv320MB?

4. The cfi_cmdset_0002.c file includes:

	if (cfi->fast_prog) {
		/* In cfi_amdstd_write() we frob the protection stuff
		   without paying any attention to the state machine.
		   This upsets in-progress erases. So we turn this flag
		   off for now till the code gets fixed. */
		printk(KERN_NOTICE "cfi_cmdset_0002: Disabling fast programming due to
code brokenness.\n");
		cfi->fast_prog = 0;
	}
Turnning off the cfi->fast_prog will affect the the time needed to program
the flahsh?


Thanks.

             reply	other threads:[~2002-09-20 15:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-20 15:47 Jack Lu [this message]
2002-09-20 15:55 ` about jffs2's compression and cfi->fast_prog being turn off 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=DFEAJMIABOLKNEBOPGDHOEDLCBAA.jlu@rdmcorp.com \
    --to=jlu@rdmcorp.com \
    --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