public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* JFFS2 on NAND Flash
@ 2007-05-02 11:20 parthasarathy.muniswamy
  2007-05-02 11:34 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: parthasarathy.muniswamy @ 2007-05-02 11:20 UTC (permalink / raw)
  To: linux-omap-open-source

Hello to all

 

            Our aim is to use JFFS2 with NAND flash. The target board is
SDP2430. 

            

           The proceedings are described below.

 

            Tool chain used:  arm-linux , ver 3.3.2

            

 Kernel: 2.6, support for MTD and JFFS2 is enabled

 

MTD util:  mtd-utils-1.0.1

                Built this with the above tool chain, and installed it
on /Project/rootfs. This will be used as target RFS

 

Mkefs2 utility is used to generate a ramdisk from /Project/rootfs.

 

On successful booting the kernel on the target, with the above image and
ramdisk, we tried to use the MTD util nftl_format. 

But it returns the following error

 

------------

# nftl_format /dev/mtd12

/sbin/nftl_format: 1: Syntax error: "(" unexpected

---------

 

Also, the same error results, for all the MTD util, like nandwrite,
nand_info, mkfs.jffs2, etc.

 

Please help. 

 

Let me know if, you need any other information.

 

Thanks in advance

Partha 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: JFFS2 on NAND Flash
  2007-05-02 11:20 JFFS2 on NAND Flash parthasarathy.muniswamy
@ 2007-05-02 11:34 ` Nishanth Menon
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2007-05-02 11:34 UTC (permalink / raw)
  To: parthasarathy.muniswamy; +Cc: linux-omap-open-source

parthasarathy.muniswamy@wipro.com stated on 5/2/2007 6:20 AM:
> ------------
>
> # nftl_format /dev/mtd12
>
> /sbin/nftl_format: 1: Syntax error: "(" unexpected
>
> ---------
first see which binary is executing - "which nftl_format"-same as what
you intended.., then try strace. Looks most probably to be a filesystem
issue.. mebbe check thru the mtd compilation path once.. do a "file
binary_name" to see ABI versions etc..
Regards,
NM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-02 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02 11:20 JFFS2 on NAND Flash parthasarathy.muniswamy
2007-05-02 11:34 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox