[meta-ti] [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
Andreas Müller
schnitzeltony at googlemail.com
Wed Feb 6 07:57:47 PST 2013
On Wed, Feb 6, 2013 at 4:43 PM, Andreas Müller
<schnitzeltony at googlemail.com> wrote:
> On Wed, Feb 6, 2013 at 9:38 AM, Dmytriyenko, Denys <denys at ti.com> wrote:
>> 3.2
>>
>>
>> Denys
>>
>>
>>
>> -----Original Message-----
>> From: Andreas Müller [schnitzeltony at googlemail.com]
>> Received: Wednesday, 06 Feb 2013, 2:34
>> To: fcooperjr27 at gmail.com [fcooperjr27 at gmail.com]
>> CC: meta-ti at yoctoproject.org [meta-ti at yoctoproject.org]
>> Subject: Re: [meta-ti] [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the
>> SGX modules
>>
>> On Wed, Feb 6, 2013 at 7:57 AM, <fcooperjr27 at gmail.com> wrote:
>>> From: Franklin S. Cooper Jr <fcooper at ti.com>
>>>
>>> * Add version 4.08.00.01 of the SGX modules.
>>>
>>> Signed-off-by: Franklin S. Cooper Jr <fcooper at ti.com>
>>> ---
>>> Version 2:
>>> Update SRC_URI link to use official SDK download link
>>>
>>> .../omap3-sgx-modules_4.08.00.01.bb | 56
>>> ++++++++++++++++++++
>>> 1 files changed, 56 insertions(+), 0 deletions(-)
>>> create mode 100644
>>> recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
>>>
>> Just a question: With which kernel version did you test that - because
>> 4.05 currently used need patching for kernels > 3.3 for me.
>>
>> Andreas
>
> With linux-omap 3.5 which I use in meta-gumstix-community for a while I get
>
> ERROR: Function failed: do_compile (see
> /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
> for further information)
> ERROR: Logfile of failure stored in:
> /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 12 -e MAKEFLAGS=
> KERNEL_PATH=/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel
> KERNEL_SRC=/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel
> KERNEL_VERSION=3.5.0 CC=arm-angstrom-linux-gnueabi-gcc -march=armv7-a
> -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
> --sysroot=/home/andreas/tmp/oe-core-eglibc/sysroots/overo
> -mno-thumb-interwork -marm LD=arm-angstrom-linux-gnueabi-ld
> --sysroot=/home/andreas/tmp/oe-core-eglibc/sysroots/overo
> AR=arm-angstrom-linux-gnueabi-ar BUILD=release TI_PLATFORM=omap3630
> SUPPORT_XORG=1
> | make -C /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel M=`pwd`
> | make[1]: Entering directory
> `/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel'
> | LD /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
> | CC [M] /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
> | LD [M] /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o
> | LD /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/built-in.o
> | CC [M] /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/pvr_drm_stubs.o
>
> | make[3]: *** No rule to make target
> `/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_auth.o',
> needed by `/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm.o'.
> Stop.
> | make[2]: *** [/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm]
> Error 2
> | make[1]: *** [_module_/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM]
> Error 2
> | make[1]: Leaving directory
> `/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see
> /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
> for further information)
>
> I added CONFIG_DRM_OMAP=m (CONFIG_DRM=y was there already at first
> run) but the same error.
>
> drm_auth.o is not found in my sysroot/kernel-image-folder but was
> built and can be found in the build folder of the kernel.
>
> Any thoughts?
>
> Andreas
One - maybe stupid - question: Have you tested with latest oe-core -or
do you have
commit c753f9d59f4d0a5af4ea5deb6e2b9609e05314e2
Author: Mark Asselstine <mark.asselstine at windriver.com>
Date: Thu Jan 31 13:31:03 2013 -0500
kernel: avoid copying unnecessary files during do_install
kernel_do_install() populates $kerneldir with files needed to build
external modules. To accomplish this there are several copy commands
to get source from the kernel source tree and build trees after which
a 'clean' is performed. Since we are copying from the build tree we
get about 1G of .o and .cmd files copied over only to have them
removed when we clean. This adds additional IO overhead as well as
overhead caused by pseudo. By avoiding copying these files in the
first place we get multiple gains:
* avoid initial copy
* avoid file deletes during clean
* reduce pseudo overhead
Additionally we are making use of cpio vs cp which tends to be
significantly faster at performing copies.
With these changes I observe a 15-30% decrease in the time to complete
the do_install() operation on the kernel.
[YOCTO #3517]
Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
in your repo?
Andreas
More information about the meta-ti
mailing list