why not only use MACRO __pa() to traverse one virtual address to physical address in cmem.c ?

2008-04-15 Thread wanghao
in cmem.c : static unsigned long get_phys(unsigned long virtp) { pgd_t *pgd; pmd_t *pmd; pte_t *pte; struct mm_struct *mm = current-mm; pgd = pgd_offset(mm, virtp); if (!(pgd_none(*pgd) || pgd_bad(*pgd))) { pmd = pmd_offset(pgd, virtp); if

#define for a CE version

2008-04-15 Thread Raghavendra B K
Chris, Is there a preprocessor directive (#define) or a global switch which can be used to distinguish between 2 versions of Codec Engine? Regards, Raghavendra ** This email and any files transmitted with it are confidential and

FW: GStreamer issue on DaVinci board

2008-04-15 Thread JitendraJain
Hello All, I am getting Process_create failed error messages when running GStreamer. I am usjng MPEG4combo.x64p as codec server. Error messages are: [EXECUTED COMMAND: gst-launch-0.10 --gst-debug-level=0 filesrc location=sample_mpeg4.mp4 ! gdecoder Codec=1 ! ffmpegcolorspace !

Can I read 32 bits data from ethernet PHY regsiter via mdio?

2008-04-15 Thread wangqianchuan
Hi,all, In davinci 6446 SOC,MDIO module can access external ethernet PHY via USERACCESSn regsiter.But in this regsiter,there are only 16 bits data.Can I read 32 bits data from ethernet PHY regsiter via mdio module? Regards,~~~ Wang.___

RE: GStreamer issue on DaVinci board

2008-04-15 Thread Ring, Chris
http://www.google.com/search?q=0X80008013 http://www.google.com/search?q=0X80008013 This is Engine_open() failing - 0x80008013 often indicates a memory map mismatch between the DSP image and your application. Chris From: [EMAIL PROTECTED]

RE: Can I read 32 bits data from ethernet PHY regsiter via mdio?

2008-04-15 Thread Arie Muijnck
The MDIO interface in a PHY register is always 16 bits. For 32-bit registers in the PHY, read IEEE 802.3-2005_section4.pdf, section 45.2: the complete register is latched in the PHY when the most significant word is read, the other half of the word should be read next. Kind regards, Arie de

RE: #define for a CE version

2008-04-15 Thread Raghavendra B K
Chris, I am trying to run a CE 1.2 package in CE 2.0. The only change that I have to do to my CE 1.2 package is to add the following macro : ti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS If I have to maintain a single ceapp.c across 1.2 and 2.0, I need to put the above macro inside another macro which

RE: #define for a CE version

2008-04-15 Thread Ring, Chris
Ah. Can you just stop using the deprecated [really unsupported] Memory_getPhysicalAddress() API? The supported Memory_getBufferPhysicalAddress() is available in both CE 1.20 and 2.00. Chris -Original Message- From: Raghavendra B K [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15,

RE: #define for a CE version

2008-04-15 Thread Raghavendra B K
Chris, Thanks for the quick reply. Your suggestion solves the current problem. But, is there any such switch which is tied to the version of CE? I am asking this again because if such compatibility breaks occur in future, then it would definitely help. Otherwise it leads to replication of files

Problems connecting XDS560R JTAG

2008-04-15 Thread jcm
Hi all. I've followed the XDS560R JTAG Emulator Technical Reference and the Quick Start Installation Guide. Previously, I installed the Code Composer Studio v.3.3 and I downloaded the last emulator drivers from http://support.spectrumdigital.com/ccs3x_xds560r/ I plugged the JTAG to the host

Fwd: DM355: More than four encoders??

2008-04-15 Thread Peter Sommerfeld
Hi Chris, I set CE_DEBUG to 1 which I found pretty useful. In the end it was just that a 'make' does not seem to fully recompile all necessary targets when a change is made to the .cfg DSP config file. A 'make clean; make' solved the problem. I can now open 6 encoders and 1 decoder.

MPEG 4 Codec for DM355

2008-04-15 Thread Maitriya, Thiyana (IE10)
Hi Is it possible to have my own MPEG4 Video Compression Algo running on the DM355 Co-processor? Regards Thiyana ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com

DaVinci - PM support

2008-04-15 Thread Trilok Soni
Hi Dirk/Kevin, I just want to know where we stand on DaVinci power management status. I have seen the minimum PM support by Dirk's patch on PM here: http://linux.omap.com/pipermail/davinci-linux-open-source/2008-February/005237.html Does any one experimented on following related to PM on

Re: Running GUI on DM6446

2008-04-15 Thread Trilok Soni
Hi Amar, 2008/4/14 amr ali [EMAIL PROTECTED]: Hello, Recently I purchased the DM6446 evaluation board. I was trying to run the gtk-demo program installed on the board and it did not work. So I tried to compile gtk+ my self but this time to use direct framebuffer. When I run the new