Skip to contentSkip to conversation

JFFS2 for IBM ppc405 based Target board

DISCUSSION Rakesh Jagota 2 participants 3 messages Apr 21, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all,
I am using montavista linux priviewkit 2.4.17. Currently I am using nfs. How can I create jffs2 file fyftem. I am working with IBM power pc 405. Can anyone suggest me, how to create the jffs2 filesystem for PPC 405.

Thanks & Regards,

Rakesh

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

#1 lore raw
Quoted 4 lines · In message <slemye5aoor48df.210420031014@gda-server> you wrote:

I am using montavista linux priviewkit 2.4.17. Currently I am using nfs. How can I create jffs2 file fyftem. I am working with IBM power pc 405. Can anyone suggest me, how to create the jffs2 filesystem for PPC 405.

Create a directory with all the required files for yout JFFS2 filesystem, and use the mkfs.jffs2 which comes with the MTD tools to create a JFFS2 image.

See also the mkfs.jffs2 man page.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
"Engineering without management is art." - Jeff Johnson

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

A message that is not in the archive (sent off-list or not yet received): 000f01c307cb$6a614160$af85efcb@qhavm

#3 lore raw

Hi all,
I have downloaded the source and I have installed it my host machine as per the instruction. I am not able to compile it for jffs2, but its getting compiled for jffs, using the following command:

In the Makefile I have chnaged the linux directory as per my target sourec directory for IBM Power PC 405.

make jffs

After that I have complied the "util" using "make" command. I am getting confused , to get the final image. I am using the following command, can you pl tell em whether I am doing it right or wrong:

====================================================================
[root@Rakesh mtd]# ./mkfs.jffs -d /home/test/mtd/fs/jffs -o /tmp/jffs.image
====================================================================

and

====================================================================
[root@Rakesh mtd]# ./mkfs.jffs2 -d /home/test/mtd/fs/jffs -o /tmp/jffs.image1
====================================================================

With the first option I am getting the jffs.image of 1705432Kb and with the second option , when I use mkfs.jffs2, I am getting the jffs.image1 of size 657876KB

Can anyone suggest me whether I am doing it right or not. And can I use anyone of the command like mkfs.jffs or mkfs.jffs2.

Thanks & Regards,

Rakesh

Quoted 6 lines · you

mkfs.jffs2

----- Original Message -----

Quoted 19 lines

From: "Rakesh Jagota" <[email protected]>

To: <[email protected]>

Sent: Monday, April 21, 2003 1:54 PM

Subject: JFFS2 for IBM ppc405 based Target board

Quoted 6 lines

Hi all,

I am using montavista linux priviewkit 2.4.17. Currently I am using nfs. How

can I create jffs2 file fyftem. I am working with IBM power pc 405.

Quoted 10 lines
Quoted 10 lines

Can anyone suggest me, how to create the jffs2 filesystem for PPC 405. Thanks & Regards,

Rakesh

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