Re: Formatting JFFS2 Flash

3 messages, 3 authors, 2002-03-14 · open the first message on its own page

Re: Formatting JFFS2 Flash

From: Billalabeitia, Jose Carlos (IndSys, GEPM) <hidden>
Date: 2002-03-14 08:33:55

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/

Re: Formatting JFFS2 Flash

From: Alex Zeffertt <hidden>
Date: 2002-03-14 11:31:38

	2.- cp jffs2.image /dev/mtd0

and then mounting it into the system.
This looks wrong.  You should use

cat jffs2.image > /dev/mtd0

Alex


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

RE: Formatting JFFS2 Flash

From: Jim Lewis <hidden>
Date: 2002-03-14 13:30:28

Did you remember to erase the flash first with:
	erase /dev/mtd0
Then "xxd /dev/mtd0" should show all FF's. You can't write
successfully unless it is erased first. Forgive me if I am stating the
obvious :)

-Jim Lewis
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
Billalabeitia, Jose Carlos (IndSys, GEPM)
Sent: Thursday, March 14, 2002 2:34 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Formatting JFFS2 Flash



Hi Alex:

First of all, thank you for your answer. You wrote:
quoted
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.
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help