Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by arago-project.org (Postfix) with ESMTPS id 1663252A4B for ; Wed, 22 Aug 2012 22:40:34 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id q7MMeXB8020811 for ; Wed, 22 Aug 2012 17:40:33 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q7MMeXEr007752 for ; Wed, 22 Aug 2012 17:40:33 -0500 Received: from DFLE09.ent.ti.com ([fe80::3103:58c3:47f:860b]) by DFLE73.ent.ti.com ([fe80::86e:fab6:cd95:e158%28]) with mapi id 14.01.0323.003; Wed, 22 Aug 2012 17:40:33 -0500 From: "Cooper Jr., Franklin" To: "Dmytriyenko, Denys" Thread-Topic: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago Thread-Index: AQHNgGzqk+EPZ9QJNkWz0qh+1nwNv5dmt2KA//+xyi2AAAAroIAAVo6A//+tiCM= Date: Wed, 22 Aug 2012 22:40:32 +0000 Message-ID: <89AE3EC5-05B7-4940-BB02-6F4568116FFC@ti.com> References: <1345644077-4568-1-git-send-email-fcooper@ti.com> <20120822220515.GB8846@denix.org> <92A683A2-B3B9-4146-8FC0-5CFC1B0569CE@ti.com> <03DB3D5A7C754F418CE076FD17499F235D1A0A7D@DLEE12.ent.ti.com>, <20120822223543.GJ21025@edge> In-Reply-To: <20120822223543.GJ21025@edge> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 Cc: "meta-arago@arago-project.org" , "Prakash, Punya" Subject: Re: [meta-arago-extras][PATCH] av-examples: Port av-examples from Arago X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 22:40:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable That's probably the best approach On Aug 22, 2012, at 5:35 PM, "Dmytriyenko, Denys" wrote: > On Wed, Aug 22, 2012 at 06:32:24PM -0400, Prakash, Punya wrote: >> These examples demonstrate features of the display sub-system - such as= =20 >> rotation, color keying et. all. The DSS is supported on AM37x and AM3517= =20 >> based platforms only. I do not see why this cannot be added to the=20 >> Beagleboard, adding it to the SDK is a different discussion. >=20 > Punya, >=20 > I see. Calling them av-examples is slightly misleading then, but that exp= lains=20 > the filtering. I guess a more generic "omap3" SoC should be used instead = of=20 > listing every machine in COMAPTIBLE_MACHINES... >=20 > --=20 > Denys >=20 >> -----Original Message----- >> From: Cooper Jr., Franklin=20 >> Sent: Wednesday, August 22, 2012 5:25 PM >> To: Dmytriyenko, Denys >> Cc: meta-arago@arago-project.org; Prakash, Punya >> Subject: Re: [meta-arago] [meta-arago-extras][PATCH] av-examples: Port a= v-examples from Arago >>=20 >> 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 b= elieve its specific to those devices. I know I tried building it for 335x a= nd received a bunch of errors. >>=20 >> 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?=20 >>=20 >> 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. >>=20 >> On Aug 22, 2012, at 5:05 PM, "Dmytriyenko, Denys" wrote: >>=20 >>> On Wed, Aug 22, 2012 at 09:01:17AM -0500, Franklin S Cooper Jr wrote: >>>> * 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. >>>>=20 >>>> Signed-off-by: Franklin S Cooper Jr >>>> --- >>>> .../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 >>>>=20 >>>> diff --git a/meta-arago-extras/recipes-multimedia/av-examples/av-examp= les_1.0.bb b/meta-arago-extras/recipes-multimedia/av-examples/av-examples_1= .0.bb >>>> new file mode 100644 >>>> index 0000000..1025f96 >>>> --- /dev/null >>>> +++ b/meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0= .bb >>>> @@ -0,0 +1,33 @@ >>>> +DESCRIPTION =3D "Linux Audio Video Example Applications" >>>> +HOMEPAGE =3D "https://gforge.ti.com/gf/project/av_examples/" >>>> +LICENSE =3D "BSD" >>>> +LIC_FILES_CHKSUM :=3D "file://COPYING;md5=3D80ea1ff5788f65d5c5b3206d5= 0d4bc6c" >>>> +SECTION =3D "system" >>>> +PRIORITY =3D "optional" >>>> + >>>> +PR =3D "r0" >>>> + >>>> +DEPENDS +=3D "virtual/kernel" >>>> +PACKAGE_ARCH =3D "${MACHINE_ARCH}" >>>> + >>>> +COMPATIBLE_MACHINE =3D "(am37x-evm|am3517-evm)" >>>=20 >>> We need to relax our filters for compatible machines. Those are Audio/V= ideo=20 >>> examples - are they really machine specific? >>>=20 >>> --=20 >>> Denys >>>=20 >>>=20 >>>> +BRANCH ?=3D "master" >>>> +SRCREV =3D "ac75d09d29a805d89c49dd2741b79f3069e97827" >>>> + >>>> +SRC_URI =3D "git://gitorious.org/av_examples/av_examples.git;protocol= =3Dgit;branch=3D${BRANCH}" >>>> + >>>> +S =3D "${WORKDIR}/git" >>>> + >>>> +# TODO: Export LDFLAGS from Rules.make to eliminate use of INSANE_SKI= P which would otherwise lead to discrepancies between host and arago binari= es >>>> +INSANE_SKIP_${PN} =3D "True" >>>> + >>>> +do_compile() { >>>> + touch debug >>>> + export CROSS_COMPILE=3D${TARGET_PREFIX} >>>> + make release LINUXKERNEL_INSTALL_DIR=3D"${STAGING_KERNEL_DIR}" PL= ATFORM=3D"${MACHINE}" >>>> +} >>>> + >>>> +do_install() { >>>> + make DESTDIR=3D${D} install >>>> +} >>>> --=20 >>>> 1.7.0.4 >>>>=20 >>>> _______________________________________________ >>>> meta-arago mailing list >>>> meta-arago@arago-project.org >>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago >>>>=20