Patchwork [1/3] zaurusd: enable support for collie

login
register
mail settings
Submitter lumag
Date Sept. 3, 2011, 6:22 p.m.
Message ID <1315074165-20137-1-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/10939/
State New, archived
Headers show

Comments

lumag - Sept. 3, 2011, 6:22 p.m.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 .../0001-zaurusd-add-support-for-collie.patch      |   50 ++++++++++++++++++++
 meta/recipes-bsp/zaurusd/zaurusd_git.bb            |    3 +-
 2 files changed, 52 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
Koen Kooi - Sept. 3, 2011, 6:28 p.m.
shouldn't this move to meta-zaurus now that oe-core is qemu only?

Op 3 sep. 2011, om 20:22 heeft Dmitry Eremin-Solenikov het volgende geschreven:

> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> ---
> .../0001-zaurusd-add-support-for-collie.patch      |   50 ++++++++++++++++++++
> meta/recipes-bsp/zaurusd/zaurusd_git.bb            |    3 +-
> 2 files changed, 52 insertions(+), 1 deletions(-)
> create mode 100644 meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
> 
> diff --git a/meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch b/meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
> new file mode 100644
> index 0000000..36ded13
> --- /dev/null
> +++ b/meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
> @@ -0,0 +1,50 @@
> +From 85b94bed1feab70bc529a59fb80c26da825b9abe Mon Sep 17 00:00:00 2001
> +From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> +Date: Fri, 5 Aug 2011 16:00:10 +0400
> +Subject: [PATCH] zaurusd: add support for collie
> +Upstream-Status: Pending
> +
> +Note: alsa mixer support is disabled, as collie doesn't support sound (yet).
> +
> +Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> +---
> + config/mach-config/mach-collie-functions |    4 ++++
> + config/mach-config/mach-collie-vars.in   |    3 +++
> + configure.ac                             |    1 +
> + 3 files changed, 8 insertions(+), 0 deletions(-)
> + create mode 100644 config/mach-config/mach-collie-functions
> + create mode 100644 config/mach-config/mach-collie-vars.in
> +
> +diff --git a/config/mach-config/mach-collie-functions b/config/mach-config/mach-collie-functions
> +new file mode 100644
> +index 0000000..4d77c53
> +--- /dev/null
> ++++ b/config/mach-config/mach-collie-functions
> +@@ -0,0 +1,4 @@
> ++HAVE_INPUT_SWITCHES=0
> ++HAVE_TSKEYS=0
> ++HAVE_ALSA_MIXER=0
> ++
> +diff --git a/config/mach-config/mach-collie-vars.in b/config/mach-config/mach-collie-vars.in
> +new file mode 100644
> +index 0000000..ec1bfb8
> +--- /dev/null
> ++++ b/config/mach-config/mach-collie-vars.in
> +@@ -0,0 +1,3 @@
> ++MACHINE=collie
> ++
> ++ALSA_MIXER_INIT=@appconfdir@/alsa/5500-default.state
> +diff --git a/configure.ac b/configure.ac
> +index 78ea2ae..5160fab 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -65,6 +65,7 @@ AC_CONFIG_FILES([
> +   config/config
> +   config/mach-config/mach-akita-vars
> +   config/mach-config/mach-borzoi-vars
> ++  config/mach-config/mach-collie-vars
> +   config/mach-config/mach-corgi-vars
> +   config/mach-config/mach-husky-vars
> +   config/mach-config/mach-poodle-vars
> +--
> +1.7.2.5
> diff --git a/meta/recipes-bsp/zaurusd/zaurusd_git.bb b/meta/recipes-bsp/zaurusd/zaurusd_git.bb
> index 3b8cc43..ebc3c66 100644
> --- a/meta/recipes-bsp/zaurusd/zaurusd_git.bb
> +++ b/meta/recipes-bsp/zaurusd/zaurusd_git.bb
> @@ -7,9 +7,10 @@ RDEPENDS_${PN} = "xrandr"
> 
> SRCREV = "82b30c7865f007fff81372c3cdc71b2ff6843ccc"
> PV = "0.1+git${SRCPV}"
> -PR = "r0"
> +PR = "r1"
> 
> SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \
> +	file://0001-zaurusd-add-support-for-collie.patch \
> 	file://fix_makefile.patch"
> 
> S = "${WORKDIR}/git"
> -- 
> 1.7.2.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
lumag - Sept. 3, 2011, 7:04 p.m.
On 9/3/11, Koen Kooi <koen@dominion.thruhere.net> wrote:
> shouldn't this move to meta-zaurus now that oe-core is qemu only?

Maybe. IIUC, currently the plan is to push meta-zaurus into meta-hh as published
by Paul Eggleton. On the other hand we didn't start this move (yet).
So please ignore
this patch for now.

BTW: Probably this patch and fix-makefile.patch should just be applied
into main git?
Richard Purdie - Sept. 5, 2011, 8:53 a.m.
On Sat, 2011-09-03 at 23:04 +0400, Dmitry Eremin-Solenikov wrote:
> On 9/3/11, Koen Kooi <koen@dominion.thruhere.net> wrote:
> > shouldn't this move to meta-zaurus now that oe-core is qemu only?
> 
> Maybe. IIUC, currently the plan is to push meta-zaurus into meta-hh as published
> by Paul Eggleton. On the other hand we didn't start this move (yet).
> So please ignore
> this patch for now.
> 
> BTW: Probably this patch and fix-makefile.patch should just be applied
> into main git?

We should apply these patches straight into git, yes.

I'm also wondering if there is still a use case for renaming zaurusd and
turning it into something less machine specific (which was always its
intent).

One place it can really help is where you have several revisions of a
board and need a slightly different audio config for each as it allows
doing this with one OE 'machine' entry.

Cheers,

Richard

Patch

diff --git a/meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch b/meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
new file mode 100644
index 0000000..36ded13
--- /dev/null
+++ b/meta/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
@@ -0,0 +1,50 @@ 
+From 85b94bed1feab70bc529a59fb80c26da825b9abe Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Fri, 5 Aug 2011 16:00:10 +0400
+Subject: [PATCH] zaurusd: add support for collie
+Upstream-Status: Pending
+
+Note: alsa mixer support is disabled, as collie doesn't support sound (yet).
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ config/mach-config/mach-collie-functions |    4 ++++
+ config/mach-config/mach-collie-vars.in   |    3 +++
+ configure.ac                             |    1 +
+ 3 files changed, 8 insertions(+), 0 deletions(-)
+ create mode 100644 config/mach-config/mach-collie-functions
+ create mode 100644 config/mach-config/mach-collie-vars.in
+
+diff --git a/config/mach-config/mach-collie-functions b/config/mach-config/mach-collie-functions
+new file mode 100644
+index 0000000..4d77c53
+--- /dev/null
++++ b/config/mach-config/mach-collie-functions
+@@ -0,0 +1,4 @@
++HAVE_INPUT_SWITCHES=0
++HAVE_TSKEYS=0
++HAVE_ALSA_MIXER=0
++
+diff --git a/config/mach-config/mach-collie-vars.in b/config/mach-config/mach-collie-vars.in
+new file mode 100644
+index 0000000..ec1bfb8
+--- /dev/null
++++ b/config/mach-config/mach-collie-vars.in
+@@ -0,0 +1,3 @@
++MACHINE=collie
++
++ALSA_MIXER_INIT=@appconfdir@/alsa/5500-default.state
+diff --git a/configure.ac b/configure.ac
+index 78ea2ae..5160fab 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -65,6 +65,7 @@ AC_CONFIG_FILES([
+   config/config
+   config/mach-config/mach-akita-vars
+   config/mach-config/mach-borzoi-vars
++  config/mach-config/mach-collie-vars
+   config/mach-config/mach-corgi-vars
+   config/mach-config/mach-husky-vars
+   config/mach-config/mach-poodle-vars
+--
+1.7.2.5
diff --git a/meta/recipes-bsp/zaurusd/zaurusd_git.bb b/meta/recipes-bsp/zaurusd/zaurusd_git.bb
index 3b8cc43..ebc3c66 100644
--- a/meta/recipes-bsp/zaurusd/zaurusd_git.bb
+++ b/meta/recipes-bsp/zaurusd/zaurusd_git.bb
@@ -7,9 +7,10 @@  RDEPENDS_${PN} = "xrandr"
 
 SRCREV = "82b30c7865f007fff81372c3cdc71b2ff6843ccc"
 PV = "0.1+git${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \
+	file://0001-zaurusd-add-support-for-collie.patch \
 	file://fix_makefile.patch"
 
 S = "${WORKDIR}/git"