Skip to contentSkip to conversation

405GP external master

DISCUSSION Root User 5 participants 8 messages Feb 18, 2003 – Mar 26, 2003

lore
Share & tools
lore

Root User

author
#0 lore raw

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/

#1 lore raw
Quoted 4 lines · Root User

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/

#2 lore raw

rs_timer

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
----------

Quoted 1 line

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/

#3 lore raw

Re: rs_timer

Quoted 5 lines · Prakash kanthi

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/

#4 lore raw

ELDK on windows/cygwin

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/

#5 lore raw

Re: ELDK on windows/cygwin

Quoted 2 lines · In message <[email protected]> you wrote:

Does anyone know if ELDK is available for Windows

No, it is not.

Quoted 2 lines

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: [email protected] 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/

#6 lore raw

Flash File System

In reply to Prakash kanthi

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/

#7 lore raw

Re: Flash File System

Quoted 9 lines · In message <[email protected]> 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.

Quoted 3 lines

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: [email protected] 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/