public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* (no subject)
@ 2005-06-21 14:48 David L
  2005-06-21 15:11 ` boot to MTD-partitioned NAND from DOS w/loadlin? David L
  0 siblings, 1 reply; 4+ messages in thread
From: David L @ 2005-06-21 14:48 UTC (permalink / raw)
  To: linux-mtd

Hi,

I'm using a Nand flash driver on a Compulab board with a proprietary driver 
provided by Compulab.  I'd like to switch to a non-proprietary driver like 
MTD for a few reasons.  But having read through the MTD documentation, I'm 
not sure we can maintain our current boot strategy if we migrate to MTD.  
Right now, we boot to DOS that comes with the board and then use loadlin to 
boot a kernel/initial ramdisk that reside on a partition of the Nand flash 
that has a DOS filesystem on it.  On the rare event that we need to change 
the kernel or initial ramdisk, we mount the DOS filesystem from Linux and 
change the file.

Is there a way to maintain this strategy if we use MTD?  I saw in the NAND 
API document that only jffs2 and YAFFS filesystems can be used with MTD.  Is 
there any way around this? (I don't care how efficient it is).  And even if 
there is a workaround that would allow us to modify files in a DOS 
filesystem from Linux, will MTD partitions be visible from DOS so that we 
can boot in the first place?

Thanks...

                    David

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* boot to MTD-partitioned NAND from DOS w/loadlin?
  2005-06-21 14:48 (no subject) David L
@ 2005-06-21 15:11 ` David L
  2005-06-22 18:51   ` Jan Vestby
  0 siblings, 1 reply; 4+ messages in thread
From: David L @ 2005-06-21 15:11 UTC (permalink / raw)
  To: linux-mtd

Sorry about the no subject in my last post.  :(

>Hi,
>
>I'm using a Nand flash driver on a Compulab board with a proprietary driver 
>provided by Compulab.  I'd like to switch to a non-proprietary driver like 
>MTD for a few reasons.  But having read through the MTD documentation, I'm 
>not sure we can maintain our current boot strategy if we migrate to MTD.  
>Right now, we boot to DOS that comes with the board and then use loadlin to 
>boot a kernel/initial ramdisk that reside on a partition of the Nand flash 
>that has a DOS filesystem on it.  On the rare event that we need to change 
>the kernel or initial ramdisk, we mount the DOS filesystem from Linux and 
>change the file.
>
>Is there a way to maintain this strategy if we use MTD?  I saw in the NAND 
>API document that only jffs2 and YAFFS filesystems can be used with MTD.  
>Is there any way around this? (I don't care how efficient it is).  And even 
>if there is a workaround that would allow us to modify files in a DOS 
>filesystem from Linux, will MTD partitions be visible from DOS so that we 
>can boot in the first place?
>
>Thanks...
>
>                    David
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today - it's FREE! 
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>______________________________________________________
>Linux MTD discussion mailing list
>http://lists.infradead.org/mailman/listinfo/linux-mtd/

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* Re: boot to MTD-partitioned NAND from DOS w/loadlin?
  2005-06-21 15:11 ` boot to MTD-partitioned NAND from DOS w/loadlin? David L
@ 2005-06-22 18:51   ` Jan Vestby
  2005-06-22 20:12     ` Sergei Sharonov
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Vestby @ 2005-06-22 18:51 UTC (permalink / raw)
  To: linux-mtd

On Tuesday 21 June 2005 17:11, David L wrote:
> Sorry about the no subject in my last post.  :(
>
> >Hi,
> >
> >
> >Is there a way to maintain this strategy if we use MTD?  I saw in the NAND

Yes. Have you considered using syslinux ?

> >API document that only jffs2 and YAFFS filesystems can be used with MTD.
> >Is there any way around this? (I don't care how efficient it is).  And

It is technically possible to use pretty much any file system, but for 
writable filesystems you will quickly get into trouble without the wear 
levelling  of jffs2/yaffs.
 
> > even if there is a workaround that would allow us to modify files in a
> > DOS filesystem from Linux, will MTD partitions be visible from DOS so
> > that we can boot in the first place?
> >
> >Thanks...
> >
> >                    David

regards 
jan vestby

> >
> >_________________________________________________________________
> >Express yourself instantly with MSN Messenger! Download today - it's FREE!
> >http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> >
> >______________________________________________________
> >Linux MTD discussion mailing list
> >http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: boot to MTD-partitioned NAND from DOS w/loadlin?
  2005-06-22 18:51   ` Jan Vestby
@ 2005-06-22 20:12     ` Sergei Sharonov
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Sharonov @ 2005-06-22 20:12 UTC (permalink / raw)
  To: linux-mtd

Hi,
> It is technically possible to use pretty much any file system, 

Could you please explain how can "any" file system be used on top of mtd/nand?
As far as I understand at the very minimum the bad blocks would prevent that.
I believe there are no translation layers available for bare nand, only for
DOC.

> but for 
> writable filesystems you will quickly get into trouble without the wear 
> levelling  of jffs2/yaffs.

What about all these digital cameras running FAT on memory cards? Is any 
wear leveling happening in this case? (And yes, I know, it is better to 
have it).

Sergei

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

end of thread, other threads:[~2005-06-22 20:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-21 14:48 (no subject) David L
2005-06-21 15:11 ` boot to MTD-partitioned NAND from DOS w/loadlin? David L
2005-06-22 18:51   ` Jan Vestby
2005-06-22 20:12     ` Sergei Sharonov

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