public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* how to mount this mtd filesystem image?
@ 2008-02-11 16:39 Christophe Lohr
  2008-02-12 12:52 ` Max Stirling
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe Lohr @ 2008-02-11 16:39 UTC (permalink / raw)
  To: linux-mtd

Hi,
I’m not sure to be on the right mailing list…

My problem is as follow: I have an mtd dump file. This is not a jffs2 
file system image. It looks like a plain old flash file system, but 
which one? How may I get the content of this file system?

00000000 46 66 73 23 00 03 01 00 c0 ff ff ff ff ff ff ff |Ffs#............|
00000010 2f 66 66 73 2d 72 6f 6f 74 00 ff ff ff ff ff ff |/ffs-root.......|
00000020 2e 6a 6f 75 72 6e 61 6c 00 ff ff ff c0 00 03 00 |.journal........|
00000030 02 00 00 00 c0 00 04 00 03 00 00 00 c0 00 05 00 |................|
00000040 04 00 00 00 c0 00 06 00 05 00 00 00 c0 00 07 00 |................|
00000050 06 00 00 00 c0 00 08 00 07 00 00 00 c0 00 09 00 |................|
(...)

Any help is welcome.
Thanks and regards.
Christophe

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

* Re: how to mount this mtd filesystem image?
  2008-02-11 16:39 how to mount this mtd filesystem image? Christophe Lohr
@ 2008-02-12 12:52 ` Max Stirling
  2008-02-12 14:03   ` Christophe Lohr
  0 siblings, 1 reply; 4+ messages in thread
From: Max Stirling @ 2008-02-12 12:52 UTC (permalink / raw)
  To: Christophe Lohr; +Cc: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

Christophe Lohr wrote:
> Hi,
> I’m not sure to be on the right mailing list…
>
> My problem is as follow: I have an mtd dump file. This is not a jffs2 
> file system image. It looks like a plain old flash file system, but 
> which one? How may I get the content of this file system?
>
> 00000000 46 66 73 23 00 03 01 00 c0 ff ff ff ff ff ff ff |Ffs#............|
> 00000010 2f 66 66 73 2d 72 6f 6f 74 00 ff ff ff ff ff ff |/ffs-root.......|
> 00000020 2e 6a 6f 75 72 6e 61 6c 00 ff ff ff c0 00 03 00 |.journal........|
> 00000030 02 00 00 00 c0 00 04 00 03 00 00 00 c0 00 05 00 |................|
> 00000040 04 00 00 00 c0 00 06 00 05 00 00 00 c0 00 07 00 |................|
> 00000050 06 00 00 00 c0 00 08 00 07 00 00 00 c0 00 09 00 |................|
> (...)
>
> Any help is welcome.
> Thanks and regards.
> Christophe
>
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>   
The first four bytes are the magic numbers telling which flash fs this 
might be.

00000000 46 66 73 23


#define CRAMFS_MAGIC    0x28cd3d45


I did a search for those numbers and couldn't find any reference to this 
anywhere. Try doing "file <your-mtd-dump-file> this might give more 
information

for eg:

->file test.cramfs.img
test.cramfs.img: Linux Compressed ROM File System data, little endian 
size 65536 version #2 sorted_dirs CRC 0xf23fc956, edition 0, 46 blocks, 
16 files.



[-- Attachment #2: vicky_irobot.vcf --]
[-- Type: text/x-vcard, Size: 48 bytes --]

begin:vcard
fn:M S
n:S;M
version:2.1
end:vcard


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

* Re: how to mount this mtd filesystem image?
  2008-02-12 12:52 ` Max Stirling
@ 2008-02-12 14:03   ` Christophe Lohr
  2008-02-12 15:02     ` Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe Lohr @ 2008-02-12 14:03 UTC (permalink / raw)
  To: linux-mtd

Max Stirling:

>>
>> My problem is as follow: I have an mtd dump file. This is not a jffs2 
>> file system image. It looks like a plain old flash file system, but 
>> which one? How may I get the content of this file system?
>>
>> 00000000 46 66 73 23 00 03 01 00 c0 ff ff ff ff ff ff ff 
>> |Ffs#............|
>> 00000010 2f 66 66 73 2d 72 6f 6f 74 00 ff ff ff ff ff ff 
>> |/ffs-root.......|
>> 00000020 2e 6a 6f 75 72 6e 61 6c 00 ff ff ff c0 00 03 00 
>> |.journal........|
>> 00000030 02 00 00 00 c0 00 04 00 03 00 00 00 c0 00 05 00 
>> |................|
>> 00000040 04 00 00 00 c0 00 06 00 05 00 00 00 c0 00 07 00 
>> |................|
>> 00000050 06 00 00 00 c0 00 08 00 07 00 00 00 c0 00 09 00 
>> |................|
>>
> The first four bytes are the magic numbers telling which flash fs this 
> might be.
>
> I did a search for those numbers and couldn't find any reference to 
> this anywhere. Try doing "file <your-mtd-dump-file> this might give 
> more information

The answer is:     "data"
:-(

Note: in fact, this file system is used by a "Nucleus Plus" system 
executed by a DSP, side to an ARM proc (that executes a Linux). It might 
be very specific to Nucleus Plus.

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

* Re: how to mount this mtd filesystem image?
  2008-02-12 14:03   ` Christophe Lohr
@ 2008-02-12 15:02     ` Josh Boyer
  0 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2008-02-12 15:02 UTC (permalink / raw)
  To: Christophe Lohr; +Cc: linux-mtd

On Tue, 12 Feb 2008 15:03:55 +0100
Christophe Lohr <christophe.lohr@cegetel.net> wrote:

> Max Stirling:
> 
> >>
> >> My problem is as follow: I have an mtd dump file. This is not a jffs2 
> >> file system image. It looks like a plain old flash file system, but 
> >> which one? How may I get the content of this file system?
> >>
> >> 00000000 46 66 73 23 00 03 01 00 c0 ff ff ff ff ff ff ff 
> >> |Ffs#............|
> >> 00000010 2f 66 66 73 2d 72 6f 6f 74 00 ff ff ff ff ff ff 
> >> |/ffs-root.......|
> >> 00000020 2e 6a 6f 75 72 6e 61 6c 00 ff ff ff c0 00 03 00 
> >> |.journal........|
> >> 00000030 02 00 00 00 c0 00 04 00 03 00 00 00 c0 00 05 00 
> >> |................|
> >> 00000040 04 00 00 00 c0 00 06 00 05 00 00 00 c0 00 07 00 
> >> |................|
> >> 00000050 06 00 00 00 c0 00 08 00 07 00 00 00 c0 00 09 00 
> >> |................|
> >>
> > The first four bytes are the magic numbers telling which flash fs this 
> > might be.
> >
> > I did a search for those numbers and couldn't find any reference to 
> > this anywhere. Try doing "file <your-mtd-dump-file> this might give 
> > more information
> 
> The answer is:     "data"
> :-(
> 
> Note: in fact, this file system is used by a "Nucleus Plus" system 
> executed by a DSP, side to an ARM proc (that executes a Linux). It might 
> be very specific to Nucleus Plus.

I recall some tool being in mtd-utils called "mk.ffs" (or something
similar) at one point.  It's since been deleted as it was considered
old and obsolete.  I'm not sure of anything that still has support for
that.

josh

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

end of thread, other threads:[~2008-02-12 15:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11 16:39 how to mount this mtd filesystem image? Christophe Lohr
2008-02-12 12:52 ` Max Stirling
2008-02-12 14:03   ` Christophe Lohr
2008-02-12 15:02     ` Josh Boyer

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