Skip to contentSkip to conversation

Flash C3 Cowardly refusing to erase blocks

DISCUSSION David Woodhouse 2 participants 2 messages Feb 9, 2003 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 001501c2d022$4a99e3e0$0200a8c0@ester

#1 lore raw
Quoted 5 lines · Kentropy

Hello,
I am using Fash TE28F320-C3
I've read various posts into the mail history in linux-mtd and arm-linux and I've not yet understood if this C3 flash type is properly supported into the kernel-2.4.19 neither 2.5.x.

It is.

Quoted 1 line

I've got this error and I think I need a patch for C3 flash.

No, it just looks like you don't actually have a JFFS2 image in the correct place on your flash chip. How did you put it there?

Signature · 1 line
dwmw2
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines

I've not yet understood if this C3 flash type is properly supported into the kernel-2.4.19 neither 2.5.x.

I've got this error and I think I need a patch for C3 flash.

As I've already told you, C3 flash works fine in recent 2.4 and 2.5 kernels. Please stop asking if C3 flash is supported.

The only caveat is that you must unlock it before you r/w mount a jffs2 partition contained within C3 flash.

If you want to use a C3 jffs2 parition as your *root* partition, you must to do one of three things:

1. have your bootloader unlock the flash (this would be easy, e.g, in blob),

2. use my kernel patch (or similar code),

or

3. use an initrd that uses the mtd utils to unlock the flash and then mounts the jffs2 root and pivots.

-ch