Re: tidspbridge git repository
On Fri, 2009-03-27 at 09:50 -0700, Tony Lindgren wrote: * Ameya Palande ameya.pala...@nokia.com [090327 06:06]: Hi Tony, ext Tony Lindgren wrote: * ameya.pala...@nokia.com ameya.pala...@nokia.com [090323 00:42]: Hi Tony, I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Can you pull it to your tidspbridge branch? What dependencies are there to the PM branch? To me it sounds like you should rebase your tidspbridge branch against the mainline kernel as the drivers should be arch independent. If something is missing from the mainline kernel to rebase and compile tidspbridge against the mainline, we need to fix those issues. Regards, Tony I have rebased tidspbridge patches on top of current pm branch. Currently bridge depends on some pm features which are not yet in mainline. Can you please describe what those dependencies are? We should fix those so we don't have dependencies. But at least now it can be compiled for your latest pm branch which I guess is in turn based on 2.6.29 Here is the git URL: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge-2.6.29-pm The thing is that in order to do the development in parallel, we want to base all the branches against the mainline kernel. Otherwise we'll have unnecessary dependencies between the branches. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html I agree with Tony. It would be great to avoid any dependency against a specific branch. We managed to compile tidspbridge against 2.6.29 MASTER (not PM branch) and it seems to work with the attached patch. It has been tested on Beagleaboard, Grégoire From 0b791888bcaa083983d6a04746c3a93b4e2c30b5 Mon Sep 17 00:00:00 2001 From: Tim Yamin pl...@roo.me.uk Date: Sun, 26 Apr 2009 19:10:54 -0700 Subject: [PATCH] Make a few small changes so dspbridge compiles clean against a non-pm tree. Signed-off-by: Tim Yamin pl...@roo.me.uk --- arch/arm/mach-omap2/dspbridge.c |8 +--- drivers/dsp/bridge/rmgr/drv_interface.c |2 ++ drivers/dsp/bridge/rmgr/proc.c |1 - 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/dspbridge.c b/arch/arm/mach-omap2/dspbridge.c index 43283c9..221e8ff 100644 --- a/arch/arm/mach-omap2/dspbridge.c +++ b/arch/arm/mach-omap2/dspbridge.c @@ -12,19 +12,21 @@ */ #include linux/platform_device.h - -#include mach/omap-pm.h - #include dspbridge/host_os.h static struct platform_device *dspbridge_pdev; +#ifdef CONFIG_BRIDGE_DVFS +#include mach/omap-pm.h static struct dspbridge_platform_data dspbridge_pdata __initdata = { .dsp_set_min_opp = omap_pm_dsp_set_min_opp, .dsp_get_opp = omap_pm_dsp_get_opp, .cpu_set_freq= omap_pm_cpu_set_freq, .cpu_get_freq= omap_pm_cpu_get_freq, }; +#else +static struct dspbridge_platform_data dspbridge_pdata; +#endif static int __init dspbridge_init(void) { diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index 9466409..4aa7de6 100755 --- a/drivers/dsp/bridge/rmgr/drv_interface.c +++ b/drivers/dsp/bridge/rmgr/drv_interface.c @@ -100,8 +100,10 @@ #include dspbridge/dbreg.h #endif +#ifdef CONFIG_BRIDGE_DVFS #include mach/omap-pm.h #include mach-omap2/omap3-opp.h +#endif #define BRIDGE_NAME C6410 /* --- Globals */ diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c index 59073dd..332e01a 100644 --- a/drivers/dsp/bridge/rmgr/proc.c +++ b/drivers/dsp/bridge/rmgr/proc.c @@ -145,7 +145,6 @@ /* --- This */ #include dspbridge/proc.h #include dspbridge/pwr.h -#include mach-omap2/omap3-opp.h #ifndef RES_CLEANUP_DISABLE #include dspbridge/resourcecleanup.h -- 1.5.6.3 0001-Make-a-few-small-changes-so-dspbridge-compiles-clean.patch Description: application/mbox
Re: tidspbridge git repository
Hi Tony, ext Tony Lindgren wrote: * ameya.pala...@nokia.com ameya.pala...@nokia.com [090323 00:42]: Hi Tony, I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Can you pull it to your tidspbridge branch? What dependencies are there to the PM branch? To me it sounds like you should rebase your tidspbridge branch against the mainline kernel as the drivers should be arch independent. If something is missing from the mainline kernel to rebase and compile tidspbridge against the mainline, we need to fix those issues. Regards, Tony I have rebased tidspbridge patches on top of current pm branch. Currently bridge depends on some pm features which are not yet in mainline. But at least now it can be compiled for your latest pm branch which I guess is in turn based on 2.6.29 Here is the git URL: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge-2.6.29-pm Thanks! Cheers, Ameya. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: tidspbridge git repository
* Ameya Palande ameya.pala...@nokia.com [090327 06:06]: Hi Tony, ext Tony Lindgren wrote: * ameya.pala...@nokia.com ameya.pala...@nokia.com [090323 00:42]: Hi Tony, I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Can you pull it to your tidspbridge branch? What dependencies are there to the PM branch? To me it sounds like you should rebase your tidspbridge branch against the mainline kernel as the drivers should be arch independent. If something is missing from the mainline kernel to rebase and compile tidspbridge against the mainline, we need to fix those issues. Regards, Tony I have rebased tidspbridge patches on top of current pm branch. Currently bridge depends on some pm features which are not yet in mainline. Can you please describe what those dependencies are? We should fix those so we don't have dependencies. But at least now it can be compiled for your latest pm branch which I guess is in turn based on 2.6.29 Here is the git URL: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge-2.6.29-pm The thing is that in order to do the development in parallel, we want to base all the branches against the mainline kernel. Otherwise we'll have unnecessary dependencies between the branches. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: tidspbridge git repository
On Mon, Mar 23, 2009 at 9:47 PM, Tony Lindgren t...@atomide.com wrote: * ameya.pala...@nokia.com ameya.pala...@nokia.com [090323 00:42]: Hi Tony, I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Can you pull it to your tidspbridge branch? What dependencies are there to the PM branch? To me it sounds like you should rebase your tidspbridge branch against the mainline kernel as the drivers should be arch independent. If something is missing from the mainline kernel to rebase and compile tidspbridge against the mainline, we need to fix those issues. Last time I tried it worked fine, with one minor issue: http://github.com/felipec/linux-omap/commit/1ae534c0ab22e57dd986c50adddc83e2ec42f970 Btw, it seems the 2.6.28-omap1 tag didn't have the defconfig updated. -- Felipe Contreras -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
tidspbridge git repository
Hi Tony, I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Can you pull it to your tidspbridge branch? Thanks! Cheers, Ameya.-- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: tidspbridge git repository
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of ameya.pala...@nokia.com Sent: Monday, March 23, 2009 9:42 AM To: t...@atomide.com Cc: linux-omap@vger.kernel.org; hiroshi.d...@nokia.com Subject: tidspbridge git repository I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Is'nt the old PM branch moved to Kevin's tree[1]? Regards, Nishanth Menon Ref: [1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=shortlog;h=pm-2.6.28 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: tidspbridge git repository
On Mon, Mar 23, 2009 at 9:44 AM, Menon, Nishanth n...@ti.com wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of ameya.pala...@nokia.com Sent: Monday, March 23, 2009 9:42 AM To: t...@atomide.com Cc: linux-omap@vger.kernel.org; hiroshi.d...@nokia.com Subject: tidspbridge git repository I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Is'nt the old PM branch moved to Kevin's tree[1]? Regards, Nishanth Menon Ref: [1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=shortlog;h=pm-2.6.28 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html When I try to fetch pm-2.6.28 from Kevin's tree I always get following error: error: Unable to find 58d4e18530da1ca4020c1046709b7d8cdadc639c under http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git Cannot obtain needed blob 58d4e18530da1ca4020c1046709b7d8cdadc639c while processing commit a0c296df7fc41bd1e3f209c1bece0ba2ec30bc81. fatal: Fetch failed. Command string: git fetch http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git pm-2.6.28:pm-2.6.28 Cheers, Ameya. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: tidspbridge git repository
-Original Message- From: Ameya Palande [mailto:2am...@gmail.com] Sent: Monday, March 23, 2009 9:58 AM When I try to fetch pm-2.6.28 from Kevin's tree I always get following error: error: Unable to find 58d4e18530da1ca4020c1046709b7d8cdadc639c under http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git Cannot obtain needed blob 58d4e18530da1ca4020c1046709b7d8cdadc639c while processing commit a0c296df7fc41bd1e3f209c1bece0ba2ec30bc81. fatal: Fetch failed. Command string: git fetch http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux- omap-pm.git pm-2.6.28:pm-2.6.28 Git protocol works... http seems broken.. Regards, Nishanth Menon
Re: tidspbridge git repository
On Mon, Mar 23, 2009 at 10:55 AM, Menon, Nishanth n...@ti.com wrote: -Original Message- From: Ameya Palande [mailto:2am...@gmail.com] Sent: Monday, March 23, 2009 9:58 AM When I try to fetch pm-2.6.28 from Kevin's tree I always get following error: error: Unable to find 58d4e18530da1ca4020c1046709b7d8cdadc639c under http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git Cannot obtain needed blob 58d4e18530da1ca4020c1046709b7d8cdadc639c while processing commit a0c296df7fc41bd1e3f209c1bece0ba2ec30bc81. fatal: Fetch failed. Command string: git fetch http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux- omap-pm.git pm-2.6.28:pm-2.6.28 Git protocol works... http seems broken.. Regards, Nishanth Menon Thanks Nishant! tidspbridge patchset is now rebased on kevin's pm-2.6.28 branch. Cheers, Ameya. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: tidspbridge git repository
-Original Message- From: Ameya Palande [mailto:2am...@gmail.com] Sent: Monday, March 23, 2009 1:23 PM tidspbridge patchset is now rebased on kevin's pm-2.6.28 branch. Thanks. Just for everyone's reference, project link is [1], and git link is [2] Steps to get the latest tidspbridge based on linux-omap-pm (2.6.28): git clone git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git git checkout -b pm-2.6.28 --track origin/pm-2.6.28 git fetch git://gitorious.org/tidspbridge/mainline.git tidspbridge:tidspbridge git checkout tidspbridge Just did a basic compile and insmod+rmmod. No data transfers :(... Regards, Nishanth Menon Ref: [1] http://gitorious.org/projects/tidspbridge/repos/mainline/logs/tidspbridge [2] git://gitorious.org/tidspbridge/mainline.git N�r��yb�X��ǧv�^�){.n�+{��f��{ay�ʇڙ�,j��f���h���z��w��� ���j:+v���w�j�mzZ+�ݢj��!�i
Re: tidspbridge git repository
* ameya.pala...@nokia.com ameya.pala...@nokia.com [090323 00:42]: Hi Tony, I have collected latest patches for tidspbridge at: git://gitorious.org/tidspbridge/mainline.git Branch is: tidspbridge It is based on your pm branch. Can you pull it to your tidspbridge branch? What dependencies are there to the PM branch? To me it sounds like you should rebase your tidspbridge branch against the mainline kernel as the drivers should be arch independent. If something is missing from the mainline kernel to rebase and compile tidspbridge against the mainline, we need to fix those issues. Regards, Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html