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

Vitaly Chernooky vitalii.chernookyi at globallogic.com
Mon Mar 16 09:54:49 GMT 2015


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

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 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/dda02c8d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201503161616907_Z5JE7EUA.gif
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: <http://lists.tizen.org/pipermail/dev/attachments/20150316/dda02c8d/attachment-0001.gif>


More information about the Dev mailing list