* Jffs2 file system
@ 2004-07-21 19:48 Lei Yang
2004-07-21 20:41 ` Josh Boyer
2004-07-21 23:47 ` George G. Davis
0 siblings, 2 replies; 11+ messages in thread
From: Lei Yang @ 2004-07-21 19:48 UTC (permalink / raw)
To: Linux-Kernel (E-mail), Kernelnewbies (E-mail)
Hello,
Can I use jffs2 on a ramdisk? Is jffs2 only designed to be used on flash memory devices rather than RAM devices?
What about cramfs?
TIA.
Lei
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Jffs2 file system
2004-07-21 19:48 Jffs2 file system Lei Yang
@ 2004-07-21 20:41 ` Josh Boyer
2004-07-21 20:58 ` Josh Boyer
2004-07-21 23:47 ` George G. Davis
1 sibling, 1 reply; 11+ messages in thread
From: Josh Boyer @ 2004-07-21 20:41 UTC (permalink / raw)
To: Lei Yang; +Cc: Linux-Kernel (E-mail), Kernelnewbies (E-mail)
On Wed, 2004-07-21 at 14:48, Lei Yang wrote:
> Hello,
>
> Can I use jffs2 on a ramdisk? Is jffs2 only designed to be used on flash memory devices rather than RAM devices?
> What about cramfs?
jffs2 needs an MTD device, so it can be run on any medium that MTD
supports. There are some MTD drivers for RAM based devices.
The MTD mailing list might be able to help you more
(linux-mtd@lists.infradea.org).
josh
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Jffs2 file system
2004-07-21 19:48 Jffs2 file system Lei Yang
2004-07-21 20:41 ` Josh Boyer
@ 2004-07-21 23:47 ` George G. Davis
1 sibling, 0 replies; 11+ messages in thread
From: George G. Davis @ 2004-07-21 23:47 UTC (permalink / raw)
To: Lei Yang; +Cc: Linux-Kernel (E-mail), Kernelnewbies (E-mail)
On Wed, Jul 21, 2004 at 03:48:35PM -0400, Lei Yang wrote:
> Hello,
>
> Can I use jffs2 on a ramdisk? Is jffs2 only designed to be used on flash memory devices rather than RAM devices?
Your jffs2 question was already answered.
But this one wasn't answered:
> What about cramfs?
You can in fact use cramfs "on a ramdisk", e.g.:
cat image.cramfs > /dev/ram1
mkdir /mnt/cramfs
mount -oro /dev/ram1 /mnt/cramfs
mount | grep ram1
/dev/ram1 on /mnt/cramfs type cramfs (ro)
Of course cramfs also works on other block devices as well, e.g. mtdblock.
--
Regards,
George
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Jffs2 file system
@ 2004-07-21 21:15 Lei Yang
2004-07-23 6:00 ` David Woodhouse
0 siblings, 1 reply; 11+ messages in thread
From: Lei Yang @ 2004-07-21 21:15 UTC (permalink / raw)
To: Josh Boyer; +Cc: Linux-Kernel (E-mail), Kernelnewbies (E-mail)
Thanks! I'll try that.
-----Original Message-----
From: Josh Boyer [mailto:jdub@us.ibm.com]
Sent: Wednesday, July 21, 2004 4:59 PM
To: Lei Yang
Cc: Linux-Kernel (E-mail); Kernelnewbies (E-mail)
Subject: Re: Jffs2 file system
On Wed, 2004-07-21 at 15:41, Josh Boyer wrote:
> The MTD mailing list might be able to help you more
> (linux-mtd@lists.infradea.org).
sorry, that should be linux-mtd@lists.infradead.org
josh
^ permalink raw reply [flat|nested] 11+ messages in thread
* jffs2 file system
@ 2007-01-04 13:43 inventor inventeors
2007-01-04 14:56 ` Josh Boyer
0 siblings, 1 reply; 11+ messages in thread
From: inventor inventeors @ 2007-01-04 13:43 UTC (permalink / raw)
To: linux-mtd
Dear Members
Kindly mail me the link from where I can download JFFS2 for
linux kernel 2.6.x.x
Regards
^ permalink raw reply [flat|nested] 11+ messages in thread* jffs2 file system
@ 2007-02-22 10:16 Nethra
2007-02-22 10:27 ` Juergen Beisert
2007-02-22 11:44 ` Josh Boyer
0 siblings, 2 replies; 11+ messages in thread
From: Nethra @ 2007-02-22 10:16 UTC (permalink / raw)
To: linuxppc-embedded
hi,
I m using PQ2FADS-ZU board and montavista kernel 2.6.10.
u-boot is u-boot-1.1.1
Kernel configuration for MTD and JFFS2 support...
CONFIG_MTD=3Dy
CONFIG_MTD_DEBUG=3Dy
CONFIG_MTD_DEBUG_VERBOSE=3D0
# CONFIG_MTD_CONCAT is not set
CONFIG_MTD_PARTITIONS=3Dy
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=3Dy
#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=3Dy
CONFIG_MTD_BLOCK=3Dy
CONFIG_FTL=3Dy
#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=3Dy
CONFIG_MTD_JEDECPROBE=3Dy
CONFIG_MTD_GEN_PROBE=3Dy
CONFIG_MTD_CFI_ADV_OPTIONS=3Dy
CONFIG_MTD_CFI_NOSWAP=3Dy
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
CONFIG_MTD_CFI_GEOMETRY=3Dy
CONFIG_MTD_MAP_BANK_WIDTH_1=3Dy
CONFIG_MTD_MAP_BANK_WIDTH_2=3Dy
CONFIG_MTD_MAP_BANK_WIDTH_4=3Dy
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=3Dy
CONFIG_MTD_CFI_I2=3Dy
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_OTP=3Dy
CONFIG_MTD_CFI_INTELEXT=3Dy
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=3Dy
# CONFIG_MTD_RAM is not set
CONFIG_MTD_ROM=3Dy
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_XIP is not set
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
CONFIG_MTD_PHYSMAP=3Dy
CONFIG_MTD_PHYSMAP_START=3D0x8000000
CONFIG_MTD_PHYSMAP_LEN=3D0x4000000
CONFIG_MTD_PHYSMAP_BANKWIDTH=3D2
# CONFIG_MTD_MULTI_PHYSMAP is not set
# CONFIG_MTD_SBC8240 is not set
CONFIG_MTD_PQ2FADS=3Dy
=20
JFFS2........
----------------
CONFIG_JFFS_FS=3Dy
CONFIG_JFFS_FS_VERBOSE=3D0
CONFIG_JFFS_PROC_FS=3Dy
CONFIG_JFFS2_FS=3Dy
CONFIG_JFFS2_FS_DEBUG=3D0
CONFIG_JFFS2_FS_WRITEBUFFER=3Dy
CONFIG_JFFS2_COMPRESSION_OPTIONS=3Dy
CONFIG_JFFS2_ZLIB=3Dy
CONFIG_JFFS2_RTIME=3Dy
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_JFFS2_CMODE_NONE is not set
CONFIG_JFFS2_CMODE_PRIORITY=3Dy
created jffs2 image using mkfs.jffs2 on host
----------------------------------------------------
mkfs.jffs2 -r /mnt/tmp -e 0x10000 -o image.jffs2 -b
on evaluation (PQ2FADS-ZU) board....
--------------------------------------------
setenv ipaddr 192.168.178.234
setenv serverip 192.168.178.110
setenv ethaddr 00:99:23:44:ad:de
setenv bootcmd 'tftpboot 0x1000000 jffsenabled\;bootm 0x1000000\;'
setenv bootargs root=3D/dev/mtdblock0 rootfstype=3Djffs2
ip=3D192.168.174.231:192.168.178.110:192.168.174.47:255.255.255.0:cashel:et=
h1:off=20
steps fallowed are....
erase FF800000 FFDFFFFF
tftpboot 0x100000 image.jffs2=20
cp.b 100000 FF800000 4dc874
run bootcmd
linux does not bootup...
what is the problem ?=20
I m also trying to mount jffs2 after nfs mounting.....
-------------------------------------------------------------
cat /proc/mtd and cat /proc/partitions are working fine.
steps fallowed are...
1. mkfs.jffs2 =E2=88=92=E2=88=92pad=3D3145728 =E2=88=92=E2=88=92eraseblock=
=3D262144 =E2=88=92=E2=88=92root=3D/mnt =E2=88=92=E2=88=92output
image.jffs2
2. flash_erase /dev/mtd0
3. cp /var/tm/image.jffs2 /dev/mtd0
4. mount -t jffs2 /dev/mtdblock0 /mnt
it is not working?
thanks in advance.
best wishes,
Nethra
--=20
View this message in context: http://www.nabble.com/jffs2-file-system-tf327=
1928.html#a9097247
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: jffs2 file system
2007-02-22 10:16 Nethra
@ 2007-02-22 10:27 ` Juergen Beisert
2007-02-22 11:44 ` Josh Boyer
1 sibling, 0 replies; 11+ messages in thread
From: Juergen Beisert @ 2007-02-22 10:27 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Nethra
MTD partitions and partition commandline are enabled:
> CONFIG_MTD_PARTITIONS=y
> # CONFIG_MTD_REDBOOT_PARTS is not set
> CONFIG_MTD_CMDLINE_PARTS=y
[...]
>
> on evaluation (PQ2FADS-ZU) board....
> --------------------------------------------
> setenv ipaddr 192.168.178.234
> setenv serverip 192.168.178.110
> setenv ethaddr 00:99:23:44:ad:de
> setenv bootcmd 'tftpboot 0x1000000 jffsenabled\;bootm 0x1000000\;'
> setenv bootargs root=/dev/mtdblock0 rootfstype=jffs2
> ip=192.168.174.231:192.168.178.110:192.168.174.47:255.255.255.0:cashel:eth1
>:off
But where is your commandline that describes the partitions in your flash?
Juergen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: jffs2 file system
2007-02-22 10:16 Nethra
2007-02-22 10:27 ` Juergen Beisert
@ 2007-02-22 11:44 ` Josh Boyer
1 sibling, 0 replies; 11+ messages in thread
From: Josh Boyer @ 2007-02-22 11:44 UTC (permalink / raw)
To: Nethra; +Cc: linuxppc-embedded
On Thu, 2007-02-22 at 02:16 -0800, Nethra wrote:
>
> hi,
> I m using PQ2FADS-ZU board and montavista kernel 2.6.10.
> u-boot is u-boot-1.1.1
>
> Kernel configuration for MTD and JFFS2 support...
Posting the output of your boot messages will likely get you more help
than a .config.
josh
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-02-22 12:31 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-21 19:48 Jffs2 file system Lei Yang
2004-07-21 20:41 ` Josh Boyer
2004-07-21 20:58 ` Josh Boyer
2004-07-21 23:47 ` George G. Davis
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 21:15 Lei Yang
2004-07-23 6:00 ` David Woodhouse
2007-01-04 13:43 jffs2 " inventor inventeors
2007-01-04 14:56 ` Josh Boyer
2007-02-22 10:16 Nethra
2007-02-22 10:27 ` Juergen Beisert
2007-02-22 11:44 ` Josh Boyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.