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 <[email protected] <mailto:[email protected]>> 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 <http://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 <[email protected]
    <mailto:[email protected]>>
        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 <[email protected]
    <mailto:[email protected]>>

      *     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
    [email protected] <mailto:[email protected]>
    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>

http://www.globallogic.com/email_disclaimer.txt


_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

--
Leon Anavi
Software Engineer
Mob : +359 88 527 7901
konsulko.com

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to