Adrian Bunk | 1 May 17:42
Picon
Favicon

[2.6 patch] fs/jffs/: cleanups

This patch contains the following cleanups:
- make needlessly global functions static
- provide some debugging helper functions only for appropriate
  values of CONFIG_JFFS_FS_VERBOSE

Signed-off-by: Adrian Bunk <bunk <at> stusta.de>

---

This patch was already sent on:
- 23 Apr 2005

 fs/jffs/intrep.c  |  114 ++++++++++++++++++++++------------------------
 fs/jffs/intrep.h  |    2 
 fs/jffs/jffs_fm.c |  105 +++++++++++++++++++++---------------------
 fs/jffs/jffs_fm.h |    3 -
 4 files changed, 112 insertions(+), 112 deletions(-)

--- linux-2.6.12-rc2-mm3-full/fs/jffs/intrep.h.old	2005-04-20 23:21:56.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/fs/jffs/intrep.h	2005-04-20 23:24:10.000000000 +0200
@@ -49,8 +49,6 @@
 void jffs_garbage_collect_trigger(struct jffs_control *c);

 /* For debugging purposes.  */
-void jffs_print_node(struct jffs_node *n);
-void jffs_print_raw_inode(struct jffs_raw_inode *raw_inode);
 #if 0
 int jffs_print_file(struct jffs_file *f);
 #endif  /*  0  */
--- linux-2.6.12-rc2-mm3-full/fs/jffs/intrep.c.old	2005-04-20 23:23:03.000000000 +0200
(Continue reading)

Adrian Bunk | 1 May 17:42
Picon
Favicon

[2.6 patch] fs/jffs2/: make some functions static

This patch makes some needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk <at> stusta.de>
Acked-by: Arjan van de Ven <arjanv <at> infradead.org>

---

This patch was already sent on:
- 23 Apr 2005

 fs/jffs2/compr_rubin.c |   18 ++++++++++++------
 fs/jffs2/compr_zlib.c  |   12 ++++++++----
 2 files changed, 20 insertions(+), 10 deletions(-)

--- linux-2.6.12-rc2-mm3-full/fs/jffs2/compr_rubin.c.old	2005-04-20 23:28:57.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/fs/jffs2/compr_rubin.c	2005-04-20 23:30:09.000000000 +0200
@@ -228,8 +228,10 @@
 	return rubin_do_compress(BIT_DIVIDER_MIPS, bits_mips, data_in, cpage_out, sourcelen, dstlen);
 }
 #endif
-int jffs2_dynrubin_compress(unsigned char *data_in, unsigned char *cpage_out, 
-		   uint32_t *sourcelen, uint32_t *dstlen, void *model)
+static int jffs2_dynrubin_compress(unsigned char *data_in,
+				   unsigned char *cpage_out, 
+				   uint32_t *sourcelen, uint32_t *dstlen,
+				   void *model)
 {
 	int bits[8];
 	unsigned char histo[256];
@@ -306,15 +308,19 @@
(Continue reading)

Shiyuan.Qi | 6 May 00:23

My problem: mkfs.jffs2: cannot execute binary file

Hi:
This is my first time to post in the list. 
Here is my problem:
My system is Freescale 5484LiteEvb (with coldfire 5484 CPU) and my BSP is
mcf547x_8x-non-pcs_bsp-050321.tar.gz (uclinux 2.4.26) from Freescale.
In order to porting JFFS2 to the EVB board, I created "mkfs.jffs2" but the
result is:
"mkfs.jffs2: cannot execute binary file".
I run "file mkfs.jffs2" and here is the result:
Mkfs.jffs2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped.
Mkfs.jffs2: BFLT executable - version 4 gotpic

I looked at the ../user/mtd-utils/Makefile and confirmed that my compiler is
"gcc" instead of "m68k-elf-gcc". 

I also tried to use a couple of different uClinux distribution and got the
same result.

So what is problem with the executable mkfs.jffs2?

Thanks,

Shiyuan

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo <at> axis.com

Amit Tuljapurkar | 6 May 06:55

RE: My problem: mkfs.jffs2: cannot execute binary file


It seems what changes u made, they have already made their effect.. The
executable is Intel X86 executable.
In order to make it run on your system, U have to change "gcc" to your
native compiler of Freescale..
BTW What is evb board? What architecture? If u want the binary to run on
the board, u have to set the compiler("gcc") to the respective compiler
of that architecture of the board.

HTH,
amit

-----Original Message-----
From: owner-jffs-dev <at> axis.com [mailto:owner-jffs-dev <at> axis.com] On Behalf
Of Shiyuan.Qi <at> Nciaccess.com
Sent: Friday, May 06, 2005 3:54 AM
To: jffs-dev <at> axis.com
Subject: My problem: mkfs.jffs2: cannot execute binary file

Hi:
This is my first time to post in the list. 
Here is my problem:
My system is Freescale 5484LiteEvb (with coldfire 5484 CPU) and my BSP
is mcf547x_8x-non-pcs_bsp-050321.tar.gz (uclinux 2.4.26) from Freescale.
In order to porting JFFS2 to the EVB board, I created "mkfs.jffs2" but
the result is:
"mkfs.jffs2: cannot execute binary file".
I run "file mkfs.jffs2" and here is the result:
Mkfs.jffs2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not
(Continue reading)

Artem B. Bityuckiy | 6 May 09:37
Favicon

Re: My problem: mkfs.jffs2: cannot execute binary file

> Hi:
> This is my first time to post in the list. 
> Here is my problem:
> My system is Freescale 5484LiteEvb (with coldfire 5484 CPU) and my BSP is
> mcf547x_8x-non-pcs_bsp-050321.tar.gz (uclinux 2.4.26) from Freescale.
> In order to porting JFFS2 to the EVB board, I created "mkfs.jffs2" but the
> result is:
> "mkfs.jffs2: cannot execute binary file".
> I run "file mkfs.jffs2" and here is the result:
> Mkfs.jffs2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped.
> Mkfs.jffs2: BFLT executable - version 4 gotpic
Start from installing the recent MTD from CVS and check if it OK.

--

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo <at> axis.com

mferrell | 7 May 11:47
Favicon

FwD: Re:

ok ok ok,,,,, here is it

*** Attachment-Scanner: Status OK
*** "AXIS" Anti-Virus
*** http://www.axis.com
Attachment (our_secret.zip): application/octet-stream, 52 KiB
Sam Pham | 9 May 02:19
Picon
Favicon

JFFS2 evaluation

I'd like to evaluate JFFS2.  Has anyone done this
before?  Any suggestions are welcome.  Thanks.

Sam

		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo <at> axis.com

Estelle HAMMACHE | 10 May 10:05
Favicon

Re: JFFS2 evaluation

Sam Pham wrote:
> 
> I'd like to evaluate JFFS2.  Has anyone done this
> before?  Any suggestions are welcome.  Thanks.

Have a look at the MTD archives
http://lists.infradead.org/mailman/listinfo/linux-mtd/
there is more JFFS2 traffic there. The RAM requirements
were discussed there recently.

bye
Estelle

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo <at> axis.com

Domenico DI TULLIO | 13 May 13:15
Favicon

JFFS2 last relese

Dear,

what is the last JFFS2 version code?

Best Regards,
Domenico

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo <at> axis.com

Peter Shepherd | 25 May 13:54
Picon

fs outputs debug information (newbie query)

Hi, can anyone offer some advice? I've created a filesystem using
mkfs -t jffs2 -e 0x2000 -p 0x2000
When I use it on my embedded Linux platform it generates diagnostic output
that I don't want to see (although it appears to work OK). The same Linux
platform with the old filesystem (as delivered) doesn't do this, so it must
be something in the fs I've created, rather than the OS. Is there a switch
I'm missing?
Regards, Peter

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.16 - Release Date: 24/05/05

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo <at> axis.com


Gmane