RE: [EDMA help required] DM6446: From AEMIF to DDR memory

2009-02-24 Thread Arora, Satish
I believe this might be a case of cache coherency, since you are using the same buffer to DMA as well as allowing it to be cached. Thanks, Satish From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincid

RE: [PATCH 1/1] MMC: Cleaning of driver ( like unbounded loop etc)

2009-02-24 Thread Kumar, Purushotam
> On Friday 20 February 2009, Purushotam Kumar wrote: > > -   do { > > -   status = readl(host->base + DAVINCI_MMCST0); > > -   if (status == 0) > > -   break; > > -   if (handle_core_command(host, status)) > > -   brea

RE: [EDMA help required] DM6446: From AEMIF to DDR memory

2009-02-24 Thread Nitin Joshi
Hi Satish, Thanks for the information.. What is the best way to solve this problem? Best Regards, Nitin Joshi From: Arora, Satish [mailto:sati...@ti.com] Sent: Tuesday, February 24, 2009 2:02 PM To: Nitin Joshi; davinci-linux-open-source@linux.davincidsp.com Subj

RE: DM6446 Ethernet MAC performance

2009-02-24 Thread Subrahmanya, Chaithrika
> Hi to all, > > I've tested Linux kernel 2.6.29-rc4-davinci1 > (http://git.kernel.org/?p=linux/kernel/git/khilman/linux- > davinci.git;a=commit;h=582ad6bcceb7c8f0c828e71e810fd40fed7af6c3) > for Ethernet performance. > Kernel was compiled was done by CodeSourcery 2008q3 (gcc 4.3.2) using > davinci

About the NAND Flash NAND01GR3B2B

2009-02-24 Thread shaofeng zhang
Hi, I have a little problem with my board, and my NAND chip is NAND01GR3B2B which is ST corp.'s product. When the u-boot start running from the NAND flash, there will be a warning called " *** Warning - bad CRC or NAND, using default environment ", and When I use the command "saveenv" to save th

Re: [PATCH 1/2] musb: sanitize clearing TXCSR DMA bits

2009-02-24 Thread Sergei Shtylyov
Hello. David Brownell wrote: @@ -165,9 +165,19 @@ static void nuke(struct musb_ep *ep, con if (is_dma_capable() && ep->dma) { struct dma_controller *c = ep->musb->dma_controller; int value; + if (ep->is_in) { + u16 txcsr = musb_r

RE: USB host Issue: scsi command abort

2009-02-24 Thread Stephane Cerveau
Hello, I'm using a 2.6.18 kernel on a specific davinci platform and I tried to backport the last GIT MUSB driver. Unfortunately too much changes in the usb core stack. So I tried to compile the GIT kernel for EVM board, but I did not find any davinci defconfig. Do you know where I can find it?

Re: [patch 2.6.29-rc5-git] usb/musb: make Davinci *work* in mainline

2009-02-24 Thread Sergei Shtylyov
David Brownell wrote: Now that the musb build fixes for DaVinci got merged (RC3?), kick in the other bits needed to get it finally *working* in mainline: - Use clk_enable()/clk_disable() ... the "always enable USB clocks" code this originally relied on has since been removed. - Initia

EDMA and mv kernel

2009-02-24 Thread Andrea Gasparini
Hi, I'm trying to get out of a problem with a driver using EDMA. In first instance, I wrote a simple module, that simply take from a fixed address of a EMIF device and put it in RAM. The transaction seems to go well, but I'm not able to have an interrupt when the EDMA cycle ends. In fact, when

Davinci DM355 - SPI EDMA

2009-02-24 Thread Prabhaharan R-TLS,Chennai
Hello All, I am using DM355 to send a chuck 4Kb of data using the DMA over the SPI bus (mp is DM355). The DMA is allocated for SPI channel 1 to the TX and RX events (event 14 and 15 are used). The DMA is configured, in ASYNC mode. With SPI data register "SPIDAT1" as the destination addres

Davinci DM355 - GPIO Bank 6 Interrupt

2009-02-24 Thread Prabhaharan R-TLS,Chennai
Hello All, I am using DM355 GPIO Bank 6 interrupt for one of the peripheral. We are using the Montavista TI Davinci Linux 2.6.10 version. I was trying to register an interrupt (IRQ = 60 for GPIO Bank 6 and the GPIO used is 96) with Linux. It gave the invalid arguments. Then I did debugging

RE: Davinci DM355 - GPIO Bank 6 Interrupt

2009-02-24 Thread Liu, Yan
Try request_irq(gpio_to_irq(96), isr, SA_INTERRUPT, "slave",NULL); Then check /proc/interrupt. From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Prabhaharan R-TLS,Chennai Sent

using extended params for MPEG4 encoding

2009-02-24 Thread Stephen Berry
I'm having some trouble trying to increase the quality of the video on my dm355 design. In particular I am trying to manipulate the initQ parameter in IMP4ENC_Params structure, along with some others. Initially these changes that I have attached to the demo code for video.c worked on one of my bo

RE: DMAI Based GStreamer Audio Video Synchronisation?

2009-02-24 Thread Singh, Brijesh
Hello, To test AV sync you need to use clip which has lot of talking (e.g news channels podcast). I personally use animated clips for video quality test (e.g up-scale/down-scale etc) not for AV sync. Use some podcast from here http://geekbriefwp.podshow.com/feed/ or try youtube video's. In a

RE: [patch davinci-git 2/3] NAND: Fix "raw" reads with ECC syndrome layouts

2009-02-24 Thread Narnakaje, Snehaprabha
> -Original Message- > From: David Brownell [mailto:davi...@pacbell.net] > Sent: Wednesday, February 11, 2009 3:55 PM > To: Allred, Daniel > Cc: Nori, Sekhar; Narnakaje, Snehaprabha; DaVinci > Subject: Re: [patch davinci-git 2/3] NAND: Fix "raw" reads with ECC > syndrome layouts > > On We

Re: [patch davinci-git 2/3] NAND: Fix "raw" reads with ECC syndrome layouts

2009-02-24 Thread David Brownell
On Tuesday 24 February 2009, Narnakaje, Snehaprabha wrote: > It would be good, if your patches go into the davinci GIT. > We can then come up with the follow-up patches to fix the > ECC issues (ECC isn't working yet, with the current set of patches). I think only the $SUBJECT patch -- already su

Re: [patch 2.6.29-rc5-git] usb/musb: make Davinci *work* in mainline

2009-02-24 Thread David Brownell
On Tuesday 24 February 2009, Sergei Shtylyov wrote: > >   { > > + .name = "usb", > >     Why not "USBCLK", like most of the other clock names? This matches current GIT usage, so the MUSB code won't need another gratuitous change. ___

[patch/RESEND 2.6.29-rc3-git] NAND: davinci_nand driver

2009-02-24 Thread David Brownell
From: David Brownell This is a device driver for the NAND flash controller found on the various DaVinci family chips. It handles up to four SoC chipselects, and some flavors of secondary chipselect (e.g. based on upper bits of the address bus) as used with some multichip packages. (Including th

Re: [PATCH 3/3] MUSB : Fix for STALL handling in musb gadget code

2009-02-24 Thread David Brownell
On Tuesday 24 February 2009, Jonathan Fletcher wrote: > -  Has the OMAP3430 OTG port ever worked at high speed in device mode > when connecting to a Windows PC (XP)? Certainly. Even *I* have done that ... and it's a sad year when I have to boot into Windows even twice. Though you'd be better of

RE: DMAI Based GStreamer Audio Video Synchronisation?

2009-02-24 Thread Nitin Mahajan
Hello Brijech, Thanks for your inputs, --- On Wed, 25/2/09, Singh, Brijesh wrote: > From: Singh, Brijesh > Subject: RE: DMAI Based GStreamer Audio Video Synchronisation? > To: "Vladimir Pantelic" , > "davinci-linux-open-source@linux.davincidsp.com" > > Cc: "davinci-linux-open-source@linux

Re: [patch/RESEND 2.6.29-rc3-git] NAND: davinci_nand driver

2009-02-24 Thread David Brownell
On Tuesday 24 February 2009, Thiago Galesi wrote: > OK a couple of things > + > > + > > +#ifdef CONFIG_MTD_PARTITIONS > > +static inline int mtd_has_partitions(void) { return 1; } > > +#else > > +static inline int mtd_has_partitions(void) { return 0; } > > +#endif > > + > > +#ifdef CONFIG_MTD_CMDL

Re: Davinci-linux-open-source Digest, Vol 38, Issue 136

2009-02-24 Thread DHAVAL LAKKAD
Hi Prabhaharan, I also got the same kind of problem. I was using DM6467 GPIO Bank 2 Interrupt and the same kernel as mentioned by you. I was trying to register an interrupt 58 for GPIO Bank 2. GPIO used by me was 39. Please follow the step mentioned bolow. Comment "set_irq_chained_handler"

Compiling codec engine video1_copy in DM6446

2009-02-24 Thread kirthika varadarajan
While compiling codec engine video1_copy in DM6446 i am getting the following errors. WARNING: Can't call useModule() now: ti.sdo.ce.Engine ti.sdo.ce.osal.validate() ... js: "/home/kirthika/dvevm_1_20/xdc_2_94/packages/xdc/cfg/Main.xs", line 169: exception from uncaught JavaScript throw: Error: i

Re: using extended params for MPEG4 encoding

2009-02-24 Thread Vladimir Pantelic
Stephen Berry wrote: I'm having some trouble trying to increase the quality of the video on my dm355 design. In particular I am trying to manipulate the initQ parameter in IMP4ENC_Params structure, along with some others. /