Hi All,

We are trying to run application by using dvsdk_1_40_00_31 on DM6446 platform.
CE framework:  codec_engine_2_10_01
DSPLINK: dsplink_1.50
We built the DSPLINK with montavista4.0.

It fails to open engine,  plz find the log for the same.
In below log observed that DDR is shared but while building DSPLINK we mentioned that DDR NOT to share. and its returning ERROR as *DSP_EBASE + 0x52, *it means DSP configuration mismatch.. We have correct memory configuration in server.tcf file , DSPLINK , and remote.cfg.


@0x000cff89:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x1e948)
@0x000d02a3:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d0390:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c170)
@0x000d0551:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x2904c)
@0x000d0679:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d0738:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c1c0)
@0x000d07e5:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x26d84)
@0x000d0938:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x29de8)
@0x000d0a5f:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0x000d0b15:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x14)
@0x000d0bab:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c240)
@0x000d0c50:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x5c240]
@0x000d0ce7:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0x000d0d86:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x14)
@0x000d0e13:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c258)
@0x000d0e95:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x5c258]
@0x000d0f1e:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d0fa2:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c270)
@0x000d1028:[T:0x4003a6d8] OT - Thread_create> Enter (fxn=0x25ec4, attrs=0x0)
@0x000d10ae:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x64)
@0x000d1134:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c290)
@0x000d13ad:[T:0x4003a6d8] OT - Thread_create> Exit (task=0x5c290)
@0x000d1470:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x25a84)
@0x000d1526:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x27b78)
@0x000d15e5:[T:0x4003a6d8] ti.sdo.ce.alg - ALG_init> Enter
@0x000d166c:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x2bc94)
@0x000d16fb:[T:0x4003a6d8] ti.sdo.ce.alg - ALG_init> Exit
@0x000d1775:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x2b734)
@0x000d1814:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d18c8:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c428)
@0x000d1957:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x29f4c)
@0x000d1a93:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x22ac4)
@0x000d1b59:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d1bf3:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c488)
@0x000d1c7d:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d1d0a:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c4a8)
@0x000d1d8e:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x18)
@0x000d1e36:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c4c8)
@0x000d1f2b:[T:0x4003a6d8] CS - Server_init()
@0x000d1fd0:[T:0x4003a6d8] CS - Server_init> Global_useLinkArbiter = 0
@0x000d2067:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x21614)
@0x000d215d:[T:0x4003a6d8] OG - Global_atexit> enter (fxn=0x1ece0)
@0x000d2234:[T:0x4003a6d8] ZZ - main> Welcome to app's main().
[ARM] : App > Application started.
@0x000d24b5:[T:0x4003a6d8] CE - Engine_open> Enter('MYSERVER', 0x0, 0xbefffab
4)
@0x000d261f:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x2c)
@0x000d26c6:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c870)
@0x000d2752:[T:0x4003a6d8] CE - rserverOpen('./MYSERVER.x64P'), count = 0
@0x000d27e5:[T:0x4003a6d8] OP - Processor_create> Enter(imageName='./MYSERVER
.x64P', linkCfg='(null)', attrs=0xbefffab8)
@0x000d2951:[T:0x4003a6d8] OM - Memory_alloc> Enter(0x24)
@0x000d2a0a:[T:0x4003a6d8] OM - Memory_alloc> return (0x5c8a0)
@0x000d2a9b:[T:0x4003a6d8] OP - doCmd> Enter (cmdId=1, proc=0x5c8a0)
@0x000d2b27:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x5c240] @0x000d2be9:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x5c240] @0x000d2c88:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x5c258] t
imeout[0xffffffff]
@0x000d2df0:[T:0x40946b60] OP - daemon> thread created.
@0x000d2f05:[T:0x40946b60] OP - getCmd_d> Enter (proc=0x409465a4)
@0x000d2fa6:[T:0x40946b60] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x5c240] t
imeout[0xffffffff]
@0x000d30b8:[T:0x40946b60] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x5c240] s
tatus[0]
@0x0012646a:[T:0x40946b60] OP - getCmd_d> Exit (result=1)
@0x0012651c:[T:0x40946b60] OP - Processor_create_d> Enter(proc=0x5c8a0)
@0x001265af:[T:0x40946b60] OP - Processor_create_d> Initializing DSP PROC...
@0x0012664f:[T:0x40946b60] OP - Processor_create_d> Using DspLink config data fo
r entry #0 [server './MYSERVER.x64P']
@0x0012670b:[T:0x40946b60] OM - Memory_alloc> Enter(0x150)
@0x001267a1:[T:0x40946b60] OM - Memory_alloc> return (0x5c8c8)
@0x0012685d:[T:0x40946b60] OP - Processor_create_d> Adding DSP segment #0 to Lin k configuration: name='DDR', startAddress=0x8fa00000, sizeInBytes=0x400000, *shar
ed=1*
@0x00126950:[T:0x40946b60] OP - Processor_create_d> Adding DSP segment #1 to Lin k configuration: name='DSPLINKMEM', startAddress=0x8fe00000, sizeInBytes=0x10000
0, shared=1
@0x00126a60:[T:0x40946b60] OP - Processor_create_d> Adding DSP segment #2 to Lin k configuration: name='RESET_VECTOR', startAddress=0x8ff00000, sizeInBytes=0x80,
shared=0
@0x00126b4a:[T:0x40946b60] OP - Processor_create_d> Adding DSP segment #3 to Lin k configuration: name='DDRALGHEAP', startAddress=0x8aa00000, sizeInBytes=0x50000
00, shared=0
@0x00126c2d:[T:0x40946b60] OP - Processor_create_d> Adding DSP segment #4 to Lin k configuration: name='IRAM', startAddress=0x11800000, sizeInBytes=0x8000, share
d=0
@0x00126d09:[T:0x40946b60] OP - Processor_create_d> Adding DSP segment #5 to Lin k configuration: name='L1DSRAM', startAddress=0x11f04000, sizeInBytes=0x10000, s
hared=0
@0x00126de5:[T:0x40946b60] OP - Processor_create_d> DOPOWERCONTROL was=0; now=0
@0x00127c89:[T:0x40946b60] OP - Processor_create_d> Attaching to DSP PROC...
@0x0012b194:[T:0x40946b60] OP - Processor_create_d> Opening MSGQ pool...
@0x0012b48d:[T:0x40946b60] OP - Processor_create_d> Loading ./MYSERVER.x64P o
n DSP (1 args)...
@0x00156286:[T:0x40946b60] OP - Processor_create_d> Starting DSP PROC...
DSP-side configuration mismatch/failure
0              -> success
Positive value -> DSP-side failure code.
(Uint32) -1    -> DSP-side component was not initialized.

   DRV configuration status    [0xffffffff]
   IPS configuration status    [0xffffffff]
   POOL configuration status   [0xffffffff]
   MPCS configuration status   [0xffffffff]
   MPLIST configuration status [0xffffffff]
   MQT configuration status    [0xffffffff]
   DATA configuration status   [0xffffffff]
   RINGIO configuration status [0xffffffff]
@0x0160148b:[T:0x40946b60] OP - Processor_create_d> Loading and starting DSP ser ver './MYSERVER.x64P' FAILED, status=[0x80008052] *(look for error code 'DSP_E
BASE + 0x52' in dsplink*/packages/dsplink/gpp/inc/errbase.h)*
@0x01601638:[T:0x40946b60] OP - Processor_delete_d> Enter (proc=0x5c8a0)
@0x01601700:[T:0x40946b60] OP - Processor_delete_d> Closing remote transport... @0x01601811:[T:0x40946b60] OP - Processor_delete_d> Closing remote transport FAI
LED, status=0x80008000.
@0x016018ec:[T:0x40946b60] OP - Processor_delete_d> Stopping DSP...
@0x016019ae:[T:0x40946b60] OP - Processor_delete_d> Stopping DSP FAILED, status=
0x80008000
@0x01601a5e:[T:0x40946b60] OP - Processor_delete_d> Closing pool...
@0x01601c25:[T:0x40946b60] OP - Processor_delete_d> Detaching from DSP...
@0x01605383:[T:0x40946b60] OP - Processor_delete_d> Destroying DSP... (object, t
hat is)
@0x016059d9:[T:0x40946b60] OM - Memory_free> Enter(0x5c8c8, 0x0)
@0x01605aae:[T:0x40946b60] OM - Memory_free> return (0x1)
@0x01605b41:[T:0x40946b60] OP - Processor_delete_d> return
@0x01605bc4:[T:0x40946b60] OP - Processor_create_d> return (0)
@0x01605c4e:[T:0x40946b60] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x5c258] @0x01605d1b:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x5c258] s
tatus[0]
@0x01605dcd:[T:0x4003a6d8] OP - doCmd> Exit (result=2)
@0x01605e4b:[T:0x4003a6d8] OP - Processor_delete> Enter(proc=0x5c8a0)
@0x01605ef3:[T:0x4003a6d8] OP - Processor_delete(0x5c8a0) freeing object ...
@0x01605f7e:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c8a0, 0x24)
@0x01606007:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0160608e:[T:0x4003a6d8] OP - Processor_delete> return.
@0x01606106:[T:0x4003a6d8] CE - rserverOpen: can't start './MYSERVER.x64P'; P
rocessor_create failed
@0x016061a0:[T:0x4003a6d8] CE - rserverOpen('./MYSERVER.x64P'): 0x0 done.
@0x01606229:[T:0x4003a6d8] CE - Engine_close(0x5c870)
@0x016062a0:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c870, 0x2c)
@0x01606325:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x01606399:[T:0x4003a6d8] CE - Engine_open> return(0)
[ARM] : App > ERROR: Can't open engine app and program MYSERVER
[ARM] : App > ERROR: Failed to initialize MYSERVER codec..exiting
[ARM] : App > Done and Exits
@0x0160661b:[T:0x4003a6d8] OG - Global_exit> enter
@0x016066af:[T:0x4003a6d8] OG - Global_exit> calling function *0x1ece0()...
@0x0160675e:[T:0x4003a6d8] OG - Global_exit> calling function *0x21614()...
@0x016067f9:[T:0x4003a6d8] OG - Global_exit> calling function *0x22ac4()...
@0x016068aa:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c488, 0x18)
@0x01606945:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x016069e2:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c4a8, 0x18)
@0x01606a72:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x01606af2:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c4c8, 0x18)
@0x01606b79:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x01606bf8:[T:0x4003a6d8] OG - Global_exit> calling function *0x29f4c()...
@0x01606c86:[T:0x4003a6d8] OG - Global_exit> calling function *0x2b734()...
@0x01606d14:[T:0x4003a6d8] OG - Global_exit> calling function *0x2bc94()...
@0x01606d9f:[T:0x4003a6d8] OG - Global_exit> calling function *0x27b78()...
@0x01606e2b:[T:0x4003a6d8] OG - Global_exit> calling function *0x25a84()...
@0x01606eb0:[T:0x4003a6d8] OP - doCmd> Enter (cmdId=3, proc=0x0)
@0x01606f48:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x5c240] @0x01606fed:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x5c240] @0x01607080:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x5c258] t
imeout[0xffffffff]
@0x0160714a:[T:0x40946b60] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x5c258]
@0x016071ec:[T:0x40946b60] OP - getCmd_d> Enter (proc=0x409465a4)
@0x0160727c:[T:0x40946b60] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x5c240] t
imeout[0xffffffff]
@0x01607321:[T:0x40946b60] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x5c240] s
tatus[0]
@0x016073bb:[T:0x40946b60] OP - getCmd_d> Exit (result=3)
@0x0160743c:[T:0x40946b60] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x5c258] @0x01607519:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x5c258] s
tatus[0]
@0x016075cb:[T:0x4003a6d8] OP - doCmd> Exit (result=1)
@0x0160764c:[T:0x4003a6d8] OT - Thread_delete> Enter (task=0x5c290)
@0x01607cd9:[T:0x4003a6d8] OT - Thread_delete> pthread_cancel (0x0)
@0x0165b015:[T:0x4003a6d8] OT - Thread_delete> pthread_join (0x0)
@0x0165b0ce:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c290, 0x64)
@0x0165b167:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0165b1e7:[T:0x4003a6d8] OT - Thread_delete> Exit (task=0x5c290)
@0x0165b268:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x5c240]
@0x0165b31e:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c240, 0x14)
@0x0165b3b6:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0165b433:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
@0x0165b4ac:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x5c258]
@0x0165b557:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c258, 0x14)
@0x0165b5e6:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0165b661:[T:0x4003a6d8] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
@0x0165b6db:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c270, 0x18)
@0x0165b762:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0165b7db:[T:0x4003a6d8] OG - Global_exit> calling function *0x29de8()...
@0x0165b884:[T:0x4003a6d8] OG - Global_exit> calling function *0x26d84()...
@0x0165b92e:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c1c0, 0x18)
@0x0165b9bc:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0165ba37:[T:0x4003a6d8] OG - Global_exit> calling function *0x2904c()...
@0x0165bb4a:[T:0x4003a6d8] OM - Memory_free> Enter(0x5c170, 0x18)
@0x0165bbfe:[T:0x4003a6d8] OM - Memory_free> return (0x1)
@0x0165bc8a:[T:0x4003a6d8] OG - Global_exit> calling function *0x1e948()...
@0x0165bd1d:[T:0x4003a6d8] OG - Global_exit> calling function *0x2a764()...
@0x0165bdaa:[T:0x4003a6d8] OG - Global_exit> calling function *0x2b2cc()...
@0x0165be34:[T:0x4003a6d8] OG - Global_exit> calling function *0x2a170()...




where we are missing??

thank you,
Veeru

[EMAIL PROTECTED] wrote:
Send Davinci-linux-open-source mailing list submissions to
        [email protected]

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: looking for missing EDMA fixes/updates/features (Troy Kisky)
   2. Are there such things as pthread_suspend(), pthread_resume(),
      pthread_reset(), and pthread_sleep()? (Bohao She)
   3. Re: [PATCH] ARM: DaVinci: Fix interrupt related issues in
      DM646x    EMAC start/stop (Kevin Hilman)
   4. DaVinci git updated to 2.6.28-rc4 (Kevin Hilman)
   5. anyone using CCS and USB emulator on vmware/virtualbox?
      (Kevin Hilman)
   6. Error compiling in tmp/ti-staging-2 branch (Hugo Villeneuve)


----------------------------------------------------------------------

Message: 1
Date: Fri, 14 Nov 2008 12:24:39 -0700
From: Troy Kisky <[EMAIL PROTECTED]>
Subject: Re: looking for missing EDMA fixes/updates/features
To: Kevin Hilman <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Kevin Hilman wrote:
Calling all DMA/EDMA code...

I'd like to push the EDMA driver core (arch/arm/mach-davinci/dma.c)
from DaVinci git into the upstream kernel.  I've started a cleanup of
arch/arm/mach-davinci/dma.c, but was wondering if there are any
outstanding features or fixes that are missing from that DMA driver.

If so, please send patches ASAP so I can include them in the initial
submission.

Kevin


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Almost, if not all, of the "|=" in that file should be just "=".
The bits in question are write 1 to clear. Most of the time this
is just an inefficiency as a read will return 0. But I think
some of them could be bugs. Since there are a lot of these, I'd
rather work on the file after your clean up is done if I do it.
But, if you do it during/before the actual cleanup should be easier.

Troy




------------------------------

Message: 2
Date: Fri, 14 Nov 2008 11:28:22 -0800
From: "Bohao She" <[EMAIL PROTECTED]>
Subject: Are there such things as pthread_suspend(), pthread_resume(),
        pthread_reset(), and pthread_sleep()?
To: <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hi all,

I am trying to create a process with multiple reentrant threads like
such:

void * thrd1 (void* b)

{

      do{

            //something...

}

while(1);

}

void * thrd2 (void * c)

{

      while(1)

{

      //do something else..

}

}

And, I also want to suspend, resume, reset, and sleep my pthreads
whenever I want. As for the sleep, I am more looking for to the
functionally of only suspend the current thread for the defined amount
to time and not pause the whole process execution like sleep() does.
Now, I know Solaris has thr_suspend() and thr_continue() that seems to
solve 2 of my problems.  But, I couldn't find the equivalent functions
in pthread let alone all other ones and I couldn't #include <thread.h>
in my code.

Do you guys have any ideas on these functions? Thanks.

= Bohao She =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20081114/36575f3b/attachment-0001.htm

------------------------------

Message: 3
Date: Fri, 14 Nov 2008 11:48:14 -0800
From: Kevin Hilman <[EMAIL PROTECTED]>
Subject: Re: [PATCH] ARM: DaVinci: Fix interrupt related issues in
        DM646x  EMAC start/stop
To: [EMAIL PROTECTED]
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

[EMAIL PROTECTED] writes:

From: Chaithrika U S <[EMAIL PROTECTED]>

Disables the DM646x EMAC interrupts in the initialization of EMAC driver.
DM646x EMAC interrupts were not being freed correctly on EMAC stop, this has been resolved in EMAC device stop function.

Signed-off-by: Chaithrika U S <[EMAIL PROTECTED]>

Have you validated this change on dm644x also?

For shared drivers, it will be helpful in the future if the patch
description also describes which platforms the patch was tested on.

Kevin

---
 drivers/net/davinci_emac.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 62516c6..3e44232 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -2252,7 +2252,7 @@ static int emac_hw_enable(struct emac_priv *priv)
                cpu_relax();
/* Disable interrupt & Set pacing for more interrupts initially */
-       emac_ctrl_write(EMAC_CTRL_EWCTL, 0x0);
+       emac_int_disable(priv);
/* Set speed and duplex mode */
        priv->duplex = EMAC_DUPLEX_UNKNOWN;
@@ -2603,6 +2603,9 @@ rollback:
  */
 static int emac_dev_stop(struct net_device *ndev)
 {
+       struct resource *res;
+       int i = 0;
+       int irq_num;
        struct emac_priv *priv = netdev_priv(ndev);
/* inform the upper layers. */
@@ -2622,7 +2625,12 @@ static int emac_dev_stop(struct net_device *ndev)
        emac_write(EMAC_SOFTRESET, 1);
/* Free IRQ */
-       free_irq(ndev->irq, priv->ndev);
+       while ((res = platform_get_resource(priv->pdev, IORESOURCE_IRQ, i))) {
+               for (irq_num = res->start; irq_num <= res->end; irq_num++)
+                       free_irq(irq_num, priv->ndev);
+               i++;
+       }
+
        if (netif_msg_drv(priv))
                dev_notice(EMAC_DEV, "DaVinci EMAC: %s stopped\n", ndev->name);
--
1.5.4.1

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



------------------------------

Message: 4
Date: Fri, 14 Nov 2008 12:46:15 -0800
From: Kevin Hilman <[EMAIL PROTECTED]>
Subject: DaVinci git updated to 2.6.28-rc4
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

Hello,

DaVinci git is now updated to 2.6.28-rc4.
In addition to the merge, I've pulled in the various rework patches
that I sent out for comment last week.  This patchset reworks where
base addresses and init functions are defined to ease the addition of
new boards and devices.

The other new feature is that a single kernel binary can be built that
will boot on dm6446, dm6467 or dm355.  In Kconfig, where you select
the device, instead of picking one, you can pick as many as you like.
The same for boards.  I'm now using this feature to build a single
kernel which I can then test on dm6446, dm6467 and dm355.

I've added a 'davinci_all_defconfig' which will build a kernel that
will boot on any of the supported boards.

Kevin







------------------------------

Message: 5
Date: Fri, 14 Nov 2008 17:43:47 -0800
From: Kevin Hilman <[EMAIL PROTECTED]>
Subject: anyone using CCS and USB emulator on vmware/virtualbox?
To: "davinci-linux-open-source @linux.davincidsp.com"
        <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

Has anyone had any success in running CCS using a USB emulator in VMware or VirtualBox running Windows XP?

I have a Blackhawk USB560m, and the BlackHawk Control Panel finds and detects my emulator just fine, but CCS is unable to reset the emulator. Also, the commandline reset tool fails as well.

I'm using CCS-v3.3 updated to SR11 and the latest Blackhawk drivers corresponding to that release from blackhawk-dsp.com.

Kevin




------------------------------

Message: 6
Date: Sat, 15 Nov 2008 00:08:58 -0500
From: Hugo Villeneuve <[EMAIL PROTECTED]>
Subject: Error compiling in tmp/ti-staging-2 branch
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

I encountered the following error while trying to rebase my SFFSDR
patches against the tmp/ti-staging-2 branch:

make[1]: *** No rule to make target `arch/arm/mach-davinci/iram.o',
needed by `arch/arm/mach-davinci/built-in.o'.  Stop.
make: *** [arch/arm/mach-davinci] Error 2
make: INTERNAL: Exiting with 9 jobserver tokens available; should be 8!

Hugo Villeneuve.




------------------------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


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



Email Scanned for Virus & Dangerous Content by : www.CleanMailGateway.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
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
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to