Skip to contentSkip to conversation

MTD CVS: missing JFFS2?

DISCUSSION 4 participants 4 messages Nov 5, 2002 – Nov 7, 2002 Memory technology devices (MTD)

lore
Share & tools
lore

#0 lore raw

Hi guys, i follow the instructions found at sources.redhat.com/jffs2 and download the latest MTD source from CVS.

under the patches subdir, there is a patchin.sh, which i run.

However, after taking a look at patchin.sh, i realize that the jffs2 code doesnt seem to get patched at all!, only jffs. Am i therefore to assume that the MTD CVS does not contain any jffs2 code at all, and that i should just use the jffs2 code from the stock kernel?

Any help/explanation would be appreciated. Thanks.

-jf

(according to sources.redhat.com/jffs2 -
"JFFS2 has been included in the official Linux kernel since the 2.4.10 release. The latest code is available from the Memory Technology Device (MTD) CVS tree at cvs.infradead.org. To obtain an up to date copy, use the following commands:...")

--
"It's an extraordinary world!" - jfsworld <at> fastmail.fm

#1 lore raw

NAND flash of EDB7312

i recently tried to use NAND flash of EDB7312 while using kernel 2.4.18 But, i didn't succeed.
My EDB7312 board just can read DEVICE ID of NAND flash like below,

----Manufacture ID: 0x98, Chip ID: 0xe6 (Toshiba TC58V64AFT/DC)

But, i can't access /dev/mtd?, even though i configured MTD stuff. i think some timing factor would be problems.

So, Did anybody succeed to use NAND flash on EDB7312 board ? if somebody succeed, Could you inform me the value of MEMCFG1?

Any Other comment will be welcome.

Bye!

#2 lore raw

Re: NAND flash of EDB7312

Quoted 2 lines · Taeil Um

So, Did anybody succeed to use NAND flash on EDB7312 board ? if somebody succeed, Could you inform me the value of MEMCFG1?

It worked ok for me using ARMboot (armboot.sf.net) and Elinos, which uses the driver checked in on Infradead. As for MEMCFG1, see armboot/board/ep7312/memsetup.S:

...
memcfg1_val: .long 0x1f101710
...

Regards,
Marius

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

Marius Groeger           SYSGO Real-Time Solutions AG       [email protected]
Software Engineering     Embedded and Real-Time Software    www.sysgo.de
Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com
#3 lore raw
In reply to
Quoted 9 lines · Jeffrey Lim

Hi guys, i follow the instructions found at sources.redhat.com/jffs2 and download the latest MTD source from CVS.

under the patches subdir, there is a patchin.sh, which i run.

However, after taking a look at patchin.sh, i realize that the jffs2 code doesnt seem to get patched at all!, only jffs. Am i therefore to assume that the MTD CVS does not contain any jffs2 code at all, and that i should just use the jffs2 code from the stock kernel?

CVS definitely contains jffs2 code, but I never used patchin.sh. By hand, you would switch fs/jffs2 and include/linux/jffs2*.

Hope that helps.

Jörn

Signature · 3 lines
The cheapest, fastest and most reliable components of a computer
system are those that aren't there.
-- Gordon Bell, DEC labratories