Skip to contentSkip to conversation

alsa-state: Add support for at91 boards

PATCH Superseded Ulf Samuelsson 4 participants 8 messages Mar 14, 2010 – Mar 17, 2010 Arm/Microchip (AT91) SoC support

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-state: Add support for at91 boards

Add ALSA configuration files for at91 boards

---
 recipes/alsa/alsa-state/at91sam9260ek/asound.conf  |   11 +
 recipes/alsa/alsa-state/at91sam9260ek/asound.state |  566 ++++++++++++++++++++
 recipes/alsa/alsa-state/at91sam9261ek/asound.conf  |    2 +
 recipes/alsa/alsa-state/at91sam9261ek/asound.state |  108 ++++
 recipes/alsa/alsa-state/at91sam9g10ek/asound.conf  |    2 +
 recipes/alsa/alsa-state/at91sam9g10ek/asound.state |  566 ++++++++++++++++++++
 recipes/alsa/alsa-state/at91sam9g20ek/asound.conf  |    2 +
 recipes/alsa/alsa-state/at91sam9g20ek/asound.state |  566 ++++++++++++++++++++
 .../alsa/alsa-state/at91sam9g20ek_2mmc/asound.conf |    2 +
 .../alsa-state/at91sam9g20ek_2mmc/asound.state     |  566 ++++++++++++++++++++
 .../alsa/alsa-state/at91sam9g45ekes/asound.conf    |    2 +
 .../alsa/alsa-state/at91sam9g45ekes/asound.state   |  566 ++++++++++++++++++++
 .../alsa/alsa-state/at91sam9m10ekes/asound.conf    |    2 +
 .../alsa/alsa-state/at91sam9m10ekes/asound.state   |  566 ++++++++++++++++++++
 .../alsa/alsa-state/at91sam9m10g45ek/asound.conf   |    2 +
 .../alsa/alsa-state/at91sam9m10g45ek/asound.state  |  566 ++++++++++++++++++++
 recipes/alsa/alsa-state/at91sam9rlek/asound.conf   |    2 +
 recipes/alsa/alsa-state/at91sam9rlek/asound.state  |  566 ++++++++++++++++++++
 recipes/alsa/alsa-state/at91sam9xeek/asound.conf   |   11 +
 recipes/alsa/alsa-state/at91sam9xeek/asound.state  |  566 ++++++++++++++++++++
 20 files changed, 5240 insertions(+), 0 deletions(-)
 create mode 100644 recipes/alsa/alsa-state/at91sam9260ek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9260ek/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9261ek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9261ek/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9g10ek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9g10ek/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9g20ek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9g20ek/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9g20ek_2mmc/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9g20ek_2mmc/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9g45ekes/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9g45ekes/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9m10ekes/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9m10ekes/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9m10g45ek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9m10g45ek/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9rlek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9rlek/asound.state
 create mode 100644 recipes/alsa/alsa-state/at91sam9xeek/asound.conf
 create mode 100644 recipes/alsa/alsa-state/at91sam9xeek/asound.state
recipes/alsa/alsa-state/at91sam9260ek/asound.conf new file +11 -0
new file mode 100644
index 0000000..f2f45c8
@@ -0,0 +1,11 @@
+# default at91sam9g45ek configuration
+
+pcm.!default {
+  type hw
+  card 0
+}
+
+ctl.!default {
+  type hw
+  card 0
+}
recipes/alsa/alsa-state/at91sam9260ek/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9261ek/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec
@@ -0,0 +1,2 @@
+pcm.!default {  type hw  card 0  } 
+ctl.!default {  type hw  card 0  }
recipes/alsa/alsa-state/at91sam9261ek/asound.state new file +108 -0

108 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9g10ek/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec
@@ -0,0 +1,2 @@
+pcm.!default {  type hw  card 0  } 
+ctl.!default {  type hw  card 0  }
recipes/alsa/alsa-state/at91sam9g10ek/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9g20ek/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec
@@ -0,0 +1,2 @@
+pcm.!default {  type hw  card 0  } 
+ctl.!default {  type hw  card 0  }
recipes/alsa/alsa-state/at91sam9g20ek/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9g20ek_2mmc/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec
@@ -0,0 +1,2 @@
+pcm.!default {  type hw  card 0  } 
+ctl.!default {  type hw  card 0  }
recipes/alsa/alsa-state/at91sam9g20ek_2mmc/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9g45ekes/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec
@@ -0,0 +1,2 @@
+pcm.!default {  type hw  card 0  } 
+ctl.!default {  type hw  card 0  }
recipes/alsa/alsa-state/at91sam9g45ekes/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9m10ekes/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec
@@ -0,0 +1,2 @@
+pcm.!default {  type hw  card 0  } 
+ctl.!default {  type hw  card 0  }
recipes/alsa/alsa-state/at91sam9m10ekes/asound.state new file +566 -0

39 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9m10g45ek/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec

Lines of this file are not shown. View the raw message.

recipes/alsa/alsa-state/at91sam9m10g45ek/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9rlek/asound.conf new file +2 -0
new file mode 100644
index 0000000..87bb5ec

Lines of this file are not shown. View the raw message.

recipes/alsa/alsa-state/at91sam9rlek/asound.state new file +566 -0

566 lines not on this page · raw message

recipes/alsa/alsa-state/at91sam9xeek/asound.conf new file +11 -0
new file mode 100644
index 0000000..f2f45c8

Lines of this file are not shown. View the raw message.

recipes/alsa/alsa-state/at91sam9xeek/asound.state new file +566 -0

566 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.6.0.2

Part of the diff is not shown here. View the raw message.

#1 lore raw

Dnia poniedziałek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisał(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#2 lore raw

Marcin Juszkiewicz skrev:

Quoted 6 lines

Dnia poniedziałek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisał(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

OK.

Base on your comment on linux, I will change to have a common directory as well, but is there a smarter way?

What I'd often like to do is to have one directory for a group of machines.

So instead of:
++++++++++++++++++++++++++
FILES_XXX = " <Something> "

SRC_URI_at91sam92620ek = ${FILES_XXX}
SRC_URI_at91sam92621ek = ${FILES_XXX}
SRC_URI_at91sam92623ek = ${FILES_XXX}
------------------------
I'd like to do:
-----------------------------
SRC_URI_at91 = " <Something> "
+++++++++++++++++++++++++++++

Signature · 2 lines
Best Regards
Ulf Samuelsson
#3 lore raw

Some distros - e.g. Minimal - use the concept of a MACHINE_CLASS which You define in the machine conf (take a look at htc-msm7.inc or ezx-base) and that can then be used as OVERRIDE.

Cheers,

:M:

Am 15.03.2010 um 07:55 schrieb Ulf Samuelsson <[email protected]>:

Quoted 37 lines

Marcin Juszkiewicz skrev:

Quoted 6 lines

Dnia poniedziałek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisał(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

OK.

Base on your comment on linux, I will change to have a common directory as well, but is there a smarter way?

What I'd often like to do is to have one directory for a group of machines.

So instead of:
++++++++++++++++++++++++++
FILES_XXX = " <Something> "

SRC_URI_at91sam92620ek = ${FILES_XXX}
SRC_URI_at91sam92621ek = ${FILES_XXX}
SRC_URI_at91sam92623ek = ${FILES_XXX}
------------------------
I'd like to do:
-----------------------------
SRC_URI_at91 = " <Something> "
+++++++++++++++++++++++++++++

Signature · 8 lines
Best Regards
Ulf Samuelsson


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#4 lore raw
In reply to Ulf Samuelsson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 19 lines · Ulf Samuelsson

Marcin Juszkiewicz skrev:

Quoted 6 lines

Dnia poniedziałek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisał(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

OK.

Base on your comment on linux, I will change to have a common directory as well, but is there a smarter way?

What I'd often like to do is to have one directory for a group of machines.

So instead of:
++++++++++++++++++++++++++
FILES_XXX = " <Something> "

Quoted 8 lines

SRC_URI_at91sam92620ek = ${FILES_XXX}
SRC_URI_at91sam92621ek = ${FILES_XXX}
SRC_URI_at91sam92623ek = ${FILES_XXX}
------------------------
I'd like to do:
-----------------------------
SRC_URI_at91 = " <Something> "
+++++++++++++++++++++++++++++

Add SOC_CLASS = "at91" to the common machine include file and then you can do what you describe.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLnfSRMkyGM64RGpERAuFAAJ4ntmOYBWYBRR7aW+UKHeKPBdLLFwCgvGzf pKg3Xjoun2tOzPOD6M4tRbI=
=TSC1
-----END PGP SIGNATURE-----

#5 lore raw

Koen Kooi skrev:

Quoted 28 lines · Ulf Samuelsson
Quoted 18 lines

Marcin Juszkiewicz skrev:

Quoted 5 lines

Dnia poniedziaBek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisaB(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

OK.

Base on your comment on linux, I will change to have a common directory as well, but is there a smarter way?

What I'd often like to do is to have one directory for a group of machines.

So instead of:
++++++++++++++++++++++++++
FILES_XXX = " <Something> "

Quoted 8 lines

SRC_URI_at91sam92620ek = ${FILES_XXX}
SRC_URI_at91sam92621ek = ${FILES_XXX}
SRC_URI_at91sam92623ek = ${FILES_XXX}
------------------------
I'd like to do:
-----------------------------
SRC_URI_at91 = " <Something> "
+++++++++++++++++++++++++++++

Quoted 3 lines

Add SOC_CLASS = "at91" to the common machine include file and then you can do what you describe.

Thanks a lot!

Quoted 5 lines

regards,

Koen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 2 lines
Best Regards
Ulf Samuelsson
#6 lore raw
In reply to Koen Kooi

Koen Kooi skrev:

Quoted 28 lines · Ulf Samuelsson
Quoted 18 lines

Marcin Juszkiewicz skrev:

Quoted 5 lines

Dnia poniedziaBek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisaB(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

OK.

Base on your comment on linux, I will change to have a common directory as well, but is there a smarter way?

What I'd often like to do is to have one directory for a group of machines.

So instead of:
++++++++++++++++++++++++++
FILES_XXX = " <Something> "

Quoted 8 lines

SRC_URI_at91sam92620ek = ${FILES_XXX}
SRC_URI_at91sam92621ek = ${FILES_XXX}
SRC_URI_at91sam92623ek = ${FILES_XXX}
------------------------
I'd like to do:
-----------------------------
SRC_URI_at91 = " <Something> "
+++++++++++++++++++++++++++++

Quoted 3 lines

Add SOC_CLASS = "at91" to the common machine include file and then you can do what you describe.

Tried that and it failed.

$ cd <INSTALL>/openembedded
$ grep -R SOC_CLASS *
did not find anything which I did not put there.

Is there really such a function, with a different name, or was it proposed, but never implemented?

Quoted 5 lines

regards,

Koen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 2 lines
Best Regards
Ulf Samuelsson
#7 lore raw

Ulf Samuelsson skrev:

Quoted 28 lines

Koen Kooi skrev:

Quoted 23 lines · Ulf Samuelsson
Quoted 6 lines

Marcin Juszkiewicz skrev:

Quoted 5 lines

Dnia poniedziaBek, 15 marca 2010 o 00:29:13 Ulf Samuelsson napisaB(a):

Quoted 1 line

Add ALSA configuration files for at91 boards

Add bump PR of alsa-state and I will push such version.

Regards,

Quoted 16 lines

OK.
Base on your comment on linux, I will change to have a common directory as well, but is there a smarter way?
What I'd often like to do is to have one directory
for a group of machines.
So instead of:
++++++++++++++++++++++++++
FILES_XXX = " <Something> "
SRC_URI_at91sam92620ek = ${FILES_XXX}
SRC_URI_at91sam92621ek = ${FILES_XXX}
SRC_URI_at91sam92623ek = ${FILES_XXX}
------------------------
I'd like to do:
-----------------------------
SRC_URI_at91 = " <Something> "
+++++++++++++++++++++++++++++

Quoted 3 lines

Add SOC_CLASS = "at91" to the common machine include file and then you can do what you describe.

Quoted 10 lines

Tried that and it failed.

$ cd <INSTALL>/openembedded
$ grep -R SOC_CLASS *
did not find anything which I did not put there.

Is there really such a function, with a different name, or was it proposed, but never implemented?

Don't bother, I found it.

It is called "SOC_FAMILY"

Quoted 13 lines
Quoted 6 lines

regards,

Koen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 2 lines
Best Regards
Ulf Samuelsson