public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Mount MTD device on host PC
@ 2007-12-27  4:09 Naveen Sattigeri
  2007-12-27  5:07 ` Josh Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Naveen Sattigeri @ 2007-12-27  4:09 UTC (permalink / raw)
  To: Linux-MTD Linux

Sir/Madam,

I'm facing some problem while trying to mount a
compact flash as a MTD device on my host/development
PC. I would be glad if anyone could help.

The setup which I'm using in the lab is as follows:
[1]. Host PC with RedHat 9.0 and MontaVista 4.0.
[2]. Target Compact Flash is Pretec make (128MB). 

What I want to achieve:
[1]. When I connect the target flash to the host PC
(to the IDE Slot), I want the target flash to be
detected by the host PC as a MTD device, so that I can
mount a JFFS2/EXT3 filesystem in it.
 
What I have done so far to achieve this:
[1]. I have built/compiled a customised kernel in the
Host PC.
[2]. MTD support has been enabled in the Host PC
(using command menuconfig).

My observations so far:
[1]. When the target flash is connected to the Host
PC, the Host PC detects it as a "hdd" device and not a
"mtd" device.

My Query:
[1]. What steps do I need to perform to ensure that
the Host PC detects the target flash as a MTD device,
when connected to it over IDE Slot (using FRC cable).

Regards,

Naveen Sattigeri.
Design Engineer,
Automation Campus,
Larsen & Toubro Ltd,
Mahape, 
Navi Mumbai - 400710.
Ph: 022-67226479


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

* Re: Mount MTD device on host PC
  2007-12-27  4:09 Mount MTD device on host PC Naveen Sattigeri
@ 2007-12-27  5:07 ` Josh Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2007-12-27  5:07 UTC (permalink / raw)
  To: linux-mtd

On Wed, 26 Dec 2007 20:09:40 -0800 (PST)
Naveen Sattigeri <naveen_j_s@yahoo.com> wrote:

> Sir/Madam,
> 
> I'm facing some problem while trying to mount a
> compact flash as a MTD device on my host/development
> PC. I would be glad if anyone could help.
> 
> The setup which I'm using in the lab is as follows:
> [1]. Host PC with RedHat 9.0 and MontaVista 4.0.
> [2]. Target Compact Flash is Pretec make (128MB). 
> 
> What I want to achieve:
> [1]. When I connect the target flash to the host PC
> (to the IDE Slot), I want the target flash to be
> detected by the host PC as a MTD device, so that I can
> mount a JFFS2/EXT3 filesystem in it.
>  
> What I have done so far to achieve this:
> [1]. I have built/compiled a customised kernel in the
> Host PC.
> [2]. MTD support has been enabled in the Host PC
> (using command menuconfig).
> 
> My observations so far:
> [1]. When the target flash is connected to the Host
> PC, the Host PC detects it as a "hdd" device and not a
> "mtd" device.

That's because Compact flash doesn't export the raw flash chips.

> 
> My Query:
> [1]. What steps do I need to perform to ensure that
> the Host PC detects the target flash as a MTD device,
> when connected to it over IDE Slot (using FRC cable).

You can't.  Buy a different type of flash if you want to use MTD.
Otherwise, you have to use block2mtd or some other abstraction layer to
make the IDE device presented by CF appear as an MTD.

josh

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

end of thread, other threads:[~2007-12-27  5:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-27  4:09 Mount MTD device on host PC Naveen Sattigeri
2007-12-27  5:07 ` Josh Boyer

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