REG: Codec Open Fail

2010-01-10 Thread Vinayagam Mariappan
Hi All,

I am working MPEG-4 Decoder Optimization and I try to map some part of code
section to Internal Memory IRAM.

I have defined my memory mapping section in link.cmd say below

SECTIONS
{
.text:_idct_8x8  IRAM

}

I get following error when I execute my Application

//==

Error: DSP-side memory map does not match configuration.
Compare DSP-side TCF/MAP file with /dsplink/config/all/CFG_PLATFORM.c
TraceUtil Error: Failed to open codec engine decode
TraceUtil Error: Aborting TraceUtil_start
Error: DSP-side memory map does not match configuration.
Compare DSP-side TCF/MAP file with /dsplink/config/all/CFG_PLATFORM.c
Error: Failed to open codec engine decode
decodeapp: Loader.c:339: Alignment trap: decodeapp (1220) PC=0x401607c0
Instr=0x
e5913004 Address=0x0005 FSR 0x001
Loader_readData: Assertion `hLoader' failed.
Bus error
//===

But it works fine when I map with External Memory section.

Where is the Problem?
-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: davinci emac: emac_net_alloc_rx_buf:Failed to allocate skb for eth0

2009-11-18 Thread Vinayagam Mariappan
Hi,

We are doing 20 Channel simultaneous Recording for every 5 min on DM6467 EVM
using Network Camera.
After 30 min of Recording I getting the following error

 davinci emac: emac_net_alloc_rx_buf:Failed to allocate skb for eth0.
How to handle this issue in Real-Time?

Regards,
Vinayagam M
On Wed, Nov 18, 2009 at 6:51 PM, kavitha vinayagam ashwinv...@gmail.comwrote:

 *Hai,*
 **
 *I am doing 20 Channel Recording for every 5 min. After 30 min of
 Recording I getting the following error*
 *How should I handle this problem.*

 : davinci emac: emac_net_alloc_rx_buf:Failed to allocate skb for eth0.

 ___
 Davinci-linux-open-source mailing list
 Davinci-linux-open-source@linux.davincidsp.com
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source




-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: davinci emac: emac_net_alloc_rx_buf:Failed to allocate skb for eth0

2009-11-18 Thread Vinayagam Mariappan
Hi,

We are doing 20 Channel simultaneous Recording for every 5 min on DM6467 EVM
using Network Camera.
After 30 min of Recording I getting the following error

 davinci emac: emac_net_alloc_rx_buf:Failed to allocate skb for eth0.

How to handle this issue in Real-Time?

-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Single channel Source to two different displays in DM6446

2009-09-14 Thread Vinayagam Mariappan
Hi all,
We are working in DM6446 and its necessary for us to send the data
from single channel source to two or three different displays.
We verified two different displays from same source by changing the
bootargs as COMPOSITE and TFTLCD.
Instead of changing the bootargs is there any way we can configure
and directly send to two different displays.
   Suggest us the ways.




-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Ethernet doesnt work after kernel booting in DM6446

2009-08-20 Thread Vinayagam Mariappan
Hi all,
 In out customized board we changed the memory configuration to 128MB DDR
and bus width as 16bit.
As per the above configuration we changed UBL and UBOOT.
I am able to boot.
Once the system boots even if i set the static or dynamic IP in boot command
 i am not able to connect to NFS.Network doesnt work.

boot cmd i checked its working in another board.So boot cmd is of no
problem.

We have GPIO based Reset for ethernet in uboot.
We checked the GPIO status and its ok.



If i set static IP in bootargs i get

P-Config: Complete:
  device=eth0, addr=192.168.0.12, mask=255.255.255.0, gw=192.168.0.1,
 host=192.168.0.12, domain=, nis-domain=(none),
 bootserver=192.168.0.134, rootserver=192.168.0.184, rootpath=
Looking up port of RPC 13/2 on 192.168.0.184
portmap: server 192.168.0.184 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 15/1 on 192.168.0.184
portmap: server 192.168.0.184 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.0.184 not responding, timed out
Root-NFS: Server returned error -5 while mounting
/home/kirthika/workdir/filesys
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device nfs or unknown-block(2,0)
Please append a correct root= boot option
Kernel panic - not syncing: VFS: Unable to mount

 If i set Dynamic IP in bootargs I get

 Sending DHCP requests ...3DHCP/BOOTP: Reply not for us, op[2]
xid[d2612bc5]
.3DHCP/BOOTP: Reply not for us, op[2] xid[d32ac90b]
.3DHCP/BOOTP: Reply not for us, op[2] xid[d32ac90b]
Changing the DDR bus width to 16Bit and 128MB does affect network.

Anybody had same kind of problem and any solution to this.



Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: saDisplay + DM6467 showing black an white image in SD Display

2009-08-12 Thread Vinayagam Mariappan
Hi,

Our Codec is xDAIS-xDM Compliant so thats not trouble to get decoded data to
Application.

But we are doing some mistake on buffer assignment in compliant with VIDEC2.

Please let me know, If you have some specific reference or sample for VIDEC2
Codec.

Regards,
Vinayagam M

On Wed, Aug 12, 2009 at 3:11 PM, Deepika Makhija 
deepika.makh...@einfochips.com wrote:

  Hi  Vinayagam,

 I suppose that your customized MPEG-4 Decoder is xDAIS-xDM complaint, if
 yes than TI's application will run without any changes.
 I don't know much about codec interface for customized Codec's, however you
 can take reference of few doc's on net.


 http://wiki.davincidsp.com/index.php/TopTenCodecPackageCheckList#3._VISA_XDM_API_usage
 XDAIS Rules  Guidelines : SPRU352http://www-s.ti.com/sc/techlit/spru352
 XDAIS API Reference : SPRU360 http://www-s.ti.com/sc/techlit/spru360

 Regards,
 Deepika


 Vinayagam Mariappan wrote:

 Hi,

 I have checked with H264 Stream  with D1 resolution using TI DM6467 Demo
 Application. Its working.

 But It doest work with our customized MPEG-4 Decoder. I am doubting only my
 codec interface

 Do you have simple codec interface using VIDEC2 using two output buffer?

 Please do help me to fix this issueThis is first time I am doing all
 this kind of interface so confusing me.

 Regards,
 Vinayagam M





 On Mon, Aug 10, 2009 at 4:02 PM, Deepika Makhija 
 deepika.makh...@einfochips.com wrote:

  Hi  Vinayagam,

 H264 sample streams are available on TI Extranet:
 https://www-a.ti.com/extranet/cm/product/dvevmsw/dspswext/general/dm355_dvevm.shtml

 Consider TI's decode application,  file
 dvsdk_demos_1_40_00_18/dm6467/decode/video.c is used to set the decoder
 parameters, where Vdec2_Params_DEFAULT and Vdec2_DynamicParams_DEFAULT are
 used to set the default decoder parameters, whose value is mentioned in dmai
 module,  you have to modify height/width of these as per your resolution.
 Same would be the case with
 dvsdk_demos_1_40_00_18/dm6467/decode/display.c where default display
 parameters are set with Display_Attrs_DM6467_VID_DEFAULT.

 Regards,
 Deepika


 Vinayagam Mariappan wrote:

  Hi,

 I have only H264 TI Codec Lib but I do not find H264 Stream for D1.
 Do you have any sample file?

 Please send me if you have one...

 Its confusing me to Integrate with our customized codec...  As I know, I
 have to do minimal changes to get our customized codec to work with our TI
 Demo Application.
 Could you please me specific things to see?
 Do you have any idea which specific enum directly look into it...?

 Regards,
 Vinayagam M


 On Mon, Aug 3, 2009 at 1:40 PM, Deepika Makhija 
 deepika.makh...@einfochips.com wrote:

 Hi,

 Nice to hear that your saDisplay is working now.

 we are not getting video.But I get video data till App. Can you please
 describe in detail, up till which module you are getting correct output.

 I would suggest instead of integrating your decoder, first try to modify
 the application to work at D1 resolution with TI codecs, which are capable
 of decoding D1 resolution also,  for that you would have to change few enums
 in the application. Once that path is clear than integrate your decoder.

 Regards,
 Deepika

 Vinayagam Mariappan wrote:

 Hi Deepika,
  I just made the saDisplay to work properly.
   Now I have to change the Decoder Application to work with our
 customized decoder which always give video out with D1 resolution...
  The TI Demo Application is for HD Display and I change that to work for
 SD Display. When I integrate our customized decoder with demo application,
 we are not getting video.But I get video data till App.
  Where will be the problem...
  Regards,
 Vinayagam M

  --
 _
 Disclaimer: This e-mail message and all attachments transmitted with it
 are intended solely for the use of the addressee and may contain legally
 privileged and confidential information. If the reader of this message
 is not the intended recipient, or an employee or agent responsible for
 delivering this message to the intended recipient, you are hereby
 notified that any dissemination, distribution, copying, or other use of
 this message or its attachments is strictly prohibited. If you have
 received this message in error, please notify the sender immediately by
 replying to this message and please delete it from your computer. Any
 views expressed in this message are those of the individual sender
 unless otherwise stated.Company has taken enough precautions to prevent
 the spread of viruses. However the company accepts no liability for any
 damage caused by any virus transmitted by this email.
  _




 --
 Regards,
 Vinayagam M

 VeNMSOL Technologies,

 #7A, First Cross Street, Ganapathy Colony,

 Ekkaduthangal, Chennai - 600 032,India.

 Tel:+91-44-4353 0168;Mobile:+91-9445-019919

 URL: www.venmsol.com
 We make a living by what

Re: saDisplay + DM6467 showing black an white image in SD Display

2009-08-11 Thread Vinayagam Mariappan
Hi,

I have checked with H264 Stream  with D1 resolution using TI DM6467 Demo
Application. Its working.

But It doest work with our customized MPEG-4 Decoder. I am doubting only my
codec interface

Do you have simple codec interface using VIDEC2 using two output buffer?

Please do help me to fix this issueThis is first time I am doing all
this kind of interface so confusing me.

Regards,
Vinayagam M





On Mon, Aug 10, 2009 at 4:02 PM, Deepika Makhija 
deepika.makh...@einfochips.com wrote:

  Hi  Vinayagam,

 H264 sample streams are available on TI Extranet:
 https://www-a.ti.com/extranet/cm/product/dvevmsw/dspswext/general/dm355_dvevm.shtml

 Consider TI's decode application,  file
 dvsdk_demos_1_40_00_18/dm6467/decode/video.c is used to set the decoder
 parameters, where Vdec2_Params_DEFAULT and Vdec2_DynamicParams_DEFAULT are
 used to set the default decoder parameters, whose value is mentioned in dmai
 module,  you have to modify height/width of these as per your resolution.
 Same would be the case with
 dvsdk_demos_1_40_00_18/dm6467/decode/display.c where default display
 parameters are set with Display_Attrs_DM6467_VID_DEFAULT.

 Regards,
 Deepika


 Vinayagam Mariappan wrote:

 Hi,

 I have only H264 TI Codec Lib but I do not find H264 Stream for D1.
 Do you have any sample file?

 Please send me if you have one...

 Its confusing me to Integrate with our customized codec...  As I know, I
 have to do minimal changes to get our customized codec to work with our TI
 Demo Application.
 Could you please me specific things to see?
 Do you have any idea which specific enum directly look into it...?

 Regards,
 Vinayagam M


 On Mon, Aug 3, 2009 at 1:40 PM, Deepika Makhija 
 deepika.makh...@einfochips.com wrote:

 Hi,

 Nice to hear that your saDisplay is working now.

 we are not getting video.But I get video data till App. Can you please
 describe in detail, up till which module you are getting correct output.

 I would suggest instead of integrating your decoder, first try to modify
 the application to work at D1 resolution with TI codecs, which are capable
 of decoding D1 resolution also,  for that you would have to change few enums
 in the application. Once that path is clear than integrate your decoder.

 Regards,
 Deepika

 Vinayagam Mariappan wrote:

 Hi Deepika,
  I just made the saDisplay to work properly.
   Now I have to change the Decoder Application to work with our
 customized decoder which always give video out with D1 resolution...
  The TI Demo Application is for HD Display and I change that to work for
 SD Display. When I integrate our customized decoder with demo application,
 we are not getting video.But I get video data till App.
  Where will be the problem...
  Regards,
 Vinayagam M

  --
 _
 Disclaimer: This e-mail message and all attachments transmitted with it
 are intended solely for the use of the addressee and may contain legally
 privileged and confidential information. If the reader of this message
 is not the intended recipient, or an employee or agent responsible for
 delivering this message to the intended recipient, you are hereby
 notified that any dissemination, distribution, copying, or other use of
 this message or its attachments is strictly prohibited. If you have
 received this message in error, please notify the sender immediately by
 replying to this message and please delete it from your computer. Any
 views expressed in this message are those of the individual sender
 unless otherwise stated.Company has taken enough precautions to prevent
 the spread of viruses. However the company accepts no liability for any
 damage caused by any virus transmitted by this email.
  _




 --
 Regards,
 Vinayagam M

 VeNMSOL Technologies,

 #7A, First Cross Street, Ganapathy Colony,

 Ekkaduthangal, Chennai - 600 032,India.

 Tel:+91-44-4353 0168;Mobile:+91-9445-019919

 URL: www.venmsol.com
 We make a living by what we get, we make a life by what we give...-
 Unknown 




   *Email Scanned for Virus  Dangerous Content by :* *
 www.CleanMailGateway.com*



 --
 Thanks  Regards,
 Deepika Makhija
 eInfochips Ltd.
 Tel. No. +91-79-26563705 Ext. 218www.einfochips.com


 --
 --
  Disclaimer: This e-mail message and all attachments transmitted with it
 are intended solely for the use of the addressee and may contain legally
 privileged and confidential information. If the reader of this message is
 not the intended recipient, or an employee or agent responsible for
 delivering this message to the intended recipient, you are hereby notified
 that any dissemination, distribution, copying, or other use of this message
 or its attachments is strictly prohibited. If you have received this message
 in error, please notify the sender immediately by replying to this message
 and please delete it from your computer. Any

Re: saDisplay + DM6467 showing black an white image in SD Display

2009-08-02 Thread Vinayagam Mariappan
Hi  Deepika,

I just made the saDisplay to work.

Its always better to follow some principle like,

 Give YUV420 semi planar data to convert YUV422 data other wise you will
get wrong conversion file because when we use Ccv it always copy the data
with image width size

 Display always works with YUV422 Planar

Anyway thanks for your detailed description that made me analyse it
properly.

Regards,
Vinayagam M

On Sun, Aug 2, 2009 at 3:04 AM, Jadav, Brijesh R brijes...@ti.com wrote:

 Hi Deepika,

 As per the specs, VPIF cannot display planar YUV422 data. It says it takes
 Luma and Chroma data for top and bottom field for interlaced image and Luma
 and Chroma data for the Progressive image. Also there is no separate
 register even to specify buffer pointer for cb and cr data. This is also
 true for the VDCE. Can you please tell me where it says VPIF can display
 planar YUV422 images?

 Thanks,
 Brijesh Jadav
 
 From: davinci-linux-open-source-boun...@linux.davincidsp.com [
 davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of
 Deepika Makhija [deepika.makh...@einfochips.com]
 Sent: Saturday, August 01, 2009 12:01 AM
 To: Vinayagam Mariappan
 Cc: Davinci-linux-open-source@linux.davincidsp.com
 Subject: Re: saDisplay + DM6467 showing black an white image in SD Display

 Hi,

 DM6467 encode/decode  supports 4:2:0 YUV semi planar mode only
 Capture driver supports 4:2:2 YUV semi planar and display supports 4:2:2
  semi planar and planar.
 VDCE module performs conversion irrespective of planar/semi planar mode, it
 does resize and CCV conversion

 Assume you perform CCV conversion of 4:2:2 to 4:2:0 than

  *   If input is 4:2:2 semi planar than output will be 4:2:0 semi planar
  *   If input is 4:2:2 planar than output will be 4:2:0 planar

 Capture and display drivers allocate buffer for 1920x1080 resolution during
 initialization.  Two buffers are located, one for luma and other for chroma.
 So, Chroma will be at the offset of 1920*1080 irrespective of the capture
 resolution. Same is true for the display driver. But this is the case only
 for MMAP buffers as MMAP buffers are allocated by the driver.

 Luma and chroma can be arranged together with the ioctl S_FMT. In that case
 chroma data will be at the offset of width*height, where width/height
 corresponds to the resolution selected.

 One more thing, in case of MMAP buffers, if S_FMT is performed than Luma
 and chroma will be aligned together and buffer length would be still
 1920*1080*2 as those buffers are allocated during initialization. VDCE
 expects chroma at the offset of  buffer length /2, in that case also only
 Y data will appear, as actual chroma data would be at 720*480 offset for
 NTSC.

 Hope this helps you to debug your problem

 Regards,
 Deepika

 Vinayagam Mariappan wrote:
 Hi,

 Its confusing me..

 Let me give your data

 In my system, I just decode MPEG-4 Data and get YUV420 on D1 resolution..
 Now What I am doing is Just get one Frame of YUV420 data from decoder
 (YUV420 = [YY][UU...][V] then convert that YUV420
 to YUV422 using saCCV420_422 and then I use the converted YUV422 to display
 unit using saDisplay.

 I get Luma data properly out on screen but never get Chroma.

 Actually I use Decoder Demo Application which made for HD. I have able to
 display the HD Decoded data comes with demo and display it on SD unit. But
 when I use my customized decoded on D1 resolution I am not getting anything
 on screen. So I want to debug the issue using saDisplay then update it on
 applicayion.

 I hope you got me in a right way...

 Looking forward to fix this issue.

 Regards,
 Vinayagam M

 On Sat, Aug 1, 2009 at 3:12 AM, Jadav, Brijesh R brijes...@ti.commailto:
 brijes...@ti.com wrote:
 Hello Murali,

 DM6467 supports NV16 video format, where image is stored in two buffers.
 First buffer contains luma data and second buffer contains cb and cr
 interleaved data. It does not support completele YUV422 interleaved data.

 You are right, chroma buffer pointer could also be an problem. Display
 driver always expects chroma data at the half of the buffer size.

 Thanks,
 Brijesh Jadav
 
 From: Karicheri, Muralidharan
 Sent: Friday, July 31, 2009 10:34 AM
 To: Jadav, Brijesh R; Vinayagam Mariappan
 Cc: Davinci-linux-open-source@linux.davincidsp.commailto:
 Davinci-linux-open-source@linux.davincidsp.com
 Subject: RE: saDisplay + DM6467 showing black an white image in SD Display

 Brijesh,

 DM6467 display accept YUV422 planar. The format is YUV422 =
 [][U][V].
 as given by Vinayagam.

 If you are seeing black and white image, it is probably because your cbcr
 offer is not correct.
 The display driver in expects cbcr offset at half kernel buffer size (MMAP)
 and half of sizeimage for UserPTR.
 I have been working to port the code to GIT and this is what I have
 understood.

 Murali Karicheri
 Software

Re: saDisplay + DM6467 showing black an white image in SD Display

2009-08-02 Thread Vinayagam Mariappan
Hi Deepika,

I just made the saDisplay to work properly.


Now I have to change the Decoder Application to work with our customized
decoder which always give video out with D1 resolution...

The TI Demo Application is for HD Display and I change that to work for SD
Display. When I integrate our customized decoder with demo application, we
are not getting video.But I get video data till App.

Where will be the problem...

Regards,
Vinayagam M




On Sat, Aug 1, 2009 at 2:01 PM, Deepika Makhija 
deepika.makh...@einfochips.com wrote:

 Hi,

 DM6467 encode/decode  supports 4:2:0 YUV semi planar mode only
 Capture driver supports 4:2:2 YUV semi planar and display supports 4:2:2
 semi planar and planar.
 VDCE module performs conversion irrespective of planar/semi planar mode, it
 does resize and CCV conversion

 Assume you perform CCV conversion of 4:2:2 to 4:2:0 than

- If input is 4:2:2 semi planar than output will be 4:2:0 semi planar
- If input is 4:2:2 planar than output will be 4:2:0 planar

 Capture and display drivers allocate buffer for 1920x1080 resolution during
 initialization.  Two buffers are located, one for luma and other for chroma.
 So, Chroma will be at the offset of 1920*1080 irrespective of the capture
 resolution. Same is true for the display driver. But this is the case only
 for MMAP buffers as MMAP buffers are allocated by the driver.

 Luma and chroma can be arranged together with the ioctl S_FMT. In that case
 chroma data will be at the offset of width*height, where width/height
 corresponds to the resolution selected.

 One more thing, in case of MMAP buffers, if S_FMT is performed than Luma
 and chroma will be aligned together and buffer length would be still
 1920*1080*2 as those buffers are allocated during initialization. VDCE
 expects chroma at the offset of  buffer length /2, in that case also only
 Y data will appear, as actual chroma data would be at 720*480 offset for
 NTSC.

 Hope this helps you to debug your problem

 Regards,
 Deepika

 Vinayagam Mariappan wrote:

   Hi,

 Its confusing me..

 Let me give your data

 In my system, I just decode MPEG-4 Data and get YUV420 on D1 resolution..
 Now What I am doing is Just get one Frame of YUV420 data from decoder
 (YUV420 = [YY][UU...][V] then convert that YUV420
 to YUV422 using saCCV420_422 and then I use the converted YUV422 to display
 unit using saDisplay.

 I get Luma data properly out on screen but never get Chroma.

 Actually I use Decoder Demo Application which made for HD. I have able to
 display the HD Decoded data comes with demo and display it on SD unit. But
 when I use my customized decoded on D1 resolution I am not getting anything
 on screen. So I want to debug the issue using saDisplay then update it on
 applicayion.

 I hope you got me in a right way...

 Looking forward to fix this issue.

 Regards,
 Vinayagam M

 On Sat, Aug 1, 2009 at 3:12 AM, Jadav, Brijesh R brijes...@ti.com wrote:

 Hello Murali,

 DM6467 supports NV16 video format, where image is stored in two buffers.
 First buffer contains luma data and second buffer contains cb and cr
 interleaved data. It does not support completele YUV422 interleaved data.

 You are right, chroma buffer pointer could also be an problem. Display
 driver always expects chroma data at the half of the buffer size.

 Thanks,
 Brijesh Jadav
 
 From: Karicheri, Muralidharan
 Sent: Friday, July 31, 2009 10:34 AM
 To: Jadav, Brijesh R; Vinayagam Mariappan
  Cc: Davinci-linux-open-source@linux.davincidsp.com
 Subject: RE: saDisplay + DM6467 showing black an white image in SD Display

 Brijesh,

 DM6467 display accept YUV422 planar. The format is YUV422 =
 [][U][V].
 as given by Vinayagam.

 If you are seeing black and white image, it is probably because your cbcr
 offer is not correct.
 The display driver in expects cbcr offset at half kernel buffer size
 (MMAP) and half of sizeimage for UserPTR.
 I have been working to port the code to GIT and this is what I have
 understood.

 Murali Karicheri
 Software Design Engineer
 Texas Instruments Inc.
 Germantown, MD 20874
 Phone : 301-515-3736
 email: m-kariche...@ti.com
 
 From: davinci-linux-open-source-bounces+m-karicheri2=ti.com@
 linux.davincidsp.com [mailto:
 davinci-linux-open-source-bounces+m-karicheri2davinci-linux-open-source-bounces%2Bm-karicheri2
 =ti@linux.davincidsp.com] On Behalf Of Jadav, Brijesh R
 Sent: Friday, July 31, 2009 8:42 AM
 To: Vinayagam Mariappan
 Cc: Davinci-linux-open-source@linux.davincidsp.com
 Subject: RE: saDisplay + DM6467 showing black an white image in SD Display

 Hi,

 DM6467 display module accepts data in the YUV422 semi-planar format. It is
 as shown below

 YUV422 = [][UVUVUVUVUV].
 Probably, this is reason why you are not getting correct color
 information.

 Thanks,,
 Brijesh Jadav

 
 From

Re: saDisplay + DM6467 showing black an white image in SD Display

2009-07-31 Thread Vinayagam Mariappan
Hi,

YUV422 = [][U][V].

How about YUV420I have my own MPEG-4 Decoder which gives out YUV420 with
D1 resolution.

I am using TI Sample Application to Interface with our own MPEG-4 Decoder
Server. I get my YUV data to application but I am not able to display it.

Where do I making mistake?

Regards,
Vinayagam M

On Fri, Jul 31, 2009 at 9:31 PM, Jadav, Brijesh R brijes...@ti.com wrote:

  Hi,



 What is the format of your YUV422 file? DM6467 supports only YUV422
 Semi-Planar format.



 Thanks,

 Brijesh Jadav


  --

 *From:* Vinayagam Mariappan [mailto:vinayagamenm...@gmail.com]
 *Sent:* Friday, July 31, 2009 5:57 PM
 *To:* Jadav, Brijesh R
 *Cc:* Davinci-linux-open-source@linux.davincidsp.com
 *Subject:* Re: saDisplay + DM6467 showing black an white image in SD
 Display



 Hi,

 Yes, I know...
 But I have modified to play with YUV422 sample. I get only Luma not
 chroma

 I am just fulling the buffer with YUV422 Data.

 Regards,
 Vinayagam M

 On Fri, Jul 31, 2009 at 9:19 PM, Jadav, Brijesh R brijes...@ti.com
 wrote:

 Hi,



 As far as I remember, this application does not work the sample image.
 Application actually generates color bar and displays it.



 Thanks,

 Brijesh Jadav


  --

 *From:* davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:
 davinci-linux-open-source-boun...@linux.davincidsp.com] *On Behalf Of 
 *kirthika
 varadarajan
 *Sent:* Friday, July 31, 2009 3:28 PM
 *To:* Davinci-linux-open-source@linux.davincidsp.com
 *Subject:* saDisplay + DM6467 showing black an white image in SD Display



 We tried displaying yuv4::2:2(740x480) image in SD display using
 saDisplay(application sample ibn PSP),

 But we  are getting black and white image even if we input color image.

 We tried the sample  file  given in PSP.



 But black.



 we are curious to know how to get the color  SD display.




 ___
 Davinci-linux-open-source mailing list
 Davinci-linux-open-source@linux.davincidsp.com
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source




 --
 Regards,
 Vinayagam M

 VeNMSOL Technologies,

 #7A, First Cross Street, Ganapathy Colony,

 Ekkaduthangal, Chennai - 600 032,India.

 Tel:+91-44-4353 0168;Mobile:+91-9445-019919

 URL: www.venmsol.com
 We make a living by what we get, we make a life by what we give...-
 Unknown 




-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Reg: DM365 DVSDK Building Error.....

2009-07-24 Thread Vinayagam Mariappan
Hi All,

we get following message continuously  when we rebuild DM365 DVSDK
(dvsdk_2_10_01_18).

Rebuild  Error Message  is below,

Building package interface for dmai..
gmake: Warning: File
`/home/Vina/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/bld/xdc_rules.mak'
has modification time 4.2e+05 s in the future
making package.mak (because of package.bld) ...
gmake: Warning: File
`/home/Vina/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/bld/xdc_rules.mak'
has modification time 4.2e+05 s in the future
making package.mak (because of package.bld) ...
gmake: Warning: File
`/home/Vina/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/bld/xdc_rules.mak'
has modification time 4.2e+05 s in the future
making package.mak (because of package.bld) ...
gmake: Warning: File
`/home/Vina/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/bld/xdc_rules.mak'
has modification time 4.2e+05 s in the future
making package.mak (because of package.bld) ...
gmake: Warning: File
`/home/Vina/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/bld/xdc_rules.mak'
has modification time 4.2e+05 s in the future
making package.mak (because of package.bld) ...
gmake: Warning: File
`/home/Vina/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/bld/xdc_rules.mak'
has modification time 4.2e+05 s in the future
making package.mak (because of package.bld) ...

I did not find the reason for this error to fix.. Please tell me, how to
figure this problem...

-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Compiler setting of CCS inside codec engine for DM6446

2009-05-28 Thread Vinayagam Mariappan
I am working with optimization of JPEG and MPEG encoder.
In CCS studio i am making the compiler setting as
Opt Level: File (o 3)
Opt Speed Vs Size: Speed Most critical
Program Level Opt: No External Var Ref.(=pm =op3)
Enabling Macros


I want to do the same setting for my codec which is residing inside codec
engine for DM6446.

Suggest me how to make the compiler setting inside codec engine or is there
any reference for it



-- 
Regards,
Vinayagam M

VeNMSOL Technologies,

#7A, First Cross Street, Ganapathy Colony,

Ekkaduthangal, Chennai - 600 032,India.

Tel:+91-44-4353 0168;Mobile:+91-9445-019919

URL: www.venmsol.com
We make a living by what we get, we make a life by what we give...- Unknown

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Decode demo in DM6467+composite

2009-02-25 Thread Vinayagam Mariappan
In decode demo if DM6467 with
dvsdk version dvsdk_1_40_02_33

I changed the display attributes to
Display_Attrs Attrs = Display_Attrs_DM6446_DM355_VID_DEFAULT;
in display.c


When i compile and execute i  am getting the following error.
*Failed to create display device.*



where as the same change of display attributes in
dvsdk_1_40_00_28 worked well and i was able to see the decode demo(COMPOSITE
output)


Suggest me
How to set up decode demo for COMPOSITE display of DM6467.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Nor booting and mounting Nand file system in dm6446

2009-02-15 Thread Vinayagam Mariappan
I am trying to boot via Nor Flash

 My boot settings are as follows
bootdelay=3
baudrate=115200
bootfile=uImage
nfshost=192.168.0.184
rootpath=/home/Vina/workdir/filesys
bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.0.188:192
.168.0.185:192.1
68.0.1:255.255.255.0:::off root=/dev/nfs
nfsroot=192.168.0.184:/home/Vina/workdir/filesys,nolock
mem=120M
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:29:00
videostd=ntsc
bootm=0x205
bootcmd=bootm 0x205
filesize=14b9d0
fileaddr=8000
gatewayip=192.168.0.1
netmask=255.255.255.0
ipaddr=192.168.0.188
serverip=192.168.0.185

I built kernel with the following settings


CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y

CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y

CONFIG_MTD_CFI=y
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
CONFIG_MTD_CFI_AMDSTD=y
CONFIG_MTD_CFI_UTIL=y

CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=0x800
CONFIG_MTD_PHYSMAP_LEN=0
CONFIG_MTD_PHYSMAP_BANKWIDTH=2



But when i boot the device i am not getting the nand partition.

When i put cat /proc/mtd

I am getting only this message.
   dev:size   erasesize  name






(ii)Similarly when booting from NOR



   I tried tftp 80008000 uImage

   erase 205 +14b9d0

   cp 8000 205 14b9d0

I am getting



   Copy to Flash...-Timeout writing to Flash

 When i boot via nor the kernel get crashed.



Suggest me how to resolve booting via nor as well as nand partition.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


AVI read using ffmpeg in DM6467

2009-01-19 Thread Vinayagam Mariappan
Hi,
  I am having an AVI file of 10MB and it had more than 150frames.
  I have difficulty reading all 150 frames and displaying again.Whenever i
read around 72 frames i am getting the following errors in DM6467.


oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 14, high 42, batch 7
cpu 0 cold: low 0, high 14, batch 7
Normal per-cpu: empty
HighMem per-cpu: empty

Free pages:1380kB (0kB HighMem)
Active:19128 inactive:714 dirty:0 writeback:0 unstable:0 free:345 slab:950
mappe
d:19063 pagetables:67
DMA free:1380kB min:1400kB low:1748kB high:2100kB active:76512kB
inactive:2856kB
 present:122880kB pages_scanned:97106 all_unreclaimable? yes
protections[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
pag
es_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB
present:
0kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
DMA: 1*4kB 0*8kB 0*16kB 1*32kB 1*64kB 0*128kB 1*256kB 0*512kB 1*1024kB
0*2048kB
0*4096kB 0*8192kB 0*16384kB = 1380kB
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Out of Memory: Killed process 1033 (boa).
[01/Jan/1970:00:03:11 +] caught SIGTERM, starting shutdown
boa: page allocation failure. order:0, mode:0x1d2
boa: page allocation failure. order:0, mode:0x1d2
VM: killing process boa

[1]+  Killed  ./boa -c /etc script  (wd: /opt/dvsdk_dm6467)



I put the file in hard disk and read file from hard also. I am getting the
above debug messages.

I cleared all memory routines in ffmpeg(av_free(),av_free_packet()).Still i
am getting the same

exceptions.

Suggest me the solution...



Regards

Vinayagam
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source