Discussion:
My problem: mkfs.jffs2: cannot execute binary file
S***@Nciaccess.com
2005-05-05 22:23:56 UTC
Permalink
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 ***@axis.com
Amit Tuljapurkar
2005-05-06 04:55:27 UTC
Permalink
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-***@axis.com [mailto:owner-jffs-***@axis.com] On Behalf
Of ***@Nciaccess.com
Sent: Friday, May 06, 2005 3:54 AM
To: jffs-***@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
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 ***@axis.com


*********************************************************
Disclaimer:

The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use

*********************************************************

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
Artem B. Bityuckiy
2005-05-06 07:37:52 UTC
Permalink
Post by S***@Nciaccess.com
This is my first time to post in the list.
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
"mkfs.jffs2: cannot execute binary file".
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 ***@axis.com
Loading...