Re: Missing some interrupts

2009-06-08 Thread wael showair
wael showair wrote: > >> > You cannot really rely on getting the exact same number of edge >> > interrupts that were emitted. At least not unless you have a hard RT >> > system and can guarantee that you'll always dequeue them fast enough. >> >>

what is /proc/interrupts & /proc/irq/*/spurious mean?

2009-06-07 Thread wael showair
Hi All, i have a board shipped with Linux kernel 2.6.27. i have some problems in interrupts but while i was gathering some info about the interrupts on my board by cat /proc/interrupts CPU0 16: 2525 OpenPIC Level enet_tx 17: 5606 OpenPIC Level enet_rx 1

Re: how can i send real-time signal?

2009-06-06 Thread wael showair
Am Fri, 5 Jun 2009 10:41:56 -0700 (PDT) schrieb wael showair : > My aim is : Each time the DSP-core interrupts the MPC8555 processor, a > process in the user space will be informed by the arrival of this each > interrupt. You should have a look at drivers/uio... > So i decided to us

Re: Missing some interrupts

2009-06-06 Thread wael showair
> > You cannot really rely on getting the exact same number of edge > > interrupts that were emitted. At least not unless you have a hard RT > > system and can guarantee that you'll always dequeue them fast enough. > > Yes, my system is a hard RT & i want to receive all the interrupts that > have

Re: Missing some interrupts

2009-06-06 Thread wael showair
Benjamin Herrenschmidt wrote: > > On Sat, 2009-06-06 at 06:17 -0700, wael showair wrote: >> Hi All, >> i have a freescale board, that contains MPC8555 processor & DSP-core >> there is a GPIO connecting the DSP-core into an input pin of the OpenPIC >> of >&

Missing some interrupts

2009-06-06 Thread wael showair
Hi All, i have a freescale board, that contains MPC8555 processor & DSP-core there is a GPIO connecting the DSP-core into an input pin of the OpenPIC of the MPC8555 processor. i test one interrupt from the DSP-core to the MPC8555 processor where i configure this interrupt line to be edge-triggere

how can i send real-time signal?

2009-06-05 Thread wael showair
Hi All, i m using linux-kernel 2.6.27 & a board of MPC8555 processor. i have also DSP-core on the same board. My aim is : Each time the DSP-core interrupts the MPC8555 processor, a process in the user space will be informed by the arrival of this each interrupt. So i decided to use sw signals, i

is the resolution of do_gettimeofday in usec?

2009-05-31 Thread wael showair
Hi All, i have board that contains MPC8555 processor with linux 2.6.27 ported to it. i want to use an accurate function to measure the time. i searched the kernel code & i found several functions but i read that the do_gettimeofday is the most accurate one since it has a timer resolution of usec.

Testing DMA on MPC8555 board

2009-02-01 Thread wael showair
Hi All, i have an evaluation board with MPC8555 processor with kernel 2.6.27 the board contains DMA engine. I want to test the DMA on my board by transferring data from a source to destination. I dont know can i do this using the module of dmatest? i have inserted it but i did not get any sign t

Re: using dma engine on MPC8555 processor

2009-01-28 Thread wael showair
or not built. is there something i should write in the command line to let fsldma works & tests the DMA engine i have on my board. also i want to know the module "dmatest",what does it test exactly? can it test the DMA engine or not? thanks for your help wael showair wrote: &g

using dma engine on MPC8555 processor

2009-01-27 Thread wael showair
Hi All, i have an evaluation board with MPC8555 processor. linux kernel 2.6.27 i have read the Documentation of my board, i found that it contains DMA engine. i know that there fsldma.c & fsldma.h all my target is that i want to test the DMA on my board. i want to transfer data from source to dest

Re: eth0: Could not attach to PHY

2009-01-22 Thread wael showair
0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 a 2 b 2 c 2 d 2 e 2 f 2 10 2 11 2 12 2 13 2 14 2 15 2 16 2 17 2 18 2

eth0: Could not attach to PHY

2009-01-21 Thread wael showair
Hi All, i have a board with MPC8555 processor uboot version 1.1.6 linux kernel 2.6.19-rc5 ltib version: 6.2.2-sv gcc 3.4.3 it boots successfully i want to upgrade my linux kernel to 2.6.27 i upgraded the following: ltib version 8.1.2-sv gcc 4.1 linux kernel 2.6.27 & i kept the uboot with the same

Internal assembler error for instruction icbt

2009-01-15 Thread wael showair
hi All, i have LTIB version 6.2.2 with which i have built linux kernel 2.6.19-rc5 for my board where its processor is MPC8555.i built the kernel Image successfuly without any problems But Now i want to upgrade the linux kernel to 2.6.27 but unfortunately i got the following error: **

Re: When do i need to allocate DMA buffer

2009-01-13 Thread wael showair
etter way to allocate source and/or destination RAM buffer > in the kernel side is dma_alloc_coherent(): that's one seems rather > portable ! > > Best regards. > -- > sj > > 2009/1/12 wael showair : >> >> Hi All, >> i have MPC8555 processor, also i have linux-

When do i need to allocate DMA buffer

2009-01-12 Thread wael showair
Hi All, i have MPC8555 processor, also i have linux-kernel 2.6.19-rc5 on my board.i want to use the DMA on my board, just a simple example is enough for me but during my reading on how to use the DMA i have some questions: 1. The DMA buffer is always needed for all kind of buses or not? (I think t

How to add my device node in the device tree

2008-11-10 Thread wael showair
Hi all, My board processor is MPC8555, it is an AMC board. i want to add a node for my device to the device tree. simply here is the old device tree : *** / { model = "MPC8555AMC"; compatible = "mpc85xx"; #address-cells = <1>; #s