linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Nethra <nethra_gmit@yahoo.co.in>
To: linuxppc-embedded@ozlabs.org
Subject: jffs2 file system
Date: Thu, 22 Feb 2007 02:16:32 -0800 (PST)	[thread overview]
Message-ID: <9097247.post@talk.nabble.com> (raw)



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.

             reply	other threads:[~2007-02-22 10:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 10:16 Nethra [this message]
2007-02-22 10:27 ` jffs2 file system Juergen Beisert
2007-02-22 10:58   ` [PATCH] " Nethra
2007-02-22 11:29     ` Juergen Beisert
2007-02-23  4:28       ` Nethra
2007-02-23 14:55         ` Ben Warren
2007-02-24  3:19           ` Nethra
2007-02-24  3:25             ` Ben Warren
2007-02-24  3:38               ` Nethra
2007-02-24  3:45               ` Nethra
2007-02-22 11:44 ` Josh Boyer
2007-02-24  8:38   ` [PATCH] " Nethra
2007-02-24 17:30     ` Juergen Beisert
2007-02-26  3:28       ` Nethra
2007-02-24 22:15     ` Ben Warren
2007-02-26  3:04       ` Nethra
2007-02-26  9:14       ` Nethra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9097247.post@talk.nabble.com \
    --to=nethra_gmit@yahoo.co.in \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).