linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Formatting JFFS2 Flash
@ 2002-03-14  8:33 Billalabeitia, Jose Carlos (IndSys, GEPM)
  2002-03-14 11:31 ` Alex Zeffertt
  2002-03-14 13:30 ` Jim Lewis
  0 siblings, 2 replies; 9+ messages in thread
From: Billalabeitia, Jose Carlos (IndSys, GEPM) @ 2002-03-14  8:33 UTC (permalink / raw)
  To: linuxppc-embedded


Hi Alex:

First of all, thank you for your answer. You wrote:

> Did you initialise the FS with
> cat jffs2.image > /dev/mtd0
> before you tried to mount /mtdblock0 ?

	I tried it in two ways, and in both of them
I got the same result:

	1.- By flashing "jffs2.image" directly to
	    its location address.

	2.- cp jffs2.image /dev/mtd0

and then mounting it into the system.

> Did you use an empty directory with mkfs.jffs2
> to make your jffs2.image?  This doesn't work
> - you end up with a 0 length jffs2.image!

	No, the directory is not empty.

					Thank you
						Billa


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Formatting JFFS2 Flash
@ 2002-03-14 17:46 Billalabeitia, Jose Carlos (IndSys, GEPM)
  0 siblings, 0 replies; 9+ messages in thread
From: Billalabeitia, Jose Carlos (IndSys, GEPM) @ 2002-03-14 17:46 UTC (permalink / raw)
  To: linuxppc-embedded


Jim Lewis wrote:

> Did you remember to erase the flash first with:
>	erase /dev/mtd0

	Yes, I erased it in two ways:
		- by using the "erase" command
		- from the ppcboot.

					Billa


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Formatting JFFS2 Flash
@ 2002-03-14  8:13 Billalabeitia, Jose Carlos (IndSys, GEPM)
  0 siblings, 0 replies; 9+ messages in thread
From: Billalabeitia, Jose Carlos (IndSys, GEPM) @ 2002-03-14  8:13 UTC (permalink / raw)
  To: linuxppc-embedded


Hi Alex:

First of all, thank you for your answer. You wrote:

> Did you initialise the FS with
> cat jffs2.image > /dev/mtd0
> before you tried to mount /mtdblock0 ?

	I tried it in two ways, and in both of them
I got the same result:

	1.- By flashing "jffs2.image" directly to
	    its location address.

	2.- cp jffs2.image /dev/mtd0

and then mounting it into the system.

> Did you use an empty directory with mkfs.jffs2
> to make your jffs2.image?  This doesn't work
> - you end up with a 0 length jffs2.image!

	No, the directory is not empty.

					Thank you
						Billa


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Formatting JFFS2 Flash
@ 2002-03-13 16:14 Navin Boppuri
  0 siblings, 0 replies; 9+ messages in thread
From: Navin Boppuri @ 2002-03-13 16:14 UTC (permalink / raw)
  To: Billalabeitia, Jose Carlos (IndSys, GEPM),
	Linuxppc-Embedded (E-mail)


You should try the linux-mtd mailing lists.

http://lists.infradead.org/mailman/listinfo/linux-mtd/

Navin.

-----Original Message-----
From: Billalabeitia, Jose Carlos (IndSys, GEPM)
[mailto:jc.billalabeitia@indsys.ge.com]
Sent: Wednesday, March 13, 2002 9:50 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Formatting JFFS2 Flash



Hi:

	I have a PPC 860T custom board with kernel
2.4.4-2001-11-11-denx and rtai-24.1.4-2-denx. I have
a JFFS2 filesystem on 14MB Flash. I make an initial
filesystem with the "mkfs.jffs2" utility, and the first time
I copy a 1MB file into it, it takes about 2 minutes, and
then on it takes 10 seconds to copy into it the same file.
I suppose that the first time, jffs2 is doing something like
"formatting" the flash.
Does anybody out there know how to do this "formatting"
in a smarter way?

				Thank you
					Billa


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Formatting JFFS2 Flash
@ 2002-03-13 15:50 Billalabeitia, Jose Carlos (IndSys, GEPM)
  2002-03-13 17:53 ` Alex Zeffertt
  0 siblings, 1 reply; 9+ messages in thread
From: Billalabeitia, Jose Carlos (IndSys, GEPM) @ 2002-03-13 15:50 UTC (permalink / raw)
  To: linuxppc-embedded


Hi:

	I have a PPC 860T custom board with kernel
2.4.4-2001-11-11-denx and rtai-24.1.4-2-denx. I have
a JFFS2 filesystem on 14MB Flash. I make an initial
filesystem with the "mkfs.jffs2" utility, and the first time
I copy a 1MB file into it, it takes about 2 minutes, and
then on it takes 10 seconds to copy into it the same file.
I suppose that the first time, jffs2 is doing something like
"formatting" the flash.
Does anybody out there know how to do this "formatting"
in a smarter way?

				Thank you
					Billa

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-03-14 17:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14  8:33 Formatting JFFS2 Flash Billalabeitia, Jose Carlos (IndSys, GEPM)
2002-03-14 11:31 ` Alex Zeffertt
2002-03-14 11:42   ` Wolfgang Denk
2002-03-14 13:30 ` Jim Lewis
  -- strict thread matches above, loose matches on Subject: below --
2002-03-14 17:46 Billalabeitia, Jose Carlos (IndSys, GEPM)
2002-03-14  8:13 Billalabeitia, Jose Carlos (IndSys, GEPM)
2002-03-13 16:14 Navin Boppuri
2002-03-13 15:50 Billalabeitia, Jose Carlos (IndSys, GEPM)
2002-03-13 17:53 ` Alex Zeffertt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).