RE: [PATCH 1/1] DSPBRIDGE Fix for image autoload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nishant,
 

> -----Original Message-----
> From: Menon, Nishanth 
> Sent: Thursday, March 12, 2009 1:22 PM
> To: Gupta, Ramesh; linux-omap@xxxxxxxxxxxxxxx
> Cc: Kanigeri, Hari; Guzman Lugo, Fernando
> Subject: RE: [PATCH 1/1] DSPBRIDGE Fix for image autoload
> 
> > -----Original Message-----
> > From: Menon, Nishanth
> > Sent: Thursday, March 12, 2009 9:39 AM
> > To: Gupta, Ramesh; linux-omap@xxxxxxxxxxxxxxx
> > Cc: Kanigeri, Hari; Guzman Lugo, Fernando
> > Subject: RE: [PATCH 1/1] DSPBRIDGE Fix for image autoload
> > 
> > > -----Original Message-----
> > > From: Gupta, Ramesh
> > > Sent: Thursday, March 12, 2009 8:01 AM
> > > To: Menon, Nishanth; linux-omap@xxxxxxxxxxxxxxx
> > > Cc: Kanigeri, Hari; Guzman Lugo, Fernando
> > > Subject: RE: [PATCH 1/1] DSPBRIDGE Fix for image autoload
> > >
> > > I have tried this on linux-omap pm branch . This can be 
> applied on 
> > > top
> > of
> > > my DVFS
> > > Patches earlier.
> > >
> > Your patch does not apply clean :(
> > $ wget -O ramesh.auto.patch "http://marc.info/?l=linux- 
> > omap&m=123683598308417&q=raw"
> > $ vim ramesh.auto.patch (edited to remove the linux-omap trailer) $ 
> > patch -p1<./ramesh.auto.patch --dry-run patching file 
> > drivers/dsp/bridge/rmgr/drv_interface.c
> > Hunk #1 succeeded at 400 (offset -5 lines).
> > Hunk #2 succeeded at 408 (offset -5 lines).
> > Hunk #3 succeeded at 450 with fuzz 1 (offset -5 lines).
> > Hunk #4 succeeded at 470 (offset -5 lines).
> > Hunk #5 succeeded at 655 (offset -5 lines).
> > 
> > Could you rebase your patch against the following:
> > git clone 
> > git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-
> > 2.6.git
> > cd linux-omap-2.6.git
> > git checkout -b pm --track origin/pm
> > git fetch git://gitorious.org/lk/mainline.git 
> > tidspbridge-pm:tidspbridge- pm git checkout tidspbridge-pm 
> git merge 
> > pm
> 
> 
> And the patch does not work :(

What is your code base? It does work for me. 

# insmod ./bridgedriver.ko phys_mempool_base=0x87000000 phys_mempool_size=0x6000
00 shm_size=0x400000 base_img=./baseimage.dof
# <4>SR1: VDD autocomp is not active
SR1: VDD autocomp is not active
<4>SR1: VDD autocomp is not active
SR1: VDD autocomp is not active

# insmod ./bridgedriver.ko phys_mempool_base=0x87000000 phys_mempool_size=0x6000
00 shm_size=0x400000 base_img=./b

# rmmod bridgedriver.ko

# insmod ./bridgedriver.ko phys_mempool_base=0x87000000 phys_mempool_size=0x6000
00 shm_size=0x400000 base_img=./ddspbase_tiomap3430.dof64P
# ./ping.out 3
DSP device detected !!
DSPNodeCreate succeeded
DSPNode_registerNotify succeeded
DSPNode_run succeeded
Ping: Id 1.000000 Msg 0.000000 Mem 15384.000000
Ping: Id 1.000000 Msg 1.000000 Mem 15384.000000
Ping: Id 1.000000 Msg 2.000000 Mem 15384.000000

I will rebase the patch as you suggested.

Regards
Ramesh Gupta G --
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux