* Flash File System
@ 2000-05-10 1:25 Julia Elbert
2000-05-10 2:29 ` Jim Lewis
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Julia Elbert @ 2000-05-10 1:25 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hello,
What kind of flash filesystem works with linux pppc? We tried M-Systems
DiskOnChip, but they claim not support source for the power pc.
What do to? Desperate, please help.
Thank you,
J
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flash File System
2000-05-10 1:25 Flash File System Julia Elbert
@ 2000-05-10 2:29 ` Jim Lewis
2000-05-10 11:14 ` Dan A. Dickey
2000-05-10 11:28 ` Jason Wohlgemuth
2 siblings, 0 replies; 9+ messages in thread
From: Jim Lewis @ 2000-05-10 2:29 UTC (permalink / raw)
To: Julia Elbert; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Hi,
Have you thought about using ATA Flash connected to the 8xx PCMCIA?
-Jim
Julia Elbert wrote:
> Hello,
> What kind of flash filesystem works with linux pppc? We tried M-Systems
> DiskOnChip, but they claim not support source for the power pc.
> What do to? Desperate, please help.
>
> Thank you,
> J
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flash File System
2000-05-10 1:25 Flash File System Julia Elbert
2000-05-10 2:29 ` Jim Lewis
@ 2000-05-10 11:14 ` Dan A. Dickey
2000-05-10 11:28 ` Jason Wohlgemuth
2 siblings, 0 replies; 9+ messages in thread
From: Dan A. Dickey @ 2000-05-10 11:14 UTC (permalink / raw)
To: Julia Elbert; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Julia Elbert wrote:
>
> Hello,
> What kind of flash filesystem works with linux pppc? We tried M-Systems
> DiskOnChip, but they claim not support source for the power pc.
> What do to? Desperate, please help.
I do not believe that to be true.
While support may not be directly available from M-Systems,
I'm pretty sure there are drivers available for DiskOnChip
from somewhere on the network. I stopped following its
development when I determined that I wasn't going to be
using it. Search for a bit on the net, it shouldn't be
too hard to find.
-Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Flash File System
2000-05-10 1:25 Flash File System Julia Elbert
2000-05-10 2:29 ` Jim Lewis
2000-05-10 11:14 ` Dan A. Dickey
@ 2000-05-10 11:28 ` Jason Wohlgemuth
2000-05-11 0:05 ` Dan A. Dickey
2 siblings, 1 reply; 9+ messages in thread
From: Jason Wohlgemuth @ 2000-05-10 11:28 UTC (permalink / raw)
To: Julia Elbert, linuxppc-embedded
Julia,
You may wish to look at this page:
http://www.linux-mtd.infradead.org/
I believe this is where we were able to find our FTL, basically we have some
spare flash on our board and we point this driver at a chunk of it. It in
turn makes Linux see it as a raw device which can be formated and mounted.
Also, upon a quick skim of the page it mentions DiskOnChip drivers as well.
Enjoy!
Jason
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Julia
Elbert
Sent: Tuesday, May 09, 2000 9:25 PM
To: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Flash File System
Hello,
What kind of flash filesystem works with linux pppc? We tried M-Systems
DiskOnChip, but they claim not support source for the power pc.
What do to? Desperate, please help.
Thank you,
J
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flash File System
2000-05-10 11:28 ` Jason Wohlgemuth
@ 2000-05-11 0:05 ` Dan A. Dickey
0 siblings, 0 replies; 9+ messages in thread
From: Dan A. Dickey @ 2000-05-11 0:05 UTC (permalink / raw)
To: Jason Wohlgemuth; +Cc: Julia Elbert, linuxppc-embedded
Jason Wohlgemuth wrote:
> Julia,
> You may wish to look at this page:
> http://www.linux-mtd.infradead.org/
>
> I believe this is where we were able to find our FTL, basically we have some
> spare flash on our board and we point this driver at a chunk of it. It in
> turn makes Linux see it as a raw device which can be formated and mounted.
> Also, upon a quick skim of the page it mentions DiskOnChip drivers as well.
That's the place! Thanks Jason.
-Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Flash File System
2003-02-27 17:30 ELDK on windows/cygwin Prakash kanthi
@ 2003-03-26 7:01 ` Prakash kanthi
2003-03-26 7:34 ` Wolfgang Denk
0 siblings, 1 reply; 9+ messages in thread
From: Prakash kanthi @ 2003-03-26 7:01 UTC (permalink / raw)
To: linuxppc-embedded
Folks,
I have a 32MB Intel Strata flash on my PPC405 based
custom board. I need to create access routines/APIs to
access the flash. I was thinking of creating a Flash
File System and mount it as a device in Linux
environment.
Are there any off the shelf FFS packages available?
Generally, how the flash is used?
I am working with micro-monitor to use its Tiny File
System on flash support and eventually mount into
linux. Did anyone use this combination before?
Any ideas?
Thanks.
Prakash
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flash File System
2003-03-26 7:01 ` Flash File System Prakash kanthi
@ 2003-03-26 7:34 ` Wolfgang Denk
0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2003-03-26 7:34 UTC (permalink / raw)
To: Prakash kanthi; +Cc: linuxppc-embedded
In message <20030326070131.88176.qmail@web41202.mail.yahoo.com> you wrote:
>
> I have a 32MB Intel Strata flash on my PPC405 based
> custom board. I need to create access routines/APIs to
> access the flash. I was thinking of creating a Flash
> File System and mount it as a device in Linux
> environment.
>
> Are there any off the shelf FFS packages available?
> Generally, how the flash is used?
Use the MTD layer.
> I am working with micro-monitor to use its Tiny File
> System on flash support and eventually mount into
> linux. Did anyone use this combination before?
I think you cannot do this. AFAIK the TFS code is not available under
a GPL compatible license which prevents it from being linked with the
Linux kernel code.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
There is is no reason for any individual to have a computer in their
home. -- Ken Olsen (President of Digital Equipment Corporation),
Convention of the World Future Society, in Boston, 1977
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flash File System
[not found] <3E816D42.AD351615@lucent.com>
@ 2003-03-26 17:27 ` Prakash kanthi
2003-03-26 19:55 ` Rod Boyce
0 siblings, 1 reply; 9+ messages in thread
From: Prakash kanthi @ 2003-03-26 17:27 UTC (permalink / raw)
To: linuxppc-embedded
Hi Jaap Jan,
Thanks for your reply. What do you mean by 'works out
of the box with denx'? I see the code you referred to
but not sure how to use it. I still have some
concerns. Like,
1. How can i initially store the image into flash? My
flash chip is on the board.
2. How can i boot linux from flash?
3. Currently i have a 32MB SDRAM along with flash. I
have tools to download linux image into SDRAM. Even if
i go with MTD/JFFS, my concern is unless linux runs
flash can not be accessed and vice versa.
4. Lets say, i download linux into a safe place in
SDRAM, boot it and then access flash thru MTD/JFFS and
store linux image into flash. Even in this case, what
all i need to take care of for making my flash a boot
device.
Any detailed documentation is appreciated.
Thanks,
Prakash
--- Jaap-Jan Boor <jjboor@lucent.com> wrote:
> Hi,
>
> I use strata flash with MTD and JFSS2 as file system
> on top of it. Works out of the box with denx' eldk
> kernel and
> toolchain. I've provided my own flash map but you
> can also use an existing one (look e.g. in
> linux/drivers/mtd/maps)
>
> Jaap-Jan
>
> Wolfgang Denk wrote:
> >
> > In message
> <20030326070131.88176.qmail@web41202.mail.yahoo.com>
> you wrote:
> > >
> > > I have a 32MB Intel Strata flash on my PPC405
> based
> > > custom board. I need to create access
> routines/APIs to
> > > access the flash. I was thinking of creating a
> Flash
> > > File System and mount it as a device in Linux
> > > environment.
> > >
> > > Are there any off the shelf FFS packages
> available?
> > > Generally, how the flash is used?
> >
> > Use the MTD layer.
> >
> > > I am working with micro-monitor to use its Tiny
> File
> > > System on flash support and eventually mount
> into
> > > linux. Did anyone use this combination before?
> >
> > I think you cannot do this. AFAIK the TFS code is
> not available under
> > a GPL compatible license which prevents it from
> being linked with the
> > Linux kernel code.
> >
> > Best regards,
> >
> > Wolfgang Denk
> >
> > --
> > Software Engineering: Embedded and Realtime
> Systems, Embedded Linux
> > Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88
> Email: wd@denx.de
> > There is is no reason for any individual to have a
> computer in their
> > home. -- Ken Olsen (President of Digital
> Equipment Corporation),
> > Convention of the World Future
> Society, in Boston, 1977
> >
>
> --
> J.G.J. Boor
> Room: BE-525
> Lucent Technologies Nederland b.v.
> Phone: +31 35 687 4721
> Optical Networking Group TMS Data
> Fax: +31 35 687 5976
> P.O. Box 1168, 1200 BD, Hilversum, The Netherlands
mailto:jjboor@lucent.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flash File System
2003-03-26 17:27 ` Prakash kanthi
@ 2003-03-26 19:55 ` Rod Boyce
0 siblings, 0 replies; 9+ messages in thread
From: Rod Boyce @ 2003-03-26 19:55 UTC (permalink / raw)
To: Prakash kanthi; +Cc: linuxppc-embedded
Prakash,
I had exactly the same issues you are work through. I evaluated JFFS2 for our development it was good but our board support package did not support loading a Linux kernel out of the JFFS2 partition this may have changed by now.
What you are going to have to do is partition the flash into sections. A section for your BSP, a section for the linux kernel, and a section for the JFFS2 filesystem.
This way when you boot up copy the linux kernel into RAM and load it telling it to use the JFFS2 filesystem as its root filesystem.
Something like: root=/dev/mtd3 rw (any other parameters you want here)
I'm guessing the device node name here you are going to have to create the device node yourself and it can be called anything.
We strated out using micromon Ed Sutter has done a lot of work and it is very flexable (I really like his book a good read for beginners). We only switched over to U-Boot because 2 years ago micromon did not support booting a Linux kernel.
I'm not sure about the licensing issues for TFS and micromon but you could create a loadable module to use the TFS file system in Linux but it has some major limitations under Linux Ed may even have something to use as a starting point.
Hope this helps a bit.
Regards,
Rod Boyce.
On Wed, 26 Mar 2003 09:27:09 -0800 (PST)
Prakash kanthi <pkanthi@yahoo.com> wrote:
>
> Hi Jaap Jan,
>
> Thanks for your reply. What do you mean by 'works out
> of the box with denx'? I see the code you referred to
> but not sure how to use it. I still have some
> concerns. Like,
>
> 1. How can i initially store the image into flash? My
> flash chip is on the board.
> 2. How can i boot linux from flash?
>
> 3. Currently i have a 32MB SDRAM along with flash. I
> have tools to download linux image into SDRAM. Even if
> i go with MTD/JFFS, my concern is unless linux runs
> flash can not be accessed and vice versa.
>
> 4. Lets say, i download linux into a safe place in
> SDRAM, boot it and then access flash thru MTD/JFFS and
> store linux image into flash. Even in this case, what
> all i need to take care of for making my flash a boot
> device.
>
> Any detailed documentation is appreciated.
>
> Thanks,
> Prakash
>
>
>
>
> --- Jaap-Jan Boor <jjboor@lucent.com> wrote:
> > Hi,
> >
> > I use strata flash with MTD and JFSS2 as file system
> > on top of it. Works out of the box with denx' eldk
> > kernel and
> > toolchain. I've provided my own flash map but you
> > can also use an existing one (look e.g. in
> > linux/drivers/mtd/maps)
> >
> > Jaap-Jan
> >
> > Wolfgang Denk wrote:
> > >
> > > In message
> > <20030326070131.88176.qmail@web41202.mail.yahoo.com>
> > you wrote:
> > > >
> > > > I have a 32MB Intel Strata flash on my PPC405
> > based
> > > > custom board. I need to create access
> > routines/APIs to
> > > > access the flash. I was thinking of creating a
> > Flash
> > > > File System and mount it as a device in Linux
> > > > environment.
> > > >
> > > > Are there any off the shelf FFS packages
> > available?
> > > > Generally, how the flash is used?
> > >
> > > Use the MTD layer.
> > >
> > > > I am working with micro-monitor to use its Tiny
> > File
> > > > System on flash support and eventually mount
> > into
> > > > linux. Did anyone use this combination before?
> > >
> > > I think you cannot do this. AFAIK the TFS code is
> > not available under
> > > a GPL compatible license which prevents it from
> > being linked with the
> > > Linux kernel code.
> > >
> > > Best regards,
> > >
> > > Wolfgang Denk
> > >
> > > --
> > > Software Engineering: Embedded and Realtime
> > Systems, Embedded Linux
> > > Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88
> > Email: wd@denx.de
> > > There is is no reason for any individual to have a
> > computer in their
> > > home. -- Ken Olsen (President of Digital
> > Equipment Corporation),
> > > Convention of the World Future
> > Society, in Boston, 1977
> > >
> >
> > --
> > J.G.J. Boor
> > Room: BE-525
> > Lucent Technologies Nederland b.v.
> > Phone: +31 35 687 4721
> > Optical Networking Group TMS Data
> > Fax: +31 35 687 5976
> > P.O. Box 1168, 1200 BD, Hilversum, The Netherlands
> mailto:jjboor@lucent.com
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-03-26 19:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-10 1:25 Flash File System Julia Elbert
2000-05-10 2:29 ` Jim Lewis
2000-05-10 11:14 ` Dan A. Dickey
2000-05-10 11:28 ` Jason Wohlgemuth
2000-05-11 0:05 ` Dan A. Dickey
-- strict thread matches above, loose matches on Subject: below --
2003-02-27 17:30 ELDK on windows/cygwin Prakash kanthi
2003-03-26 7:01 ` Flash File System Prakash kanthi
2003-03-26 7:34 ` Wolfgang Denk
[not found] <3E816D42.AD351615@lucent.com>
2003-03-26 17:27 ` Prakash kanthi
2003-03-26 19:55 ` Rod Boyce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).