RE: Re: Can JPEG and MPEG4 run on DM355 simultaneity

2009-05-14 Thread Ring, Chris
I don't know the details about these codecs, but if they share a sparse resource, you may need to configure them with the same groupId. Then the framework (Codec Engine + Framework Components) will try to grant resources the codecs request as 'shared' into the groupId - and will ensure the

about IRQ issue.

2009-05-14 Thread Jeff
All, I used kernel 2.6.18, when I run a application on kernel, I got a error as below: BUG: unbalanced irq-handler preempt count in dma_irq_handler_l+0x0/0x24! Anyone can give me any clue? Thanks very much. BR Jeff ___

Re: DM355 SDIO performance or sd card clock over 27mhz

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 10:51 +0800, Liu Yebo wrote: Hi, I've been doing some testing with SD card writes on the our dm355 board.That looks that the performance is dismal, that is pretty poor. i was getting speeds of around 2-3MB/s for write. Now i have enable high speed SD support.Note

RE: To avoid memcpy

2009-05-14 Thread Jadav, Brijesh R
Hi Gopal, I think user pointer buffer exchange mechanism is supported in both the drivers, so you can allocate buffers in one driver and use it in the other driver without doing memcpy. Thanks, Brijesh Jadav From:

Re: about IRQ issue.

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 18:41 +0800, Jeff wrote: All, I used kernel 2.6.18, when I run a application on kernel, I got a error as below: “BUG: unbalanced irq-handler preempt count in dma_irq_handler_l +0x0/0x24!” Sounds like a bug in dma_irq_handler... may not be preemption safe. What

Re: 答复: about IRQ issue.

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 20:12 +0800, Jeff wrote: My application did DMA copy. Thanks. I can think of two options before you. 1. Try debugging the problem yourself and post specific questions on this list. There are a lot of very helpful folks here. 2. Send your application and error message

Re: I can't boot linux2.6.18 uImage in dm355

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 13:49 +0800, zuowenping wrote: My develop envirment : DaVinciLSP_02_00_00_110 ,mvltools5_0_0801921 and dm355 evm I have built the kernel by reference the pdf TMS320DM355 DVEVM v1.30 Getting Started Guide , DM355 EVM # printenv bootdelay=3 baudrate=115200

RE: [PATCH 1/2] NAND: Adding new ECC mode - NAND_ECC_HW_OOB_FIRST for TI DaVinci devices

2009-05-14 Thread Narnakaje, Snehaprabha
Dave, -Original Message- From: David Brownell [mailto:davi...@pacbell.net] Sent: Wednesday, May 13, 2009 5:04 AM To: davinci-linux-open-source@linux.davincidsp.com Cc: Narnakaje, Snehaprabha; linux-...@lists.infradead.org; dw...@infradead.org; t...@linutronix.de;

Re: I can't boot linux2.6.18 uImage in dm355

2009-05-14 Thread Deepak Mundra
Dear zuowenping do make menuconfig Enable kernel hacking-kernel debuging-low level debug functions and compile the kernel and post the kernel output here Regards Deepak On 5/14/09, Steve Chen sc...@mvista.com wrote: On Thu, 2009-05-14 at 13:49 +0800, zuowenping wrote: My develop

How to make automatic maount of SDcard

2009-05-14 Thread Ondrej Pindroch
Hi How can I make that when I put SDcard in slot it will autoamticaly be mounted for example in /mnt/SDcard. Suppose that the directory exist. Is there some way to do that. I have seen this in standard distributions for PC. Best regards Ondrej Pindroch SoftHard Technology ltd.

Re: [PATCH 1/2] NAND: Adding new ECC mode - NAND_ECC_HW_OOB_FIRST for TI DaVinci devices

2009-05-14 Thread David Brownell
On Thursday 14 May 2009, Narnakaje, Snehaprabha wrote: @@ -2678,6 +2723,17 @@ int nand_scan_tail(struct mtd_info *mtd) case NAND_ECC_HW3_512: case NAND_ECC_HW3_256: You should reissue the patch against current GIT code.  Those two constants are long gone. OK. I am

Re: How to make automatic maount of SDcard

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 17:05 +0200, Ondrej Pindroch wrote: Hi How can I make that when I put SDcard in slot it will autoamticaly be mounted for example in /mnt/SDcard. Suppose that the directory exist. Is there some way to do that. I have seen this in standard distributions for PC.

RE: DM355 - No vpss register write happens in the latest kernel

2009-05-14 Thread Karicheri, Muralidharan
Kevin, I have now added clk_enable(), clk_disable to my driver. But I see the following logs randomly when the board is powered. I have CONFIG_DAVINCI_RESET_CLOCKS-y set. So this should get displayed always, right ? Clocks: disable unused uart1 Clocks: disable unused uart2 Clocks: disable

Re: DM355 - No vpss register write happens in the latest kernel

2009-05-14 Thread Kevin Hilman
Karicheri, Muralidharan m-kariche...@ti.com writes: I have now added clk_enable(), clk_disable to my driver. But I see the following logs randomly when the board is powered. randomly? The disabled clocks will be dumped on every boot. I have CONFIG_DAVINCI_RESET_CLOCKS-y set. So this should

Re: DM355 SDIO performance or sd card clock over 27mhz

2009-05-14 Thread David Brownell
On Wednesday 13 May 2009, Liu Yebo wrote: Hi, I've been doing some testing with SD card writes on the our dm355 board.That looks that the performance is dismal, that is pretty poor. i was getting speeds of around 2-3MB/s for write. Write performance can be gated by card performance; not all

RE: DM355 - No vpss register write happens in the latest kernel

2009-05-14 Thread Karicheri, Muralidharan
Kevin, Could you give a small tutorial on how to use the clock API? I have hard time getting it to work. I did the following dm355.c static struct clk vpfe_capture_clk = { .name = vpfe-capture, // not sure if this can be any name .parent = vpss_master_clk, // cause vpfe

[patch 1/3] DaVinci ASoC: davinci-pcm buildfixes

2009-05-14 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net This is a buildfix for the DaVinci PCM code, resyncing it with the version in the DaVinci tree. The notable change is using current EDMA interfaces, which recently merged to mainline. (The older interfaces never made it into mainline.) NOTE:

[patch 0/3] DaVinci ASoC updates

2009-05-14 Thread David Brownell
The 2.6.30-rc5 merges included a bunch of DaVinci platform updates, including EDMA support. Which means that finally the ASoC stuff can be made to build in mainline ... it was probably sent to mainline before its time. ;) Following are three patches which resync mainline ASoC code with what's

Re: [PATCH] ASoC: Correct the resource structure assignment

2009-05-14 Thread David Brownell
On Wednesday 13 May 2009, Chaithrika U S wrote: Assign the platform resource structures according to the EVMs used. Right, I wonder how this worked before?? Was there some other bug covering for this one? I merged this into the patches I just sent to mainline. If it breaks anything, it will

[patch 3/3] DaVinci ASoC: EVM board support buildfixes

2009-05-14 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net This is a build fix, resyncing the DaVinci EVM ASoC board code with the version in the DaVinci tree. That resync includes support for the DM355 EVM, although that board isn't yet in mainline. (NOTE: also includes a bugfix to the

Re: [patch 1/3] DaVinci ASoC: davinci-pcm buildfixes

2009-05-14 Thread Troy Kisky
David Brownell wrote: From: David Brownell dbrown...@users.sourceforge.net This is a buildfix for the DaVinci PCM code, resyncing it with the version in the DaVinci tree. The notable change is using current EDMA interfaces, which recently merged to mainline. (The older interfaces never

Re: DM355 - No vpss register write happens in the latest kernel

2009-05-14 Thread Kevin Hilman
Karicheri, Muralidharan m-kariche...@ti.com writes: Could you give a small tutorial on how to use the clock API? Looks like you have the basics right. First question. Does your driver work with CONFIG_DAVINCI_RESET_CLOCKS=n. I'll assume yes. I have hard time getting it to work. I did the

Re: [patch 1/3] DaVinci ASoC: davinci-pcm buildfixes

2009-05-14 Thread David Brownell
On Thursday 14 May 2009, Troy Kisky wrote: David Brownell wrote: .. NOTE: open issue, the DMA should be to/from SRAM; see chip errata for more info. The artifacts are extremely easy to hear on DM355 hardware (not yet supported in mainline), but don't seem as audible on DM6446

Re: [patch 1/3] DaVinci ASoC: davinci-pcm buildfixes

2009-05-14 Thread Kevin Hilman
Troy Kisky troy.ki...@boundarydevices.com writes: David Brownell wrote: From: David Brownell dbrown...@users.sourceforge.net This is a buildfix for the DaVinci PCM code, resyncing it with the version in the DaVinci tree. The notable change is using current EDMA interfaces, which recently

Re: [PATCH] ASoC: Correct the resource structure assignment

2009-05-14 Thread Kevin Hilman
Chaithrika U S chaithr...@ti.com writes: Assign the platform resource structures according to the EVMs used. Signed-off-by: Chaithrika U S chaithr...@ti.com Thanks, pushing today. Kevin --- sound/soc/davinci/davinci-evm.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-)

Re: [PATCH/RFT] davinci: fixups for banked GPIO interrupt handling

2009-05-14 Thread Kevin Hilman
Kevin Hilman khil...@deeprootsystems.com writes: This patch seems to get me much more reliable performance using the GPIO banked interrupts on dm355 for the dm9000 driver. Changes include: - init GPIO handling along with normal GPIO init - mask the level-sensitive bank IRQ during handling

yaffs2 mount time on nand flash is too long .....

2009-05-14 Thread Vijay Soni
I see that mount time of yaffs2 file system on NandFlash becomes too long when it has more files in it. A 500 MB nand flash partition which is 90% full is taking over a minute to mount on DM355. I am using 2.6.10 kernel. Can anyone help me to reduce the time. -Vijay

Re: Re: I can't boot linux2.6.18 uImage in dm355

2009-05-14 Thread zuowenping
thanks Deepak: I have configed kernel by the command : make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_defconfig make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage use the default configs for dm355,the kernel can't been boot up,I have Enabled kernel hacking-kernel debuging-low

RE: Re: I can't boot linux2.6.18 uImage in dm355

2009-05-14 Thread JayaKumar, PremKumar
I faced similar issue when switching between kernel builds for different platforms. In such cases, a proper/full clean before build helped in getting the right uImage built. Probably, you can try that too. make distclean make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_defconfig make

Re: DM355 SDIO performance or sd card clock over 27mhz

2009-05-14 Thread Liu Yebo
Now I am waiting for reply from TI FAE too. I am using 2.6.10 kernel. Has anyone the same problem like me . - Original Message - From: Steve Chen sc...@mvista.com To: Liu Yebo liuy...@covond.com Cc: davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, May 14, 2009 8:02 PM

about audio driver with SRAM.

2009-05-14 Thread Jeff
All, Could anyone please show me how to use DMA from/to SRAM for audio driver? I just checked the 2.6.30 kernel and found the SRAM allocator was added in it. Thanks. BR Jeff ___ Davinci-linux-open-source mailing list

RE: I can't boot linux2.6.18 uImage in dm355

2009-05-14 Thread B, Ravi
Hi Go to menuconfig, kernel Features- select “allow old ABI binaries to run with this kernel” or disable the “ARM EABI to compile the kernel”. Then do clean build. This should resolve the issue. Regards Ravibabu From:

Re: To avoid memcpy

2009-05-14 Thread Gopal Sukumar
Hi Brijesh, I have seen a recent communication in the mailing list that this mechanism fails, at http://www.mail-archive.com/linux-o...@vger.kernel.org/msg11415.html Is this fixed now? Thanks, Gopal Sukumar. Jadav, Brijesh R wrote: Hi Gopal, I think user pointer buffer exchange mechanism is

Re: To avoid memcpy

2009-05-14 Thread Gopal Sukumar
Thanks Brijesh. Will try and let you know. Thanks, Gopal Sukumar. Jadav, Brijesh R wrote: Hi Gopal, This is regarding OMAP resizer driver not DM6446 resizer driver. Resizer char driver in the DM6446 supports user pointer buffer exchange mechanism. Thanks, Brijesh Jadav

H264dec and video seek issues..

2009-05-14 Thread Purushottam R S
Hi All, I am trying to seek video forward/backward while h264 video is playing, but I see lot of problems. I am using all latest dmai plugins. Here is my seek code. gboolean player_set_pos (int tpos) { gint64 pos; gboolean ret; GstFormat format = GST_FORMAT_TIME;