[Dev] Using Yocto-distro buid tizen-common failed on odroid-U3

Vitaly Chernooky vitalii.chernookyi at globallogic.com
Mon Mar 16 10:38:22 GMT 2015


Leon,

On Mon, Mar 16, 2015 at 12:24 PM, Leon Anavi <leon.anavi at konsulko.com>
wrote:

>  Hi Vitaly,
>
> On 16.03.2015 12:08, Vitaly Chernooky wrote:
>
> Leon,
>
>  Yes, I have used same idea, but that patch is not actual currently for
> many changes introduced in mesa_%.bbappend.
>
>
> Yes, the recipe has evolved since the time of the old thread.
>
> Btw did you install packages gcc-arm-linux-gnueabihf and
> g++-arm-linux-gnueabihf (or something similar if you are on another
> distribution) to build Tizen images with Yocto for ARM?
>

Yes, I have installed arm-linux-gnueabihf-g++-4.6
and arm-linux-gnueabihf-gcc-4.6 and need to mention than crosswalk
crosscompilation is the most tricky. Also there are some additional patches
on gerrit and in sandbox.

With best regards,


> I suspect that we need to apply a patch as this one at the Crosswalk
> recipes for Tizen:Common and Tizen IVI to avoid the installation of these
> packages:
>
> https://github.com/crosswalk-project/meta-crosswalk/blob/master/recipes-crosswalk/crosswalk/crosswalk/pick_yocto_compiler.patch
>
>
> Best regards,
> Leon
>
>
> With best regards,
>
> On Mon, Mar 16, 2015 at 12:00 PM, Leon Anavi <leon.anavi at konsulko.com>
> wrote:
>
>>  Hi Vitaly, Fang,
>>
>> On 16.03.2015 11:54, Vitaly Chernooky wrote:
>>
>> Hi Fang,
>>
>> On Mon, Mar 16, 2015 at 10:16 AM, jianzhong fang <jz.fang at samsung.com>
>> wrote:
>>
>>>  Hi all,
>>>
>>>     These days we try to build the tizen common image on odroid-u3 by
>>> yocto-distro. First, I download the linux-3.10 kernel resource from
>>> review.tizen.org.
>>>
>>> I use 'yocto-bsp tool' to create a new yocto BSP named odorid, and
>>> modify some files.
>>>
>>>     Now, bitbake built failed. One is mesa do_configure failed, another
>>> is linux-3.10 do_build failed. These complete logs are in attachment.
>>>
>>>     Please help us to check them, thank you very much.
>>>
>>>
>>>
>>>     The mesa do_configure key log :
>>>
>>>         configure: error: Package requirements (libdrm_intel >= 2.4.52)
>>> were not met:
>>>
>>>        package 'libdrm_intel' found
>>>
>>
>>  I have solved this issue for my DRA7XX board using this patch:
>>
>>  https://review.tizen.org/gerrit/36457
>>
>>
>>  Vitaly, thank you for sharing the patch. Btw I noticed that similar work
>> around for ARM has been discussed and recommended at the mailing list half
>> a year ago:
>> https://lists.tizen.org/pipermail/dev/2014-August/003813.html
>>
>> Best regards,
>> Leon
>>
>>
>>   With best regards,
>>
>>
>>
>>>
>>>
>>>     The linux-3.10 do_compile key log:
>>>
>>>         /home/samsung/Yocto/tizen-distro/build-odroid/tmp-glibc/work/odroid-oe-linux-gnueabi/linux-yocto-custom/3.10+gitAUTOINC+448a2d220d-r2/linux/drivers/of/of_reserved_mem.c:
>>> In function 'fdt_scan_reserved_mem':
>>>         /home/samsung/Yocto/tizen-distro/build-odroid/tmp-glibc/work/odroid-oe-linux-gnueabi/linux-yocto-custom/3.10+gitAUTOINC+448a2d220d-r2/linux/drivers/of/of_reserved_mem.c:97:5:
>>> error: 'dma_contiguous_default_area' undeclared (first use in this function)
>>>              dma_contiguous_default_area = cma;
>>>              ^
>>>         /home/samsung/Yocto/tizen-distro/build-odroid/tmp-glibc/work/odroid-oe-linux-gnueabi/linux-yocto-custom/3.10+gitAUTOINC+448a2d220d-r2/linux/drivers/of/of_reserved_mem.c:97:5:
>>> note: each undeclared identifier is reported only once for each function it
>>> appears in
>>>               CC      lib/halfmd4.o
>>>         /home/samsung/Yocto/tizen-distro/build-odroid/tmp-glibc/work/odroid-oe-linux-gnueabi/linux-yocto-custom/3.10+gitAUTOINC+448a2d220d-r2/linux/scripts/Makefile.build:308:
>>> recipe for target 'drivers/of/of_reserved_mem.o' failed
>>>         make[4]: *** [drivers/of/of_reserved_mem.o] Error 1
>>>         /home/samsung/Yocto/tizen-distro/build-odroid/tmp-glibc/work/odroid-oe-linux-gnueabi/linux-yocto-custom/3.10+gitAUTOINC+448a2d220d-r2/linux/scripts/Makefile.build:455:
>>> recipe for target 'drivers/of' failed
>>>         make[3]: *** [drivers/of] Error 2
>>>         /home/samsung/Yocto/tizen-distro/build-odroid/tmp-glibc/work/odroid-oe-linux-gnueabi/linux-yocto-custom/3.10+gitAUTOINC+448a2d220d-r2/linux/Makefile:797:
>>> recipe for target 'drivers' failed
>>>         make[2]: *** [drivers] Error 2
>>>
>>>
>>>
>>>    -     The linux-3.10 information:
>>>
>>>     commit 448a2d220d5937579f12f29f68cb7f17dca01642
>>>     Author: Joonyoung Shim <jy0922.shim at samsung.com>
>>>     Date:   Fri Mar 6 18:37:54 2015 +0900
>>>
>>>     arm: tizen_rinato_defconfig: enable mali r4p0
>>>
>>>     Use mali r4p0 instead of r3p2.
>>>
>>>     Change-Id: Ie777bf67c1887df0ca5180a42ac6c6a5d0753bd6
>>>     Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
>>>
>>>
>>>
>>>    -     Build Configuration:
>>>        BB_VERSION        = "1.24.0"
>>>        BUILD_SYS         = "x86_64-linux"
>>>        NATIVELSBSTRING   = "Ubuntu-14.04"
>>>        TARGET_SYS        = "arm-oe-linux-gnueabi"
>>>        MACHINE           = "odroid"
>>>        DISTRO            = "tizen"
>>>        DISTRO_VERSION    = "3.0"
>>>        TUNE_FEATURES     = "arm armv7a vfp neon"
>>>        TARGET_FPU        = "vfp-neon"
>>>        meta
>>>        meta-oe
>>>        meta-multimedia
>>>        meta-ruby
>>>        meta-systemd
>>>        meta-gnome
>>>        meta
>>>        meta-oe
>>>        meta-tizen-common-base
>>>        meta-tizen-common-share
>>>        meta-tizen-common-devtools
>>>        meta-tizen-common-demo
>>>        meta-odroid       =
>>>    "tizen:0d1fc0fe42c19b81014ee1742a8a42dcfa58dd78"
>>>
>>>
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Fang Jianzhong
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev at lists.tizen.org
>>> https://lists.tizen.org/listinfo/dev
>>>
>>>
>>
>>
>>  --
>>   *Vitaly Chernooky | Senior Developer - Product Engineering and
>> Development*
>> GlobalLogic
>> P *+380.44.4929695 <%2B380.44.4929695> ext.1136* M *+380.63.6011802
>> <%2B380.63.6011802>* S cvv_2k
>> www.globallogic.com
>>
>>  http://www.globallogic.com/email_disclaimer.txt
>>
>>
>> _______________________________________________
>> Dev mailing listDev at lists.tizen.orghttps://lists.tizen.org/listinfo/dev
>>
>>
>>   --
>> Leon Anavi
>> Software Engineer
>> Mob : +359 88 527 7901konsulko.com
>>
>>
>
>
>  --
>   *Vitaly Chernooky | Senior Developer - Product Engineering and
> Development*
> GlobalLogic
> P *+380.44.4929695 <%2B380.44.4929695> ext.1136* M *+380.63.6011802
> <%2B380.63.6011802>* S cvv_2k
> www.globallogic.com
>
>  http://www.globallogic.com/email_disclaimer.txt
>
>
> --
> Leon Anavi
> Software Engineer
> Mob : +359 88 527 7901konsulko.com
>
>


-- 
*Vitaly Chernooky | Senior Developer - Product Engineering and Development*
GlobalLogic
P *+380.44.4929695 ext.1136* M *+380.63.6011802* S cvv_2k
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20150316/91ad4e4d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: <http://lists.tizen.org/pipermail/dev/attachments/20150316/91ad4e4d/attachment-0001.gif>


More information about the Dev mailing list