Skip to contentSkip to conversation

av-examples: Port av-examples from Arago

PATCH In review Franklin S Cooper Jr 3 participants 9 messages Aug 22, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 av-examples: Port av-examples from Arago

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
 .../av-examples/av-examples_1.0.bb                 |   33 ++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +33 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"
+
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+	touch debug
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+	make DESTDIR=${D} install
+}
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
 .../av-examples/av-examples_1.0.bb                 |   33 ++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+	touch debug
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+	make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#2 lore raw

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#3 lore raw

These examples demonstrate features of the display sub-system - such as rotation, color keying et. all. The DSS is supported on AM37x and AM3517 based platforms only. I do not see why this cannot be added to the Beagleboard, adding it to the SDK is a different discussion.

Regards,
Punya

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, August 22, 2012 5:25 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Prakash, Punya
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#4 lore raw
Quoted 4 lines · Punya

These examples demonstrate features of the display sub-system - such as rotation, color keying et. all. The DSS is supported on AM37x and AM3517 based platforms only. I do not see why this cannot be added to the Beagleboard, adding it to the SDK is a different discussion.

Punya,

I see. Calling them av-examples is slightly misleading then, but that explains the filtering. I guess a more generic "omap3" SoC should be used instead of listing every machine in COMAPTIBLE_MACHINES...

Signature · 1 line
Denys
Quoted 82 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, August 22, 2012 5:25 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Prakash, Punya
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#5 lore raw

That's probably the best approach

Quoted 97 lines · Denys
Quoted 4 lines · Punya

These examples demonstrate features of the display sub-system - such as rotation, color keying et. all. The DSS is supported on AM37x and AM3517 based platforms only. I do not see why this cannot be added to the Beagleboard, adding it to the SDK is a different discussion.

Punya,

I see. Calling them av-examples is slightly misleading then, but that explains the filtering. I guess a more generic "omap3" SoC should be used instead of listing every machine in COMAPTIBLE_MACHINES...

Signature · 1 line
Denys
Quoted 82 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, August 22, 2012 5:25 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Prakash, Punya
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#6 lore raw
In reply to Denys Dmytriyenko

I should have probably mentioned that the recipe also includes audio examples such as audio capture and playback. Av-examples could be misleading since it can imply multimedia while this is only demonstrating omap3 hardware features.

I agree about the generic omap3 SoC.

Regards,
Punya

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2012 5:36 PM
To: Prakash, Punya
Cc: Cooper Jr., Franklin; [email protected]
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

Quoted 4 lines · Punya

These examples demonstrate features of the display sub-system - such as rotation, color keying et. all. The DSS is supported on AM37x and AM3517 based platforms only. I do not see why this cannot be added to the Beagleboard, adding it to the SDK is a different discussion.

Punya,

I see. Calling them av-examples is slightly misleading then, but that explains the filtering. I guess a more generic "omap3" SoC should be used instead of listing every machine in COMAPTIBLE_MACHINES...

Signature · 1 line
Denys
Quoted 82 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, August 22, 2012 5:25 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Prakash, Punya
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#7 lore raw

Maybe dss-examples would be a better name for the recipe and git repo.

Are all the examples using the dss or are only some?

Quoted 112 lines · Punya

I should have probably mentioned that the recipe also includes audio examples such as audio capture and playback. Av-examples could be misleading since it can imply multimedia while this is only demonstrating omap3 hardware features.

I agree about the generic omap3 SoC.

Regards,
Punya

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2012 5:36 PM
To: Prakash, Punya
Cc: Cooper Jr., Franklin; [email protected]
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

Quoted 4 lines · Punya

These examples demonstrate features of the display sub-system - such as rotation, color keying et. all. The DSS is supported on AM37x and AM3517 based platforms only. I do not see why this cannot be added to the Beagleboard, adding it to the SDK is a different discussion.

Punya,

I see. Calling them av-examples is slightly misleading then, but that explains the filtering. I guess a more generic "omap3" SoC should be used instead of listing every machine in COMAPTIBLE_MACHINES...

Signature · 1 line
Denys
Quoted 82 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, August 22, 2012 5:25 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Prakash, Punya
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#8 lore raw

Denys,

I talked to Punya and now I have a better understanding what examples this repo contains. Can u send a patch that changes the compatible machine to just omap3?

I will rename the recipe and repo whenever a better name is found once I am back in town.

Quoted 118 lines · Franklin

Maybe dss-examples would be a better name for the recipe and git repo.

Are all the examples using the dss or are only some?

Quoted 112 lines · Punya

I should have probably mentioned that the recipe also includes audio examples such as audio capture and playback. Av-examples could be misleading since it can imply multimedia while this is only demonstrating omap3 hardware features.

I agree about the generic omap3 SoC.

Regards,
Punya

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2012 5:36 PM
To: Prakash, Punya
Cc: Cooper Jr., Franklin; [email protected]
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

Quoted 4 lines · Punya

These examples demonstrate features of the display sub-system - such as rotation, color keying et. all. The DSS is supported on AM37x and AM3517 based platforms only. I do not see why this cannot be added to the Beagleboard, adding it to the SDK is a different discussion.

Punya,

I see. Calling them av-examples is slightly misleading then, but that explains the filtering. I guess a more generic "omap3" SoC should be used instead of listing every machine in COMAPTIBLE_MACHINES...

Signature · 1 line
Denys
Quoted 82 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, August 22, 2012 5:25 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Prakash, Punya
Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago

I believe so. We only include it in those devices SDKs for a reason but I am not sure why it is. Seeing MACHINE being passed to make also make me believe its specific to those devices. I know I tried building it for 335x and received a bunch of errors.

Punya,
Can you verify that these examples are only for am37 and am35? Is there a reason why beagleboard couldn't be supported? Or will the code run on all of our devices?

We can restrict which devices include this app in our SDK but shouldn't exclude other devices from running this app unless there is a reason.

Quoted 66 lines · Denys
Quoted 20 lines · Franklin S Cooper Jr

* Add av-examples from Arago
* Convert svn repository to git. Update makefiles to create needed directories since git doesn't allow empty directories to be stored.

---
.../av-examples/av-examples_1.0.bb | 33 ++++++++++++++++++++

1 files changed, 33 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +3 -0
new file mode 100644
index 0000000..1025f96
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux Audio Video Example Applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/av_examples/"
+LICENSE = "BSD"

meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb line 13

Quoted 10 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM := "file://COPYING;md5=80ea1ff5788f65d5c5b3206d50d4bc6c"
+SECTION = "system"
+PRIORITY = "optional"
+
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"

We need to relax our filters for compatible machines. Those are Audio/Video examples - are they really machine specific?

Signature · 1 line
Denys
Quoted 27 lines
meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb new file +19 -0
+BRANCH ?= "master"
+SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+
+SRC_URI = "git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKIP which would otherwise lead to discrepancies between host and arago binaries
+INSANE_SKIP_${PN} = "True"
+
+do_compile() {
+    touch debug
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${MACHINE}"
+}
+
+do_install() {
+    make DESTDIR=${D} install
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago