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/