* 405GP external master
@ 2003-02-18 21:37 Root User
2003-02-18 22:01 ` Chris Zimman
0 siblings, 1 reply; 15+ messages in thread
From: Root User @ 2003-02-18 21:37 UTC (permalink / raw)
To: linuxppc-embedded
This is a little off-topic, but I know there are
plenty of PPC4xx experts lurking around here...
Anyone use an External Bus master to access SDRAM on
the 405GP? I'm interested in hearing what kind of
sustained bandwidth you were able to achieve, and if
there were any gotchas to be aware of.
Thanks.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: 405GP external master
2003-02-18 21:37 405GP external master Root User
@ 2003-02-18 22:01 ` Chris Zimman
2003-02-19 18:18 ` rs_timer Prakash kanthi
0 siblings, 1 reply; 15+ messages in thread
From: Chris Zimman @ 2003-02-18 22:01 UTC (permalink / raw)
To: linuxppc-embedded
On Tue, Feb 18, 2003 at 01:37:19PM -0800, Root User wrote:
> Anyone use an External Bus master to access SDRAM on
> the 405GP? I'm interested in hearing what kind of
> sustained bandwidth you were able to achieve, and if
> there were any gotchas to be aware of.
There's an app note at IBM about this:
http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/B60C93EB27F44B0F87256AAF005E788F/$file/405DMAPerformance02.pdf
--Chris
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* rs_timer
2003-02-18 22:01 ` Chris Zimman
@ 2003-02-19 18:18 ` Prakash kanthi
2003-02-19 20:11 ` rs_timer Todd Poynor
0 siblings, 1 reply; 15+ messages in thread
From: Prakash kanthi @ 2003-02-19 18:18 UTC (permalink / raw)
To: linuxppc-embedded
Hi Folks,
I observed that, even after linux boots and INIT
process starts, rs_timer stays active and causes the
rs_interrupt_single to be called.
I saw a posting on rs_timer on this message board by
mvista, which says
----------
> Once you hit userland, /dev/ttyS0 is opened and
serial I/O is normally interrupt driven. Prior to that
it uses the polled serial console routines in the
driver. Now, the rs_timer() kludge claims to work for
non-interrupt driven I/O but I've never heard of
anybody using it. You should just hook up your
interrupt controller.
----------
If this is true, after INIT process is invoked, why
does the rs_timer function is called? ByTheWay, my
interrupt controller is on.
Thanks,
Prakash
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: rs_timer
2003-02-19 18:18 ` rs_timer Prakash kanthi
@ 2003-02-19 20:11 ` Todd Poynor
2003-02-27 17:30 ` ELDK on windows/cygwin Prakash kanthi
0 siblings, 1 reply; 15+ messages in thread
From: Todd Poynor @ 2003-02-19 20:11 UTC (permalink / raw)
To: Prakash kanthi; +Cc: linuxppc-embedded
Prakash kanthi wrote:
> Hi Folks,
>
> I observed that, even after linux boots and INIT
> process starts, rs_timer stays active and causes the
> rs_interrupt_single to be called.
Depending on your board and the kernel version you're using, this might
be the result of using IRQ 0 for ttyS0 interrupts (as occurs for ppc_405
boards). The stock kernel from kernel.org does not recognize IRQ 0 as a
valid value, and sets up rs_timer polling instead. Recent
linuxppc_2_4_devel kernels (and perhaps other ppc kernel trees) are
modified to remove this restriction; see modifications to
drivers/char/serial.c that remove checks for "irq != 0" and such.
MontaVista Linux makes this an optional feature, enabled by defining
SERIAL_IRQ0_VALID.
--
Todd
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* ELDK on windows/cygwin
2003-02-19 20:11 ` rs_timer Todd Poynor
@ 2003-02-27 17:30 ` Prakash kanthi
2003-02-27 19:32 ` Wolfgang Denk
2003-03-26 7:01 ` Flash File System Prakash kanthi
0 siblings, 2 replies; 15+ messages in thread
From: Prakash kanthi @ 2003-02-27 17:30 UTC (permalink / raw)
To: linuxppc-embedded
Hi Guys,
Does anyone know if ELDK is available for Windows
platform (like with cygwin, etc...)? Did anyone try
using ELDK on windows/cygwin?
Thanks,
Prakash
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: ELDK on windows/cygwin
2003-02-27 17:30 ` ELDK on windows/cygwin Prakash kanthi
@ 2003-02-27 19:32 ` Wolfgang Denk
2003-03-26 7:01 ` Flash File System Prakash kanthi
1 sibling, 0 replies; 15+ messages in thread
From: Wolfgang Denk @ 2003-02-27 19:32 UTC (permalink / raw)
To: Prakash kanthi; +Cc: linuxppc-embedded
In message <20030227173016.61851.qmail@web41209.mail.yahoo.com> you wrote:
>
> Does anyone know if ELDK is available for Windows
No, it is not.
> platform (like with cygwin, etc...)? Did anyone try
> using ELDK on windows/cygwin?
We had a few customers asking for it, but it would be a major PITA to
port, and we have zero windoze experience (DENX is 100% Microsoft-
free :-) and it is so much easier to use a Linux server (probably
running Samba to act as windoze file server).
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
Certainly there are things in life that money can't buy, but it's
very funny - Did you ever try buying them without money? - Ogden Nash
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Flash File System
2003-02-27 17:30 ` ELDK on windows/cygwin Prakash kanthi
2003-02-27 19:32 ` Wolfgang Denk
@ 2003-03-26 7:01 ` Prakash kanthi
2003-03-26 7:34 ` Wolfgang Denk
1 sibling, 1 reply; 15+ 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] 15+ 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; 15+ 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] 15+ messages in thread
[parent not found: <3E816D42.AD351615@lucent.com>]
* 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; 15+ 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] 15+ 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; 15+ 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] 15+ messages in thread
* Flash File System
@ 2000-05-10 1:25 Julia Elbert
2000-05-10 2:29 ` Jim Lewis
` (2 more replies)
0 siblings, 3 replies; 15+ 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] 15+ messages in thread* Re: Flash File System
2000-05-10 1:25 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; 15+ 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] 15+ messages in thread
* Re: Flash File System
2000-05-10 1:25 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; 15+ 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] 15+ messages in thread
* RE: Flash File System
2000-05-10 1:25 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; 15+ 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] 15+ messages in thread
end of thread, other threads:[~2003-03-26 19:55 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-18 21:37 405GP external master Root User
2003-02-18 22:01 ` Chris Zimman
2003-02-19 18:18 ` rs_timer Prakash kanthi
2003-02-19 20:11 ` rs_timer Todd Poynor
2003-02-27 17:30 ` ELDK on windows/cygwin Prakash kanthi
2003-02-27 19:32 ` Wolfgang Denk
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
-- strict thread matches above, loose matches on Subject: below --
2000-05-10 1:25 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
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).