<div dir="ltr">Leon,<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 16, 2015 at 12:24 PM, Leon Anavi <span dir="ltr"><<a href="mailto:leon.anavi@konsulko.com" target="_blank">leon.anavi@konsulko.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Vitaly,<span class=""><br>
    <br>
    <div>On 16.03.2015 12:08, Vitaly Chernooky
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Leon,<br>
        <div><br>
        </div>
        <div>Yes, I have used same idea, but that patch is not actual
          currently for many changes introduced in mesa_%.bbappend.</div>
      </div>
    </blockquote>
    <br></span>
    Yes, the recipe has evolved since the time of the old thread.<br>
    <br>
    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?<br></div></blockquote><div><br></div><div>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.</div><div><br></div><div>With best regards,</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">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:<br>
<a href="https://github.com/crosswalk-project/meta-crosswalk/blob/master/recipes-crosswalk/crosswalk/crosswalk/pick_yocto_compiler.patch" target="_blank">https://github.com/crosswalk-project/meta-crosswalk/blob/master/recipes-crosswalk/crosswalk/crosswalk/pick_yocto_compiler.patch</a><div><div class="h5"><br>
    <br>
    Best regards,<br>
    Leon<br>
    <br>
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div>With best regards,</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Mar 16, 2015 at 12:00 PM, Leon
          Anavi <span dir="ltr"><<a href="mailto:leon.anavi@konsulko.com" target="_blank">leon.anavi@konsulko.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi Vitaly, Fang,<span><br>
                <br>
                <div>On 16.03.2015 11:54, Vitaly Chernooky wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">Hi Fang,<br>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Mon, Mar 16, 2015 at
                        10:16 AM, jianzhong fang <span dir="ltr"><<a href="mailto:jz.fang@samsung.com" target="_blank">jz.fang@samsung.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                          <div>
                            <p>Hi all,</p>
                            <p>    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 <a href="http://review.tizen.org" target="_blank">review.tizen.org</a>.</p>
                            <p>I use 'yocto-bsp tool' to create a new
                              yocto BSP named odorid, and modify some
                              files.</p>
                            <p>    Now, bitbake built failed. One is
                              mesa do_configure failed, another is
                              linux-3.10 do_build failed. These complete
                              logs are in attachment.</p>
                            <p>    Please help us to check them, thank
                              you very much.</p>
                            <p> </p>
                            <p>    The mesa do_configure key log :</p>
                            <p>        <span style="color:rgb(165,42,0)">configure:

                                error: Package requirements
                                (libdrm_intel >= 2.4.52) were not
                                met:</span></p>
                            <p><span style="color:rgb(165,42,0)">      
                                package 'libdrm_intel' found</span></p>
                          </div>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>I have solved this issue for my DRA7XX
                          board using this patch:</div>
                        <div><br>
                        </div>
                        <div><a href="https://review.tizen.org/gerrit/36457" target="_blank">https://review.tizen.org/gerrit/36457</a><br>
                        </div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
              </span> 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: <br>
              <a href="https://lists.tizen.org/pipermail/dev/2014-August/003813.html" target="_blank">https://lists.tizen.org/pipermail/dev/2014-August/003813.html</a><br>
              <br>
              Best regards,<br>
              Leon
              <div>
                <div><br>
                  <br>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_extra">
                        <div class="gmail_quote">
                          <div>With best regards,</div>
                          <div><br>
                          </div>
                          <div> </div>
                          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                            <div>
                              <p> </p>
                              <p>    The linux-3.10 do_compile key log:</p>
                              <p>        <span style="color:rgb(165,42,0)">/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':<br>
                                          /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)<br>
                                              
                                  dma_contiguous_default_area = cma;<br>
                                               ^<br>
                                          /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<br>
                                                CC      lib/halfmd4.o<br>
                                          /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<br>
                                          make[4]: ***
                                  [drivers/of/of_reserved_mem.o] Error 1<br>
                                          /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<br>
                                          make[3]: *** [drivers/of]
                                  Error 2<br>
                                          /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<br>
                                          make[2]: *** [drivers] Error 2</span></p>
                              <p> </p>
                              <ul>
                                <li>    The linux-3.10 information:</li>
                              </ul>
                              <p>    commit
                                448a2d220d5937579f12f29f68cb7f17dca01642<br>
                                    Author: Joonyoung Shim <<a href="mailto:jy0922.shim@samsung.com" target="_blank">jy0922.shim@samsung.com</a>><br>
                                    Date:   Fri Mar 6 18:37:54 2015
                                +0900</p>
                              <p>    arm: tizen_rinato_defconfig: enable
                                mali r4p0</p>
                              <p>    Use mali r4p0 instead of r3p2.</p>
                              <p>    Change-Id:
                                Ie777bf67c1887df0ca5180a42ac6c6a5d0753bd6<br>
                                    Signed-off-by: Joonyoung Shim <<a href="mailto:jy0922.shim@samsung.com" target="_blank">jy0922.shim@samsung.com</a>></p>
                              <p> </p>
                              <ul>
                                <li>    Build Configuration:<br>
                                      BB_VERSION        = "1.24.0"<br>
                                      BUILD_SYS         = "x86_64-linux"<br>
                                      NATIVELSBSTRING   = "Ubuntu-14.04"<br>
                                      TARGET_SYS        =
                                  "arm-oe-linux-gnueabi"<br>
                                      MACHINE           = "odroid"<br>
                                      DISTRO            = "tizen"<br>
                                      DISTRO_VERSION    = "3.0"<br>
                                      TUNE_FEATURES     = "arm armv7a
                                  vfp neon"<br>
                                      TARGET_FPU        = "vfp-neon"<br>
                                      meta<br>
                                      meta-oe<br>
                                      meta-multimedia<br>
                                      meta-ruby<br>
                                      meta-systemd<br>
                                      meta-gnome<br>
                                      meta<br>
                                      meta-oe<br>
                                      meta-tizen-common-base<br>
                                      meta-tizen-common-share<br>
                                      meta-tizen-common-devtools<br>
                                      meta-tizen-common-demo<br>
                                      meta-odroid       =
                                  "tizen:0d1fc0fe42c19b81014ee1742a8a42dcfa58dd78"</li>
                              </ul>
                              <p> </p>
                              <p> </p>
                              <p>Best regards,</p>
                              <p>Fang Jianzhong</p>
                              <p> </p>
                              <table>
                                <tbody>
                                  <tr>
                                    <td>
                                      <p><img src="cid:part8.06020500.05090003@konsulko.com" border="0"></p>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </div>
                            <img src="http://ext.samsung.net/mailcheck/SeenTimeChecker?do=66776f433ea480754cb6fad6f2bb53ee0eb5c7a78c8f8f268403ac986da1778ddd3b7ce37073f2f3b181a2055127e8aa326bbdfb2ea96a2fcf878f9a26ce15a0" border="0" height="0" width="0"><br>
_______________________________________________<br>
                            Dev mailing list<br>
                            <a href="mailto:Dev@lists.tizen.org" target="_blank">Dev@lists.tizen.org</a><br>
                            <a href="https://lists.tizen.org/listinfo/dev" target="_blank">https://lists.tizen.org/listinfo/dev</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <br>
                        <br clear="all">
                        <div><br>
                        </div>
                        -- <br>
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div><b><font color="#000000">Vitaly
                                      Chernooky | Senior Developer -
                                      Product Engineering and
                                      Development</font></b></div>
                                <div>GlobalLogic</div>
                                <div>P <font color="#0000ff"><u><a href="tel:%2B380.44.4929695" value="+380444929695" target="_blank">+380.44.4929695</a>
                                      ext.1136</u></font> M <font color="#0000ff"><u><a href="tel:%2B380.63.6011802" value="+380636011802" target="_blank">+380.63.6011802</a></u></font><span style="font-size:12.8000001907349px"> S
                                    cvv_2k</span></div>
                                <div><a href="http://www.globallogic.com" target="_blank">www.globallogic.com</a></div>
                                <div><br>
                                </div>
                                <div><a href="http://www.globallogic.com/email_disclaimer.txt" target="_blank">http://www.globallogic.com/email_disclaimer.txt</a></div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
Dev mailing list
<a href="mailto:Dev@lists.tizen.org" target="_blank">Dev@lists.tizen.org</a>
<a href="https://lists.tizen.org/listinfo/dev" target="_blank">https://lists.tizen.org/listinfo/dev</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
              <span><font color="#888888">
                  <pre cols="72">-- 
Leon Anavi
Software Engineer
Mob : <a href="tel:%2B359%2088%20527%207901" value="+359885277901" target="_blank">+359 88 527 7901</a>
<a href="http://konsulko.com" target="_blank">konsulko.com</a>
</pre>
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div><b><font color="#000000">Vitaly Chernooky | Senior
                      Developer - Product Engineering and Development</font></b></div>
                <div>GlobalLogic</div>
                <div>P <font color="#0000ff"><u><a href="tel:%2B380.44.4929695" value="+380444929695" target="_blank">+380.44.4929695</a>
                      ext.1136</u></font> M <font color="#0000ff"><u><a href="tel:%2B380.63.6011802" value="+380636011802" target="_blank">+380.63.6011802</a></u></font><span style="font-size:12.8000001907349px"> S cvv_2k</span></div>
                <div><a href="http://www.globallogic.com" target="_blank">www.globallogic.com</a></div>
                <div><br>
                </div>
                <div><a href="http://www.globallogic.com/email_disclaimer.txt" target="_blank">http://www.globallogic.com/email_disclaimer.txt</a></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
Leon Anavi
Software Engineer
Mob : <a href="tel:%2B359%2088%20527%207901" value="+359885277901" target="_blank">+359 88 527 7901</a>
<a href="http://konsulko.com" target="_blank">konsulko.com</a>
</pre>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b><font color="#000000">Vitaly Chernooky | Senior Developer - Product Engineering and Development</font></b></div><div>GlobalLogic</div><div>P <font color="#0000ff"><u>+380.44.4929695 ext.1136</u></font> M <font color="#0000ff"><u>+380.63.6011802</u></font><span style="font-size:12.8000001907349px"> S cvv_2k</span></div><div><a href="http://www.globallogic.com" target="_blank">www.globallogic.com</a></div><div><br></div><div><a href="http://www.globallogic.com/email_disclaimer.txt" target="_blank">http://www.globallogic.com/email_disclaimer.txt</a></div></div></div></div></div>
</div></div>