Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread sughosh ganu
hi Sekhar, On Thu, Feb 3, 2011 at 1:17 PM, Nori, Sekhar wrote: > > diff --git a/arch/arm/mach-davinci/Kconfig > > b/arch/arm/mach-davinci/Kconfig > > index 32f1479..e13b7e0 100644 > > --- a/arch/arm/mach-davinci/Kconfig > >

[RFC] mmc: davinci: fix corruption after surprise card eject

2011-02-03 Thread Jon Povey
Ejecting a card during a write results in a bad controller state which corrupts all writes to subsequently inserted cards. Work around this by resetting the controller in the set_ios() POWER_OFF handler. Tested on DM355. Signed-off-by: Jon Povey --- This patch is against 2.6.36, it does not in

boot through tftp

2011-02-03 Thread Aditya Barawkar
hi, We are using a DM6446 EVM. We have compiled a kernel for the board, in which we enabled various drivers required(through make menuconfig) Now we want the kernel to be booted via tftp(unlike what is default booting from flash) and the filesys will be nfs as usual. the bootargs for the tftp ar

RE: Intermittent SD write corruption on DM355, kernel 2.6.36

2011-02-03 Thread Jon Povey
Jon Povey wrote: > I am seeing rare SD card write corruption on DM355 I think I have a fix for this now - just CC'd you on the patch RFC [RFC] mmc: davinci: fix corruption after surprise card eject (Which fixes it, but may not be the best way of going about it). -- Jon Povey jon.po...@

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread sughosh ganu
hi Sekhar, On Thu, Feb 3, 2011 at 2:09 PM, sughosh ganu wrote: > hi Sekhar, > > > On Thu, Feb 3, 2011 at 1:17 PM, Nori, Sekhar wrote: > >> > diff --git a/arch/arm/mach-davinci/Kconfig >> > b/arch/arm/mach-davinci/Kconfig >> > index 32f1479..e13b

Recent kernel for DM365 and status of the staging tree

2011-02-03 Thread jean-philippe francois
Hi, What is the status of the arago staging tree ? It once was tracking the mainline kernel without much lag, but it seems to be stuck at 2.6.34 I am interested in : - video capture - single-shot previewer operation - cmem, edma and all other DVSDK modules can build against it - video display (op

Re: Recent kernel for DM365 and status of the staging tree

2011-02-03 Thread jean-philippe francois
2011/2/3 jean-philippe francois : > Hi, > > What is the status of the arago staging tree ? > It once was tracking the mainline kernel without much lag, but > it seems to be stuck at 2.6.34 > > I am interested in : > - video capture Both bayer and YUV, using USERPTR IO > - single-shot previewer ope

PREEMPT_RT patches and GPIO (interrupts) problem

2011-02-03 Thread Christophe Aeschlimann
Hi, I'm working with the arago omapl1 kernel on a custom OMAP-L138 board. http://arago-project.org/git/projects/?p=linux-omapl1.git Recently I made some testing with the PREEMPT_RT patches (that were also applied in a branch in the arago kernel). The Kernel seems to behave correctly but I have i

RE: boot through tftp

2011-02-03 Thread Subhranil Choudhury
Hey Aditya, You can use the bootarguments as setenv serverip setenv serverip setenv bootcmd tftp 0x8070 uImage_teleste \;bootm 0x8070 Please make sure that the tftp server and board ip address are in the same subnet mask. Remarks on you confusion: Also we are confused on 1) can we boo

R: boot through tftp

2011-02-03 Thread Michele Sponchiado
To boot via tftp, on OMAP_L137_EVM I set the bootcmd env variable like this: bootcmd=tftp;bootm here a printout of my tftp working environment: bootdelay=3 baudrate=115200 ethaddr=00:0e:99:02:fd:82 filesize=1B8994 fileaddr=C070 rootpath=/home/bagside/workdir/filesys bootfile=uImage serverip

[PATCH v2] asoc: davinci: da830/omap-l137: correct cpu_dai_name

2011-02-03 Thread Vaibhav Bedia
McASP1 is used on the DA830/OMAP-L137 platform for the codec. This is different from the DA850/OMAP-L138 platform which uses McASP0. This is fixed by adding a new snd_soc_dai_link struct. Signed-off-by: Vaibhav Bedia --- v2: Fixed the subject as pointed out by Sergei. sound/soc/davinci/davin

Re: Intermittent SD write corruption on DM355, kernel 2.6.36

2011-02-03 Thread Gilles Chanteperdrix
Jon Povey wrote: > Jon Povey wrote: >> I am seeing rare SD card write corruption on DM355 > > I think I have a fix for this now - just CC'd you on the patch RFC > > [RFC] mmc: davinci: fix corruption after surprise card eject > > (Which fixes it, but may not be the best way of going abou

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello. On 03-02-2011 12:19, sughosh ganu wrote: > diff --git a/arch/arm/mach-davinci/Kconfig > b/arch/arm/mach-davinci/Kconfig > index 32f1479..e13b7e0 100644 > --- a/arch/arm/mach-davinci/Kc

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread sughosh ganu
hi, On Thu, Feb 3, 2011 at 5:19 PM, Sergei Shtylyov wrote: > > > diff --git a/arch/arm/mach-davinci/Kconfig >> > b/arch/arm/mach-davinci/Kconfig >> > index 32f1479..e13b7e0 100644 >> > --- a/arch/

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello. On 02-02-2011 20:53, Sughosh Ganu wrote: The omapl-138 based hawkboard comes with a 128MiB Nand Flash. Add support for the same. Signed-off-by: Sughosh Ganu [...] diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index 32f1479..e13b7e0 100644 --- a/arch/arm

Re: [PATCH v1 1/4] davinci: da8xx/omap-l1: add support for SPI

2011-02-03 Thread Michael Williamson
Hi Sekhar, On 2/2/2011 10:37 AM, Nori, Sekhar wrote: > Hi Mike, > > On Wed, Feb 02, 2011 at 20:18:39, Michael Williamson wrote: > >>> Since all the platform device definitions for DA8XX devices happens >>> in devices-da8xx.c, it makes sense to get rid of the DA830_DMACH_* >>> enum altogether a

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello. On 03-02-2011 15:16, sughosh ganu wrote: > diff --git a/arch/arm/mach-davinci/Kconfig > b/arch/arm/mach-davinci/Kconfig > index 32f1479..e13b7e0 100644 > --- a/arch/arm/mach-davinci/Kc

RE: [PATCH v1 1/4] davinci: da8xx/omap-l1: add support for SPI

2011-02-03 Thread Nori, Sekhar
Hi Mike, On Thu, Feb 03, 2011 at 17:53:37, Michael Williamson wrote: > Hi Sekhar, > > On 2/2/2011 10:37 AM, Nori, Sekhar wrote: > > > Hi Mike, > > > > On Wed, Feb 02, 2011 at 20:18:39, Michael Williamson wrote: > > > >>> Since all the platform device definitions for DA8XX devices happens > >>

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Ben Gardiner
Hi Sergei and Sugosh, I'm sorry to jump in so late, but I think (hope) I may have a compromise-solution. On Thu, Feb 3, 2011 at 7:25 AM, Sergei Shtylyov wrote: > On 03-02-2011 15:16, sughosh ganu wrote: > >>         >                  diff --git a/arch/arm/mach-davinci/Kconfig >>         >      

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello. On 03-02-2011 16:51, Ben Gardiner wrote: I'm sorry to jump in so late, but I think (hope) I may have a compromise-solution. You're not late -- patch hasn't been resubmitted yet. :-) On Thu, Feb 3, 2011 at 7:25 AM, Sergei Shtylyov wrote: On 03-02-2011 15:16, sughosh ganu wrote:

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread sughosh ganu
hi Ben and Sergei, On Thu, Feb 3, 2011 at 7:21 PM, Ben Gardiner wrote: > > On 03-02-2011 15:16, sughosh ganu wrote: > > > >> > diff --git a/arch/arm/mach-davinci/Kconfig > >> > b/arch/arm/mach-davinci/Kconfig > >> > index

Re: [alsa-devel] [PATCH v2] asoc: davinci: da830/omap-l137: correct cpu_dai_name

2011-02-03 Thread Liam Girdwood
On Thu, 2011-02-03 at 16:42 +0530, Vaibhav Bedia wrote: > McASP1 is used on the DA830/OMAP-L137 platform for the codec. > This is different from the DA850/OMAP-L138 platform which uses McASP0. > > This is fixed by adding a new snd_soc_dai_link struct. > > Signed-off-by: Vaibhav Bedia > --- > >

RE: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Nori, Sekhar
Hi sughosh, On Thu, Feb 03, 2011 at 20:03:35, sughosh ganu wrote: > > We have a common da8xx_omapl_defconfig which is being currently used by > multiple boards(including hawkboard). Not all boards have a nand flash > mounted as default. So i cannot add this in the above defconfig file. So Why?

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread sughosh ganu
hi Sekhar, On Thu, Feb 3, 2011 at 10:38 PM, Nori, Sekhar wrote: > > > > We have a common da8xx_omapl_defconfig which is being currently used by > > multiple boards(including hawkboard). Not all boards have a nand flash > > mounted as default. So i cannot add this in the above defconfig file. So

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello. sughosh ganu wrote: hi Ben and Sergei, On Thu, Feb 3, 2011 at 7:21 PM, Ben Gardiner > wrote: > On 03-02-2011 15:16, sughosh ganu wrote: > >> > diff --git a/arch/arm/mach-davinci/Kconfig >> >

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello, I wrote: @Sergei We have a common da8xx_omapl_defconfig which is being currently used by multiple boards(including hawkboard). Not all boards have a nand flash mounted as default. So i cannot add this in the above defconfig file. Why? If the board doesn't have a NAND flash, it d

Re: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Sergei Shtylyov
Hello. sughosh ganu wrote: > > We have a common da8xx_omapl_defconfig which is being currently used by > multiple boards(including hawkboard). Not all boards have a nand flash > mounted as default. So i cannot add this in the above defconfig file. So On Thu,

Error While Running Demos

2011-02-03 Thread Aditya Barawkar
I'm trying to run demos for encode decode which came with DVSDK v1.30.01 for DM6446 EVM When i boot the board then I'm not seeing any demos which should run automatically as per the TI doc. So i opted to run the demos using command line. First i loaded all the modules which are required to run t

[PATCH] davinci: da8xx: clean up magic numbers in devices-da8xx.c

2011-02-03 Thread Michael Williamson
Extract magic numbers from DMA resource initializers to #defines. Signed-off-by: Michael Williamson --- arch/arm/mach-davinci/devices-da8xx.c | 21 + 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davin

[PATCH] davinci: remove unused DA830_edma_ch enum

2011-02-03 Thread Michael Williamson
The DA830_edma_ch enum set is not used. Remove it. Signed-off-by: Michael Williamson --- arch/arm/mach-davinci/include/mach/edma.h | 36 - 1 files changed, 0 insertions(+), 36 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/edma.h b/arch/arm/mach-dav

Re: [PATCH v2] asoc: davinci: da830/omap-l137: correct cpu_dai_name

2011-02-03 Thread Mark Brown
On Thu, Feb 03, 2011 at 04:42:25PM +0530, Vaibhav Bedia wrote: > McASP1 is used on the DA830/OMAP-L137 platform for the codec. > This is different from the DA850/OMAP-L138 platform which uses McASP0. > > This is fixed by adding a new snd_soc_dai_link struct. Applied, thanks. _

RE: Error While Running Demos

2011-02-03 Thread Tivy, Robert
More details about the failure to open the codec engine are needed. You can generate more info by setting the environment variable CE_DEBUG=3 and re-running your app: % export CE_DEBUG=3 % ./decode ... Regards, - Rob From: davinci-linux-open-source-bou

[PATCH 0/3] spi: davinci: move eventq parameter to platform data

2011-02-03 Thread Michael Williamson
For DMA operation, the davinci spi driver needs an eventq number. Currently, this number is passed as a IORESOURCE_DMA. This is not correct, as the eventq is not a DMA channel. Pass the eventq via the platform data structure instead as is done with davinci devices such as the McASP. Two platform

[PATCH 3/3] davinci: dm365: move spi0 eventq assignment from resources to platform data

2011-02-03 Thread Michael Williamson
Move the spi0 eventq assignment out of resources array and into platform data. Signed-off-by: Michael Williamson --- arch/arm/mach-davinci/dm365.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index 02d2

[PATCH 2/3] davinci: dm355: move spi0 eventq assignment from resources to platform data

2011-02-03 Thread Michael Williamson
Move the eventq assignment for spi0 out of resources and into platform data. Signed-off-by: Michael Williamson --- arch/arm/mach-davinci/dm355.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index a5f8a8

[PATCH 1/3] davinci: spi: move event_q parameter to platform data

2011-02-03 Thread Michael Williamson
For DMA operation, the davinci spi driver needs an eventq number. Currently, this number is passed as a IORESOURCE_DMA. This is not correct, as the eventq is not a DMA channel. Pass the eventq via the platform data structure instead. Signed-off-by: Michael Williamson --- arch/arm/mach-davinci/

[Err] Davinci-linux-open-source Digest, Vol 62, Issue 18

2011-02-03 Thread spam_master
ase help me out on how to make the sample demos run. Thanks in advance.! -- next part -- An HTML attachment was scrubbed... URL: <http://linux.davincidsp.com/pipermail/davinci-linux-open-source/attachments/20110203/6f8c5766/attachment-0001.html> --

[Err] Davinci-linux-open-source Digest, Vol 62, Issue 17

2011-02-03 Thread spam_master
or boards which do not use it is fine. Can someone please elucidate. But if adding them to the defconfig file is ok, i will respin the patch accordingly and resubmit. Thanks. -sughosh -- next part -- An HTML attachment was scrubbed... URL: &l

[Err] Davinci-linux-open-source Digest, Vol 62, Issue 19

2011-02-03 Thread spam_master
Transmit Report: wow...@cbnu.ac.kr¿¡°Ô ¸ÞÀÏ ¹ß¼ÛÀ» 3¹ø ½ÃµµÇßÁö¸¸ ½ÇÆÐÇÏ¿´½À´Ï´Ù. (½ÇÆÐ ÀÌÀ¯ : 900 Socket connect fail(210.115.161.38)) <Âü°í> ½ÇÆÐ ÀÌÀ¯¿¡ ´ëÇÑ ¼³¸í User unknown :¸ÞÀÏÀ» ¼ö½ÅÇÒ »ç¿ëÀÚ°¡ Á¸ÀçÇÏÁö ¾ÊÀ½ Socket connect fail:¼ö½Å ¸ÞÀÏ ¼­¹ö¿Í ¿¬°á ½ÇÆÐ DATA write fail:¼ö½Å ¸ÞÀ

RE: Intermittent SD write corruption on DM355, kernel 2.6.36

2011-02-03 Thread Jon Povey
Gilles Chanteperdrix wrote: > Jon Povey wrote: >> I think I have a fix for this now - just CC'd you on the patch RFC >> >> [RFC] mmc: davinci: fix corruption after surprise card eject >> >> (Which fixes it, but may not be the best way of going about it). > > If I read you correctly, it seems that t

[Err] Davinci-linux-open-source Digest, Vol 62, Issue 16

2011-02-03 Thread spam_master
fconfig file. So then, the flash driver, along with the neccessary mtd configs will have to be included everytime through the menuconfig, inspite of the fact that the flash is a default component on the board. -sughosh -- next part -- An HTML attachment was scrubbed...

RE: [PATCH 1/1] Add support for Nand flash on Hawkboard.

2011-02-03 Thread Nori, Sekhar
Hi sughosh, On Thu, Feb 03, 2011 at 23:31:48, sughosh ganu wrote: > hi Sekhar, > > > On Thu, Feb 3, 2011 at 10:38 PM, Nori, Sekhar wrote: > > > > > > We have a common da8xx_omapl_defconfig which is being > currently used by > > multiple boards(including hawkboard). Not all b