Re: How to build Gsteamer on DM355

2008-11-05 Thread richard.zhao
Oh, I have made mistake, the project at 
http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100 ,not for DM355. How 
to get the package for 
http://wiki.davincidsp.com/index.php?title=DM3xx_Gstreamer_Solution then?


--   
Best Regards
Richard Zhao
2008-11-06

-
发件人:richard.zhao
发送日期:2008-11-06 10:06:36
收件人:davinci-linux-open-source
抄送:
主题:How to build Gsteamer on DM355

Hi all,

I downloaded the gstreamer sourcecode from 
http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100 and followed the 
instructions by SPRAAQ9.pdf, but the compiling just failed when configure glibc

... ...
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... configure: error: cannot run test program 
while cross compiling
See `config.log' for more details.
make: *** No rule to make target `clean'.  Stop.
make: *** No rule to make target `install'.  Stop.

How can I solve this problem?
And I also found a post at 
http://wiki.davincidsp.com/index.php?title=DM3xx_Gstreamer_Solution , it seems 
differ from which founded at focus.ti.com/, how to get the sourcecode the 
post described?


Best Regards,
Richard
2008-11-6

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


RE: [PATCH] ARM: DaVinci: Audio: Fix the audio stall problem when doing full-duplex

2008-11-05 Thread Rajashekhara, Sudhakar
Naresh,

> -Original Message-
> From: davinci-linux-open-source-
> [EMAIL PROTECTED] [mailto:davinci-linux-
> [EMAIL PROTECTED] On Behalf Of
> Medisetty, Naresh
> Sent: Friday, October 31, 2008 1:29 PM
> To: davinci-linux-open-source@linux.davincidsp.com
> Cc: Medisetty, Naresh
> Subject: [PATCH] ARM: DaVinci: Audio: Fix the audio stall problem when
> doing full-duplex
> 
> From: Naresh Medisetty <[EMAIL PROTECTED]>
> 
> Fixes the audio stall problem when doing playback and capture at the same
> time.
> 
> Signed-off-by: Naresh Medisetty <[EMAIL PROTECTED]>
> ---
>  sound/soc/davinci/davinci-i2s.c |   35 --
> -
>  1 files changed, 24 insertions(+), 11 deletions(-)
> 
> diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-
> i2s.c
> index d8279ad..8b29463 100644
> --- a/sound/soc/davinci/davinci-i2s.c
> +++ b/sound/soc/davinci/davinci-i2s.c
> @@ -262,17 +262,30 @@ static int davinci_i2s_hw_params(struct
> snd_pcm_substream *substream,
>   u32 w;
> 
>   /* general line settings */
> - davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SPCR_REG,
> - DAVINCI_MCBSP_SPCR_RINTM(3) |
> - DAVINCI_MCBSP_SPCR_XINTM(3) |
> - DAVINCI_MCBSP_SPCR_FREE);
> - davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_RCR_REG,
> - DAVINCI_MCBSP_RCR_RFRLEN1(1) |
> - DAVINCI_MCBSP_RCR_RDATDLY(1));
> - davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_XCR_REG,
> - DAVINCI_MCBSP_XCR_XFRLEN1(1) |
> - DAVINCI_MCBSP_XCR_XDATDLY(1) |
> - DAVINCI_MCBSP_XCR_XFIG);
> + if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
> +
> + w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SPCR_REG);
> + w |= (DAVINCI_MCBSP_SPCR_RINTM(3) | DAVINCI_MCBSP_SPCR_FREE);
> + davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SPCR_REG, w);
> +
> + w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_RCR_REG);
> + w |= (DAVINCI_MCBSP_RCR_RFRLEN1(1) |
> + DAVINCI_MCBSP_RCR_RDATDLY(1));
> + davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_RCR_REG, w);
> +
> + } else {
> +
> + w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SPCR_REG);
> + w |= DAVINCI_MCBSP_SPCR_XINTM(3) | DAVINCI_MCBSP_SPCR_FREE;
> + davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SPCR_REG, w);
> +
> + w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_XCR_REG);
> + w |= (DAVINCI_MCBSP_XCR_XFRLEN1(1) |
> + DAVINCI_MCBSP_XCR_XDATDLY(1) |
> + DAVINCI_MCBSP_XCR_XFIG);
> + davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_XCR_REG, w);
> +
> + }

The first statement inside if and else is the same. This can be moved out.

Also, I think, there is some portion of the code at the end, in the same 
function (davinci_i2s_hw_params), which requires conditional check as above.

Regards, Sudhakar
> 
>   i = hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS);
>   w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SRGR_REG);
> --
> 1.5.4.1
> 
> ___
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: Encodedecode: Failed to open codec engine

2008-11-05 Thread Kamoolkar, Mugdha
I suspect that if you rebuild user-side, you may need to rebuild the 
application also (which includes dsplink.lib) for the change to take effect. 
Another (easier) option is to enable USE_CHNL (make it 1) and rebuild the 
dsplinkk.ko kernel module. That wouldn't need application rebuild.

Also, I forgot to mention that in addition to USE_CHNL becoming 1, 
USE_CHNL_ZCPY_LINK also has to be set to 1. The best way would be to run the 
dsplinkcfg.pl script because that would do all the reconfiguration fully.
http://tiexpressdsp.com/wiki/index.php?title=Building_DSPLink

Regards,
Mugdha

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 2:51 AM
To: Davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Encodedecode: Failed to open codec engine


Hi Mugdha.

No luck. I set USE_CHNL to 0 and rebuilt dsplink, and still the same error.
I'm thinking about reinstall everything or upgrade dsplink to 1.40...
I keep on searching...

Thanks.
Jose

--

RE: Encodedecode: Failed to open codec engine

Kamoolkar, Mugdha
Mon, 03 Nov 2008 20:13:49 -0800

Jose,

I recall that Codec Engine disables USE_CHNL in DSPLink pre-built binaries that 
it provides. So if USE_CHNL is 1 and you have re-built user-side, you could see 
this issue. Can you make USE_CHNL 0 in CURRENTCFG.MK and re-build the user-side?

Regards,
Mugdha

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 2:46 AM
To: Davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Encodedecode: Failed to open codec engine

Hi Mugdha,

Thanks for your reply and the pointer.
I've checked the dsplink configuration at 
dsplink/packages/dsplink/config/CURRENTCFG.MK (is it the right place?) and it 
seems that CHNL module is ON:

 export USE_CHNL:= 1


The error is launched when TraceUtil_start(ENGINE_NAME) is called from main().
ENGINE_NAME's value is "encodedecode".

Maybe I touched something in build toolchain, because with my current 
environment every demo fails in the same way. However, old backed-up binaries 
work fine.

Is there some place in the demos toolchain, where dsplink configuration could 
be modified and then make demos fail? Does this make sense to you?
Is a goog idea to recompile dsplink introducing more traces?

dsplink and cmem modules appear when I lsmod in the target.

And you're right, my dsplink version is 1.30.08.02.

Thanks and regards,
Jose.

--

RE: Encodedecode: Failed to open codec engine

Kamoolkar, Mugdha
Sun, 02 Nov 2008 23:47:11 -0800

Jose,

The error prints that you got in debug build are from DSPLink. For example, 
look at the first error:
Failure: Status:[0x80008008] File:[0x50c] Line:[216]

Look at the following wiki page for an interpretation of this:
http://tiexpressdsp.com/wiki/index.php?title=Debugging_DSPLink_using_SET_FAILURE_REASON_prints

This tells us that the file was dsplink/gpp/src/api/Linux/drv_api.c
Failure was at line 216.
In DSPLink version 1.30.08 (which is the version you seem to be using), this 
indicates following failure:
#if defined (CHNL_COMPONENT)
if (DSP_SUCCEEDED (status)) {
osStatus = ioctl ((*drvObj)->driverHandle,
  CMD_DRV_GETCHNLMAPTABLE_ADDRESS,
  &cmdArgs) ;

if (osStatus < 0) {
status = DSP_EFAIL ;
SET_FAILURE_REASON ;
}
That means that the ioctl failed. The only reason I can guess that the ioctl 
would fail, is if, for some reason, the DSPLink kernel module dsplinkk.ko was 
built with CHNL module off in the DSPLink configuration. But the user-side 
library of DSPLink was built with CHNL module enabled. In this case, the 
user-side #if defined (CHNL_COMPONENT) would go through, and attempt the ioctl.
But the kernel driver does not understand this command and hence fails.

Is this possible in your build?

Regards,
Mugdha



From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Alan Campbell
Sent: Monday, November 03, 2008 6:22 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: Re: Encodedecode: Failed to open codec engine

hello,

You may want to consider the createFromServer method - 
http://wiki.davincidsp.com/index.php?title=Configuring_Codec_Engine_in_Arm_apps_with_createFromServer
At least takes the potential-dsp.v.-arm-memory-map-inconsistency out of the 
equation.

U need >= CodecEng v2.0 which is shipped in DVSDK >= 1.30.

If u upgrade u should also take advantage of CE_DEBUG=2 
http://wiki.davincidsp.com/index.php?title=Codec_Engine_FAQ#Runtime_Troubleshooting
 to debug this further.
cheers, AC
-



From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: Stephen Berry <[EMAIL PROTECTED]>
Cc: davinci-linux-open-source@linux.

Re: How to build Gsteamer on DM355

2008-11-05 Thread richard.zhao
Can I  use the prebuilt glibc files at /opt/mv_pro_4.0.1/montavista/pro/lib/?

--   
Best Regards
Richard Zhao
2008-11-06

-
发件人:richard.zhao
发送日期:2008-11-06 10:06:36
收件人:davinci-linux-open-source
抄送:
主题:How to build Gsteamer on DM355

Hi all,

I downloaded the gstreamer sourcecode from 
http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100 and followed the 
instructions by SPRAAQ9.pdf, but the compiling just failed when configure glibc

... ...
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... configure: error: cannot run test program 
while cross compiling
See `config.log' for more details.
make: *** No rule to make target `clean'.  Stop.
make: *** No rule to make target `install'.  Stop.

How can I solve this problem?
And I also found a post at 
http://wiki.davincidsp.com/index.php?title=DM3xx_Gstreamer_Solution , it seems 
differ from which founded at focus.ti.com/, how to get the sourcecode the 
post described?


Best Regards,
Richard
2008-11-6

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


How to build Gsteamer on DM355

2008-11-05 Thread richard.zhao
Hi all,

I downloaded the gstreamer sourcecode from 
http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100 and followed the 
instructions by SPRAAQ9.pdf, but the compiling just failed when configure glibc

... ...
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... configure: error: cannot run test program 
while cross compiling
See `config.log' for more details.
make: *** No rule to make target `clean'.  Stop.
make: *** No rule to make target `install'.  Stop.

How can I solve this problem?
And I also found a post at 
http://wiki.davincidsp.com/index.php?title=DM3xx_Gstreamer_Solution , it seems 
differ from which founded at focus.ti.com/, how to get the sourcecode the 
post described?


Best Regards,
Richard
2008-11-6
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Error: Failed to create h264 video encoder

2008-11-05 Thread Craig Smith
Hello All, I am using the DM6467 EVM and trying to modify the
encodedecode demo to take a 1080i source (a camera). I works fine in
pass through mode, but when I try to get it to encode/decode, the
encoder creation fails. I have debugged it as far as I could and
traced it down to the call to VIDENC1_control(inside of Venc1_create)
returning a status of -1. But I have no indication of what parameters
it is complaining about. I understand that the encode/decode will not
keep up real-time, but I just want to make sure the encoder is working
for 1080i. BTW, it does work fine for 720p.

I've included some more debug info below. If anyone has an idea of
what I'm missing (or if I can provide more info), please let me know.
Thanks so much.

Best regards,
-Craig


0. Version info
LSP v1.30.0.82
DVSDK 1.4.0.31
DM6467 chip EVM
Demo CODECs
dvsdk_combos_1_15

1. Debug log from console
[EMAIL PROTECTED]:/opt/dvsdk/dm6467# DMAI_DEBUG=2 ./encodedecode -y5 -r1920x1072
@0x000bd11a:[T:0x40018528] ti.sdo.dmai - [Dmai] Dmai log level set to
'2'. Note that calling CERuntime_init after this point may cause
unexpected change to DMAI tracing b.
Encodedecode demo started.
@0x000ed24a:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] Creating encoder
h264enc for max 1920x1072 bitrate 200 ratectrl 4
@0x000f6c49:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] params 1920 1072
bitrate 200
@0x000f6daa:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] Setting dynParams
size 1920x1072 bitrate 100
@0x000f6f01:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] more dynParams
size:60 refFrameRate:3 targetFrameRate:3 intraFrameInterval:30
@0x000f7055:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] more dynParams
generateHeader:0 captureWidth:0 forceFrame:0 interFrameInterval:30
mbDataFlag:0
@0x000f7323:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] status = -1 encStatus
= size:156 extendedError:0x
@0x000f7475:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] encStatus.data =
buf:0x bufSize:-440470278 accessMask:0x
@0x000f75c3:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] encStatus.bufInfo =
minNumInBufs:2 minNumOutBufs:1048576
@0x000f76fa:[T:0x43b4ab60] ti.sdo.dmai - [Venc1] XDM_SETPARAMS failed, status=-1
Error: Failed to create h264 video encoder
@0x0025943d:[T:0x42b49b60] ti.sdo.dmai - [Display] Video output set to
size 1920x1080 pitch 1920
@0x002595c0:[T:0x42b49b60] ti.sdo.dmai - [BufTab] Allocating BufTab
for 3 buffers
@0x002a5db1:[T:0x42b49b60] ti.sdo.dmai - [Dmai] Driver buffer 0 mapped
to 0x43b4b000 has physical address 0x8640
@0x002f2551:[T:0x42b49b60] ti.sdo.dmai - [Dmai] Driver buffer 1 mapped
to 0x43f4 has physical address 0x8680
@0x0033ed2d:[T:0x42b49b60] ti.sdo.dmai - [Dmai] Driver buffer 2 mapped
to 0x44335000 has physical address 0x86c0
@0x004f49f3:[T:0x4334ab60] ti.sdo.dmai - [Capture] Capture input set
to COMPONENT
@0x004f4b3d:[T:0x4334ab60] ti.sdo.dmai - [Capture] Video input
connected size 1920x1080 pitch 1920
@0x004f4c53:[T:0x4334ab60] ti.sdo.dmai - [BufTab] Allocating BufTab
for 4 buffers
@0x00541583:[T:0x4334ab60] ti.sdo.dmai - [Dmai] Driver buffer 0 mapped
to 0x4472a000 has physical address 0x8740
@0x0058df0a:[T:0x4334ab60] ti.sdo.dmai - [Dmai] Driver buffer 1 mapped
to 0x44b1f000 has physical address 0x8080
@0x005da81b:[T:0x4334ab60] ti.sdo.dmai - [Dmai] Driver buffer 2 mapped
to 0x44f14000 has physical address 0x80c0
@0x006270df:[T:0x4334ab60] ti.sdo.dmai - [Dmai] Driver buffer 3 mapped
to 0x45309000 has physical address 0x8600
@0x00627637:[T:0x4334ab60] ti.sdo.dmai - [Buffer] Alloc Buffer of size
4147200 at 0x456fe000 (0x8b60b000 phys)
@0x00627715:[T:0x4334ab60] ti.sdo.dmai - [Resize] Configuring resize
from 1920x1080 (pitch 1920) to 1920x1080 (pitch 1920)


2. Using gdb, I dumped some paramaters before this line of code:

status = VIDENC1_control(hEncode, XDM_SETPARAMS, dynParams, &encStatus);

(gdb) p params
$1 = (VIDENC1_Params *) 0x43b49568
(gdb) p *(VIDENC1_Params *) 0x43b49568
$2 = {size = 48, encodingPreset = 0, rateControlPreset = 4, maxHeight
= 1072, maxWidth = 1920, maxFrameRate = 3,
 maxBitRate = 200, dataEndianness = 1, maxInterFrameInterval = 1,
inputChromaFormat = 1, inputContentType = 1,
 reconChromaFormat = -1}

(gdb) p dynParams
$3 = (VIDENC1_DynamicParams *) 0x43b49538
(gdb) p *(VIDENC1_DynamicParams *) 0x43b49538
$4 = {size = 48, inputHeight = 1072, inputWidth = 1920, refFrameRate =
3, targetFrameRate = 3, targetBitRate = 100,
 intraFrameInterval = 30, generateHeader = 0, captureWidth = 0,
forceFrame = 0, interFrameInterval = 30, mbDataFlag = 0}

   status = VIDENC1_control(hEncode, XDM_SETPARAMS, dynParams, &encStatus);


3. Parameters passed to Venc1_create() from inside encodedecode demo code
(copied from default 720p and modified for 1080i):

const VIDENC1_Params Venc1_Params_1080i = {
   sizeof(VIDENC1_Params),   /* size */
   XDM_DEFAULT,  /* encodingPreset */
   IVIDEO_LOW_DELAY, /* rateControlPreset */
   1080, /* max

RE: Encodedecode: Failed to open codec engine

2008-11-05 Thread jcm

Hi Mugdha.

No luck. I set USE_CHNL to 0 and rebuilt dsplink, and still the same error.
I'm thinking about reinstall everything or upgrade dsplink to 1.40...
I keep on searching...

Thanks.
Jose

--

RE: Encodedecode: Failed to open codec engine

Kamoolkar, Mugdha
Mon, 03 Nov 2008 20:13:49 -0800

Jose,

I recall that Codec Engine disables USE_CHNL in DSPLink pre-built binaries
that
it provides. So if USE_CHNL is 1 and you have re-built user-side, you
could see
this issue. Can you make USE_CHNL 0 in CURRENTCFG.MK and re-build the
user-side?

Regards,
Mugdha

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 2:46 AM
To: Davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Encodedecode: Failed to open codec engine

Hi Mugdha,

Thanks for your reply and the pointer.
I've checked the dsplink configuration at
dsplink/packages/dsplink/config/CURRENTCFG.MK (is it the right place?) and it
seems that CHNL module is ON:

 export USE_CHNL:= 1


The error is launched when TraceUtil_start(ENGINE_NAME) is called from
main().
ENGINE_NAME's value is "encodedecode".

Maybe I touched something in build toolchain, because with my current
environment every demo fails in the same way. However, old backed-up binaries
work fine.

Is there some place in the demos toolchain, where dsplink configuration could
be modified and then make demos fail? Does this make sense to you?
Is a goog idea to recompile dsplink introducing more traces?

dsplink and cmem modules appear when I lsmod in the target.

And you're right, my dsplink version is 1.30.08.02.

Thanks and regards,
Jose.

--

RE: Encodedecode: Failed to open codec engine

Kamoolkar, Mugdha
Sun, 02 Nov 2008 23:47:11 -0800

Jose,

The error prints that you got in debug build are from DSPLink. For example,
look at the first error:
Failure: Status:[0x80008008] File:[0x50c] Line:[216]

Look at the following wiki page for an interpretation of this:
http://tiexpressdsp.com/wiki/index.php?title=Debugging_DSPLink_using_SET_FAILURE_REASON_prints

This tells us that the file was dsplink/gpp/src/api/Linux/drv_api.c
Failure was at line 216.
In DSPLink version 1.30.08 (which is the version you seem to be using), this
indicates following failure:
#if defined (CHNL_COMPONENT)
if (DSP_SUCCEEDED (status)) {
osStatus = ioctl ((*drvObj)->driverHandle,
  CMD_DRV_GETCHNLMAPTABLE_ADDRESS,
  &cmdArgs) ;

if (osStatus < 0) {
status = DSP_EFAIL ;
SET_FAILURE_REASON ;
}
That means that the ioctl failed. The only reason I can guess that the ioctl
would fail, is if, for some reason, the DSPLink kernel module dsplinkk.ko was
built with CHNL module off in the DSPLink configuration. But the user-side
library of DSPLink was built with CHNL module enabled. In this case, the
user-side #if defined (CHNL_COMPONENT) would go through, and attempt the
ioctl.
But the kernel driver does not understand this command and hence fails.

Is this possible in your build?

Regards,
Mugdha



From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Alan Campbell
Sent: Monday, November 03, 2008 6:22 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: Re: Encodedecode: Failed to open codec engine

hello,

You may want to consider the createFromServer method -
http://wiki.davincidsp.com/index.php?title=Configuring_Codec_Engine_in_Arm_apps_with_createFromServer
At least takes the potential-dsp.v.-arm-memory-map-inconsistency out of the
equation.

U need >= CodecEng v2.0 which is shipped in DVSDK >= 1.30.

If u upgrade u should also take advantage of CE_DEBUG=2
http://wiki.davincidsp.com/index.php?title=Codec_Engine_FAQ#Runtime_Troubleshooting
 to debug this further.
cheers, AC
-



From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: Stephen Berry <[EMAIL PROTECTED]>
Cc: davinci-linux-open-source@linux.davincidsp.com
Sent: Friday, October 31, 2008 1:45:25 PM
Subject: Re: Encodedecode: Failed to open codec engine


Thanks for your quick answer, Steve.

Yes, I think it is already correctly configured:

/*
*   Engine Configuration  */ var Engine =
xdc.useModule('ti.sdo.ce.Engine');
var demoEngine = Engine.create("encodedecode", [
{name: "h264enc", mod: H264ENC, local: false, groupId: 0},
{name: "h264dec", mod: H264DEC, local: false, groupId: 0},

]);




> I'm no expert, but you might want to check your encodedecode.cfg file.
> Make sure that the line:
>
>var myEngine = Engine.create("encode", [
>
> says "encodedecode" to match the engine name that you are trying to open.
>
>Steve
>
> [EMAIL PROTECTED]<[EMAIL PROTECTED]> wrote:
>> Hi all.
>>
>> I'm modifying the demos of DVEVM6446 and I'm stuck in the error
>> <>.
>>
>> W

RE: Davinci-linux-open-source Digest, Vol 35, Issue 11

2008-11-05 Thread Chu, Owen

David,

Fbset should display correct settings of fbdev window configuration.

For LSP1.20, you can set the following as part of your bootargs to set bootup 
output and display mode:
davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=640x480

If these are not set, then output is default to be COMPOSITE and mode NTSC 
(720x480), which is why you still see resolution 720x480. 'output=lcd' style of 
bootarg is no longer supported.

Regards,
Owen


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Chan
Sent: Wednesday, November 05, 2008 10:32 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: Re: Davinci-linux-open-source Digest, Vol 35, Issue 11

I think this is not the problem of no effect. But just a problem of report.
As I check with my system. When set to video=davincifb:output=lcd. resolution 
is set to 640x480.
And as I checked all Xres and Yres. All right, but fbset -i will report 720x480.
On Wed, Nov 5, 2008 at 2:00 AM, <[EMAIL PROTECTED]> 
wrote:
Send Davinci-linux-open-source mailing list submissions to
   
davinci-linux-open-source@linux.davincidsp.com

To subscribe or unsubscribe via the World Wide Web, visit
   http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

You can reach the person managing the list at
   [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Davinci-linux-open-source digest..."


Today's Topics:

  1. RE: boot arg command does not take effect ! (Chu, Owen)


--

Message: 1
Date: Tue, 4 Nov 2008 11:14:36 -0600
From: "Chu, Owen" <[EMAIL PROTECTED]>
Subject: RE: boot arg command does not take effect !
To: Mohamed AbdElwahed <[EMAIL PROTECTED]>,
   
"davinci-linux-open-source@linux.davincidsp.com"
   
mailto:davinci-linux-open-source@linux.davincidsp.com>>
Message-ID:
   <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Can you send us the kernel boot log message when this happens?

Owen


From: [EMAIL PROTECTED] [mailto:[EMAIL 
PROTECTED]] On Behalf Of Mohamed AbdElwahed
Sent: Sunday, November 02, 2008 10:43 AM
To: 
davinci-linux-open-source@linux.davincidsp.com
Subject: boot arg command does not take effect !

hi all,
when i try the following boot arg command :-

setenv bootargs console=ttyS0,115200n8 noinitrd rw 
ip=192.168.1.126 root=/dev/nfs 
nfsroot=$(nfshost):$(rootpath),nolock mem=120M 
video=davincifb:vid0=320x240x16,[EMAIL PROTECTED],16:vid1=320x240x16,[EMAIL 
PROTECTED],16:osd0=320x240x16,[EMAIL PROTECTED],16:osd1=320x240x16,[EMAIL 
PROTECTED],16

and after board booting i try this command

fbset -i -fb /dev/fb/3

it still give me NTSC resolution 720x480 and not the specified one in the above 
boot arg command, why, what is wrong !

also "@x,y" base point does not effect
any help
thanks



Connect to the next generation of MSN Messenger  Get it now! 

-- next part --
An HTML attachment was scrubbed...
URL: 
http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20081104/02532dfc/attachment-0001.htm

--

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


End of Davinci-linux-open-source Digest, Vol 35, Issue 11
*



--
David

Manager, Business Development
Embedio. Inc.
+86 13581953152
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: nanosleep failing with EINTR during video process calls on DM355

2008-11-05 Thread Grosen, Mark
Srikanth,

The use of a signal (SIGUSR1) by the codecs was removed in the later releases 
of the codecs. This should fix the issues you are seeing and make it easier to 
debug using gdb. You can find how to upgrade at http://davincidsp.com and 
registering your board.

Mark 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Srikanth Nori
Sent: Tuesday, November 04, 2008 8:51 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: nanosleep failing with EINTR during video process calls on DM355

Hey all,

I have observed on DM355 that if one thread tries to "sleep" while another 
thread is making video encode/decode process calls the sleep fails.

I see the same behaviour even in the encodedecode demo that came with the 
DVSDK. I used the nanosleep API to sleep for 2s in one thread while the video 
encode/decode was running and the nanosleep failed with an EINTR error 
(immediately). The perror print is (unsurprisingly
:-) ) "Interrupted system call".

Any ideas why this could be happening?

One thing I did notice is that the process calls on 355 seem to be generating 
SIGUSR1 interrupts on DM355. You can see this if you run the encodedecode demo 
usingg gdb. Could it be because of this? If so, any idea how I can prevent this 
interrupt from interrupting the nanosleep?

---
Srikanth Nori

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


CCDC and debugging...

2008-11-05 Thread Andrea Gasparini
Hi, 

I've some problems with interfacing a sensor with the CCDC of a DM355 
powered custom board and a mv4.01 kernel.

I'm still not receiving any interrupt, and I'm figuring out why.
So, I'm trying to decode the STADRH and STADRL registers: I noted that if 
v4l call the ccdc driver with an address (let's say: 0x8600 ), it went 
transformed in 0x30 inside STADRH and 0x0 in STADRL...
So, the questions are:

- why 0x30?? when the DDR EMIF offset should be only 0x8000 ?? 
Shouldn't it be 0x600 ? Am i missing some steps?

- after that, how can I see if the CCDC is writing something on memory? 
That could help me in distinguish if the problem is the irq, or the whole 
transfer. ( let's assume that the sensor works well...)
 I tried to read /dev/mem at offsets 0x8600, 0x600, 0x30 but it 
doens't work (it segfaults).

Thanks, bye!
-- 
Andrea Gasparini 
 ImaVis S.r.l. 
web: www.imavis.com

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


RE: Can we rebuilt dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17 ?

2008-11-05 Thread Azbell, Brandon
Mike,

Yes, this is something that has been reported and we are working on 
including the ability to rebuilt the codec engine servers with the DVSDK. 
I don't have a timeframe for an updated DVSDK to resolve this though.  A way to 
work through this is to use the Codec Bundles available on the following site 
to get the libraries to rebuild.  These can be found at the TI e-Store 
http://www.ti-estore.com.

Brandon Azbell 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Gao
Sent: Wednesday, November 05, 2008 11:28 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: Can we rebuilt dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17 ?


Can we rebuilt dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17 ?
This issues is about DM6467 DVSDK on DVEVM board! 

I am trying to build below combos: dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17
I met the error can't find library. It seems this combos is not ready for 
rebuilt. Is this correct?

Thanks in advance,
Yan

 [EMAIL PROTECTED]:~/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17$ make > 
log.txt js: 
"/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages/xdc/cfg/Main.xs", 
line 27: XDC runtime error: can't find the library 'lib/aacdec_tii.l64p' 
specified by package ti.sdo.codecs.aacdec. It wasn't found along the path 
'/home/ygao/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17;/home/ygao/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17/packages;/home/ygao/project/dvsdk_1_40_01_32/xdais_6_10_01/packages;/home/ygao/project/dvsdk_1_40_01_32/framework_components_2_10_02/packages;/home/ygao/project/dvsdk_1_40_01_32/framework_components_2_10_02/fctools/packages;/home/ygao/project/dvsdk_1_40_01_32/bios_5_32_01/packages;/home/ygao/project/dvsdk_1_40_01_32/cmem_2_10/packages;/home/ygao/project/dvsdk_1_40_01_32/dsplink-davinci-v1.50-prebuilt/packages;/home/ygao/project/dvsdk_1_40_01_32/codec_engine_2_10_02/packages;/home/ygao/project/dvsdk_1_40_01_32/codec_engine_2_10_02/cetools/packages;/home/ygao/project/dvsdk_1_40_01_32/biosutils_1_01_00/packages;/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages;/home/ygao/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17/packages/ti/sdo/servers/decode/./../../../..;'.
 "/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages/xdc/cfg/Main.xs", 
line 176 "/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages/xdc/xs.js", 
line 144 gmake[1]: *** [package/cfg/decodeCombo_x64P.xdl] Error 1 gmake[1]: *** 
Deleting file `package/cfg/decodeCombo_x64P.xdl' gmake[1]: *** 
[package/cfg/decodeCombo_x64P.xdl] Deleting file 
`package/cfg/decodeCombo_x64P.h' gmake[1]: *** 
[package/cfg/decodeCombo_x64P.xdl] Deleting file 
`package/cfg/decodeCombo_x64P.c' gmake[1]: *** 
[package/cfg/decodeCombo_x64P.xdl] Deleting file 
`package/cfg/decodeCombo_x64Pcfg.cmd' gmake[1]: *** 
[package/cfg/decodeCombo_x64P.xdl] Deleting file `pa]

[Steps Needed to Recreate Problem: 

under "dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17"



make clean
make


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


Can we rebuilt dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17 ?

2008-11-05 Thread Mike Gao
Can we rebuilt dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17 ?
This issues is about DM6467 DVSDK on DVEVM board!

I am trying to build below combos: dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17
I met the error can't find library. It seems this combos is not ready for
rebuilt. Is this correct?

Thanks in advance,
Yan

 [EMAIL PROTECTED]:~/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17$
make > log.txt js:
"/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages/xdc/cfg/Main.xs",
line 27: XDC runtime error: can't find the library 'lib/aacdec_tii.l64p'
specified by package ti.sdo.codecs.aacdec. It wasn't found along the path
'/home/ygao/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17;/home/ygao/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17/packages;/home/ygao/project/dvsdk_1_40_01_32/xdais_6_10_01/packages;/home/ygao/project/dvsdk_1_40_01_32/framework_components_2_10_02/packages;/home/ygao/project/dvsdk_1_40_01_32/framework_components_2_10_02/fctools/packages;/home/ygao/project/dvsdk_1_40_01_32/bios_5_32_01/packages;/home/ygao/project/dvsdk_1_40_01_32/cmem_2_10/packages;/home/ygao/project/dvsdk_1_40_01_32/dsplink-davinci-v1.50-prebuilt/packages;/home/ygao/project/dvsdk_1_40_01_32/codec_engine_2_10_02/packages;/home/ygao/project/dvsdk_1_40_01_32/codec_engine_2_10_02/cetools/packages;/home/ygao/project/dvsdk_1_40_01_32/biosutils_1_01_00/packages;/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages;/home/ygao/project/dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17/packages/ti/sdo/servers/decode/./../../../..;'.
"/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages/xdc/cfg/Main.xs",
line 176
"/home/ygao/project/dvsdk_1_40_01_32/xdc_3_00_06/packages/xdc/xs.js", line
144 gmake[1]: *** [package/cfg/decodeCombo_x64P.xdl] Error 1 gmake[1]: ***
Deleting file `package/cfg/decodeCombo_x64P.xdl' gmake[1]: ***
[package/cfg/decodeCombo_x64P.xdl] Deleting file
`package/cfg/decodeCombo_x64P.h' gmake[1]: ***
[package/cfg/decodeCombo_x64P.xdl] Deleting file
`package/cfg/decodeCombo_x64P.c' gmake[1]: ***
[package/cfg/decodeCombo_x64P.xdl] Deleting file
`package/cfg/decodeCombo_x64Pcfg.cmd' gmake[1]: ***
[package/cfg/decodeCombo_x64P.xdl] Deleting file `pa]

[Steps Needed to Recreate Problem:

under "dvsdk_1_40_01_32/dm6467_dvsdk_combos_1_17"


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


Strange problem with Linux git version. lcd crashes ttyS0 console! goto USB problem now

2008-11-05 Thread Pablo Bitton
Hey,

I've got the same Oops as you.
It seems that all you need to do is "modprobe pcf857x" before you
"modprobe musb_hdrc".
By the way, I think it's better to build pcf857x driver as a part of
the kernel image.

Good luck.

2008/10/30 BlackSword <[EMAIL PROTECTED]>:
> Hi all,
> any body have some idea about:
> While compile Device Drivers->USB Support->Inventra Highspeed Dual
> Role Controller (TI, ...) to Y. (means compiled into the kernel). System
> will also panic。
> below is the log:
> Uncompressing
> Linux.
> ... done, booting the
> kernel.
> <5>Linux version 2.6.27-rc6-davinci1 ([EMAIL PROTECTED]) (gcc version 4.3.2
> (GCC
> ) ) #23 PREEMPT Thu Oct 30 01:04:56 CST
> 2008
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ),
> cr=00053177
> Machine: DaVinci
> EVM
> Memory policy: ECC disabled, Data cache
> writeback
> <7>On node 0 totalpages:
> 51200
> <7>free_area_init_node: node 0, pgdat c02ede3c, node_mem_map
> c031b000
> <7>  DMA zone: 32512 pages, LIFO
> batch:7
> <7>  Normal zone: 18288 pages, LIFO
> batch:3
> DaVinci DM6446 variant
> 0x0
> CPU0: D VIVT write-back
> cache
> CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128
> sets
> CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64
> sets
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 50800
> <5>Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.23.99
> root
> =/dev/nfs nfsroot=192.168.23.3:/opt/fileroot,nolock mem=200M
> video=davincifb:out
> put=lcd
> PID hash table entries: 1024 (order: 10, 4096
> bytes)
> Console: colour dummy device
> 80x30
> <6>Dentry cache hash table entries: 32768 (order: 5, 131072
> bytes)
> <6>Inode-cache hash table entries: 16384 (order: 4, 65536
> bytes)
> <6>Memory: 200MB = 200MB
> total
> <5>Memory: 199612KB available (2740K code, 264K data, 128K
> init)
> <6>Calibrating delay loop... 147.86 BogoMIPS
> (lpj=739328)
> Mount-cache hash table entries:
> 512
> <6>CPU: Testing write buffer coherency:
> ok
> <7>device: 'platform':
> device_add
> <7>bus: 'platform':
> registered
> <7>Registering sysdev class
> 'cpu'
> <6>net_namespace: 804
> bytes   &nbs p;
> <6>NET: Registered protocol family
> 16
> <7>device class 'bdi':
> registering
> <7>device class 'video_output':
> registering
> <7>device class 'tty':
> registering
> <7>device class 'vtconsole':
> registering
> <7>device: 'vtcon0':
> device_add
> <4>WARNING: both IDE and NOR flash are enabled, but share
> pins.
>  Disable IDE for NOR
> support.
> <7>Registering platform device 'physmap-flash.0'. Parent at
> platform
> <7>device: 'physmap-flash.0':
> device_add
> <7>bus: 'platform': add device
> physmap-flash.0
> <7>Registering platform device 'davinci_nand.0'. Parent at
> platform
> <7>device: 'davinci_nand.0':
> device_add
> <7>bus: 'platform': add device
> davinci_nand.0
> <7>Registering platform device 'davincifb'. Parent at
> platform
> <7>device: 'davincifb':
> device_add
> <7>bus: 'platform': add device
> davincifb
> <7>Registering platform device 'rtc_davinci_evm'. Parent at
> platform
> <7>device: 'rtc_davinci_evm':
> device_add
> <7>bus: 'platform': add device
> rtc_davinci_evm
> <7>Registering platform device 'palm_bk3710'. Parent at
> platform
> <7>device: 'palm_bk3710':
> device_add
> <7>bus: 'platform': add device
> palm_bk3710
> <7>Registering platform device 'i2c_davinci.1'. Parent at
> platform
> <7>device: 'i2c_davinci.1':
> device_add
> <7>bus: 'platform': add device
> i2c_davinci.1
> <7>Registering platform device 'musb_hdrc'. Parent at
> platform
> <7>device: 'musb_hdrc':
> device_add
> <7>bus: 'platform': add device
> musb_hdrc
> <7>Registering platform device 'serial8250.0'. Parent at
> platform
> <7>device: 'serial8250.0':
> device_add
> <7>bus: 'platform': add device
> serial8250.0
> <6>DaVinci: 71 gpio
> irqs
> <7>Registering platform device 'davinci_mmc.1'. Parent at
> platform
> <7>device: 'davinci_mmc.1':
> device_add
> <7>bus: 'platform': add device
> davinci_mmc.1
> <7>Registering sys device of class
> 'cpu'
> <7>Registering sys device
> 'cpu0'
> <7>device: 'default':
> device_add
> <7>device class 'block':
> registering
> <7>device class 'graphics':
> registering
> <7>device class 'misc':
> registering
> <7>bus: 'serio':
> registered
> <7>bus: 'i2c':
> registered
> <7>device class 'i2c-adapter':
> registering  &nbs p;
> <7>bus: 'i2c': add driver
> dummy
> <7>bus: 'platform': add driver
> i2c_davinci
> <7>bus: 'platform': driver_probe_device: matched device i2c_davinci.1 with
> drive
> r
> i2c_davinci
> <7>bus: 'platform': really_probe: probing driver i2c_davinci with device
> i2c_dav
> inci.1
> <7>device: 'i2c-1':
> device_add
> <7>device: '1-0038':
> device_add
> <7>bus: 'i2c': add device
> 1-0038     ;
> <7>device: '1-0039':
> device_add
> <7>bus: 

RE: LSP1.2 kernel configuration help request --attach Snapshots

2008-11-05 Thread Chu, Owen
Mohamed,

You kernel tree is outdated, you will need to update it from MV. SPRUEK9 is for 
DVSDK 1.30.00.40 (LSP1.20).

Owen



From: Mohamed AbdElwahed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 2:59 AM
To: Chu, Owen
Cc: Davinci Mailing list
Subject: Re: LSP1.2 kernel configuration help request --attach Snapshots


hi all,
unfortunately, i did not find "Davinci Encoder Manager support" there.
i attached snapshot during "$ make menuconfig", i also attached the default 
configuration for Dm6446 which does not configure any thing about "Davinci 
Encoder Manager support"
i doubt that, the kernel version i have is not the one that the SPRUEK9 
document talk about, since in the document he talk about folder structure with 
slightly different names such as, in the document he talk about folder with 
name "mv_pro_4.01" but which i find is "mv_pro_4.0"
so it seem i want another kernel, am i right and if so, from where i can get 
this new kernel?
-
many thanks for your help[http://graphics.hotmail.com/i.p.emthup.gif]






From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com
Date: Tue, 4 Nov 2008 10:58:43 -0600
Subject: RE: LSP1.2 kernel configuration help request

If you follow section 3.3.1 in SPRUEK9, you should see Device Driver -> Video 
For Linux -> "Davinci Encoder Manager support". If you build DM355 or DM6446 
defconfig, it is on by default.

Regards
Owen


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mohamed 
AbdElwahed
Sent: Tuesday, November 04, 2008 3:52 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: LSP1.2 kernel configuration help request

I have LSP1.2 and according to SPRUEK9 document page 14 in which i try to 
configure then build the kernel with Davinci Encoder manager support, i did not 
find the appropriate selection for "Davinci Encoder manager support" by using 
menuconfig
-
any help is highly appreciated
thanks in advance


Connect to the next generation of MSN Messenger  Get it now! 


Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! Try 
it!
___
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-linux-open-source Digest, Vol 35, Issue 11

2008-11-05 Thread David Chan
I think this is not the problem of no effect. But just a problem of report.
As I check with my system. When set to video=davincifb:output=lcd.
resolution is set to 640x480.
And as I checked all Xres and Yres. All right, but fbset -i will report
720x480.

On Wed, Nov 5, 2008 at 2:00 AM, <
[EMAIL PROTECTED]> wrote:

> Send Davinci-linux-open-source mailing list submissions to
>davinci-linux-open-source@linux.davincidsp.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
> or, via email, send a message with subject or body 'help' to
>[EMAIL PROTECTED]
>
> You can reach the person managing the list at
>[EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Davinci-linux-open-source digest..."
>
>
> Today's Topics:
>
>   1. RE: boot arg command does not take effect ! (Chu, Owen)
>
>
> --
>
> Message: 1
> Date: Tue, 4 Nov 2008 11:14:36 -0600
> From: "Chu, Owen" <[EMAIL PROTECTED]>
> Subject: RE: boot arg command does not take effect !
> To: Mohamed AbdElwahed <[EMAIL PROTECTED]>,
>"davinci-linux-open-source@linux.davincidsp.com"
>
> Message-ID:
><[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> Can you send us the kernel boot log message when this happens?
>
> Owen
>
> 
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of
> Mohamed AbdElwahed
> Sent: Sunday, November 02, 2008 10:43 AM
> To: davinci-linux-open-source@linux.davincidsp.com
> Subject: boot arg command does not take effect !
>
> hi all,
> when i try the following boot arg command :-
>
> setenv bootargs console=ttyS0,115200n8 noinitrd rw 
> ip=192.168.1.126root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=120M
> video=davincifb:vid0=320x240x16,[EMAIL PROTECTED],16:vid1=320x240x16,[EMAIL 
> PROTECTED]
> ,16:osd0=320x240x16,[EMAIL PROTECTED],16:osd1=320x240x16,[EMAIL PROTECTED],16
>
> and after board booting i try this command
>
> fbset -i -fb /dev/fb/3
>
> it still give me NTSC resolution 720x480 and not the specified one in the
> above boot arg command, why, what is wrong !
>
> also "@x,y" base point does not effect
> any help
> thanks
>
>
> 
> Connect to the next generation of MSN Messenger  Get it now! <
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
> >
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20081104/02532dfc/attachment-0001.htm
>
> --
>
> ___
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
>
> End of Davinci-linux-open-source Digest, Vol 35, Issue 11
> *
>



-- 
David

Manager, Business Development
Embedio. Inc.
+86 13581953152
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Can we decode video clips in fast-forward mode?

2008-11-05 Thread Deepika Makhija

Hi All,

I am working on DM355 evm board. I am developing application using TI 
DVSDK framework.

I am end application will be:

.264 Clip > decode -> display

But in this I want to provide facility of forward/rewind video clip as 
per user selection through GUI.

Can anyone guide me on this???
I wanted to know is there any facility in MPEG4 decoder to 
forward/rewind input clip?


Will I need any algorithm for that???
Any help will be appreciated.

Thanks in advance.
- Deepika



--
_
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.
__


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


What is purpose of targetFrameRate and refFrameRate in dynamic parameter of Video Encoder?

2008-11-05 Thread Deepika Makhija

Hi All,

I am working on DM355 evm board.  As I am new to this environment I had 
few doubts in Video encode demo application.

What is purpose of targetFrameRate and refFrameRate in dynamic parameters?
I guess those are to indicate the codec the frame rate. But what is need 
for two different variables?


Can anyone guide me on this?

Thanks in advance

Regards,
Deepika

--
_
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.
__


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


How to display a string using fbdev?

2008-11-05 Thread Gabriele Filosofi
Hi,

does someone know ho to display a string on lcd using /dev/fb/0 ?

Regards,

Gabriele



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


mailing list

2008-11-05 Thread 庹万福
hi:
   how can i get a mailing list ? thanks in advance !


faith

   
-
 雅虎邮箱,您的终生邮箱!___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


mavell wifi driver

2008-11-05 Thread 庹万福
Hi:
   all
   I recently develop a mavell wlan driver based on davinci linux, but mavell 
wlan chip always can not response  to  the command 5 from the host 
controller(this command 5 with argument 0, mainly used to detect a device can 
or not surpport sdio function). so that, when a w2sw0001 is inserted , it can 
not be detect(my sdio stack is davinci patch ).who do you know why mavell 
w2sw0001 can not response to this command 5? thanks in advance.  


  faith

   
-
 雅虎邮箱,您的终生邮箱!___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


unclear high resolution jpg image

2008-11-05 Thread ashish pareek
 Hi ,
I am using Dm355 with mt9t001 image sensor .
My application saves YUV image and encode it using jpegencoder .It works fine 
with 1280x720 resolution and i get a clear jpg image .
But while working with high resolution 1920x1080 , i couldnt get true image 
.Instead i got image consisting of 2 different colour bands .
Could any one tell me the possible cause for that ?

Does any one having any reference code for similar application?

Any help will be appreciated .

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


Re: LSP1.2 kernel configuration help request

2008-11-05 Thread Andrea Gasparini
Hi, 

Mohamed AbdElwahed spiffera, alle Wednesday 05 November 2008 circa:
> he talk about folder structure with slightly different names
> such as, in the document he talk about folder with name "mv_pro_4.01"
> but which i find is "mv_pro_4.0" so it seem i want another kernel, am i
> right and if so, from where i can get this new kernel?

1) no attached stuff seen.
2) drivers/media/video/Kconfig state that:

config DAVINCI_VPBE_ENCODER>
tristate "Davinci VPBE Encoder support"
depends on (DAVINCI_ENC_MNGR) && (FB_DAVINCI || VIDEO_DAVINCI_DISPLAY)

So, perhaps you have to enable FB_DAVINCI or VIDEO_DAVINCI_DISPLAY as well.
Don't really know if mv4.0 is so different from 4.01, it seems strange...

bye
-- 
Andrea Gasparini 
 ImaVis S.r.l. 
web: www.imavis.com

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