<div dir="ltr">Great! All clear now!<div>Thanks a lot for your help Chong!</div><div><br></div><div>- Joseph</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 4:53 PM, Chong Lu <span dir="ltr"><<a href="mailto:Chong.Lu@windriver.com" target="_blank">Chong.Lu@windriver.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="">
    <br>
    <div>On 07/09/2014 04:27 PM, Joseph Andrew
      de la Peña wrote:<br>
    </div>
    </div><blockquote type="cite">
      
      <div dir="ltr">Good day Chong,
        <div><br>
        </div><div class="">
        <div>Thank you so much for your input! I have also tried the ADT
          method you mentioned and saw the needed files inside
          download_image. Yet this is not the path I intended to take
          since in our poky, we already have our own generated images.</div>
        <div><br>
        </div>
        <div>The output should be like the ADT installer where the
          moment you run the script, the images will be installed inside
          a certain dir in sysroots. Is this possible?</div>
        <div><br>
        </div>
        <div>The expected outcome should be the moment I finished
          running the SDK script generated by populate_sdk, the images
          should also be seen in my sdk path. How can I include the
          images as content to the SDK script? Is there a variable that
          I need to set in conf or any?</div>
        <div><br>
        </div>
      </div></div>
    </blockquote>
    adt-installer download images from <a href="http://adtrepo.yoctoproject.org/" target="_blank">http://adtrepo.yoctoproject.org/</a>
    , maybe you can create your repo for your images.<br>
    The script from populate_sdk can't get images default.<br>
    <br>
    BR<span class="HOEnZb"><font color="#888888"><br>
    Chong <br></font></span><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>- Joseph</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Jul 8, 2014 at 5:54 PM, Chong
          Lu <span dir="ltr"><<a href="mailto:Chong.Lu@windriver.com" target="_blank">Chong.Lu@windriver.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> I mean you can use
              adt-installer to make your sdk environment. (3.1.1. Using
              the ADT Installer)<br>
              After you run adt-installer script, you can get kernel and
              rootfs in download_image directory. <br>
              <br>
              Best Regards<span><font color="#888888"><br>
                  Chong</font></span>
              <div>
                <div><br>
                  <br>
                  <br>
                  <div>On 07/08/2014 05:39 PM, Joseph Andrew de la Peña
                    wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Good day Chong,
                      <div><br>
                      </div>
                      <div>Actually, I have used ADT (Section 3.4
                        Optionally Building a Toolchain Installer). I
                        used the method -c populate_sdk and it generated
                        a toolchain script from my existing build
                        workdir's core-image-XXX. I ran the toolchain
                        and it generated a sysroots dir to
                        /path/to/sysroots (SDK_PATH).</div>
                      <div><br>
                      </div>
                      <div>Here's the directory structure:</div>
                      <div>+ SDK_PATH</div>
                      <div>--- + environment-setup-XXX</div>
                      <div>--- + site-config-XXX</div>
                      <div>--- + sysroots (dir)</div>
                      <div>---------- + XXX-poky-linux (dir)</div>
                      <div>---------- + XXX-pokysdk-linux (dir)</div>
                      <div>--- + version-XXX</div>
                      <div><br>
                      </div>
                      <div>The poky-linux dir does not contain a build
                        dir and nowhere are the images (kernel and ext3)
                        to be found. Thus, the main problem is how can I
                        ran qemu with my SDK setup. This would lead to
                        my sub question: since QEMU needs the kernel and
                        ext3 files, how can I automatically copy these
                        images from my existing build workdir to the
                        newly created SDK dir.</div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Joseph</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">On Tue, Jul 8, 2014 at
                        3:26 PM, Chong Lu <span dir="ltr"><<a href="mailto:Chong.Lu@windriver.com" target="_blank">Chong.Lu@windriver.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> Hi
                            Joseph,<br>
                            <br>
                            Maybe you can use adt-installer.<br>
                            <br>
                            <a href="http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#using-the-adt-installer" target="_blank">http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#using-the-adt-installer</a><br>

                            <br>
                            Best Regards<span><font color="#888888"><br>
                                Chong <br>
                              </font></span>
                            <div>
                              <div> <br>
                                <div>On 07/08/2014 02:15 PM, Joseph
                                  Andrew de la Peña wrote:<br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Good

                                      day ALL,</span>
                                    <div style="font-family:arial,sans-serif;font-size:13px"><br>
                                    </div>
                                    <div style="font-family:arial,sans-serif;font-size:13px">I
                                      was wondering if it's possible to
                                      automatically add QEMU
                                      dependencies (kernel and ext3
                                      files) into the script generated
                                      by do_populate_sdk? Then after
                                      running the generated SDK script,
                                      the images will reside in
                                      /path/to/sysroots/xxx-poky-xxx/tmp/images?
                                      Then just add an environment
                                      variable to the environment script
                                      to locate the images path. Is this
                                      possible?</div>
                                    <div style="font-family:arial,sans-serif;font-size:13px"><br>
                                    </div>
                                    <div style="font-family:arial,sans-serif;font-size:13px">The


                                      intention is to run QEMU in a host
                                      machine with extracted SDK. Any
                                      suggestions on other better ways
                                      to run QEMU in another machine w/
                                      SDK would be great.</div>
                                    <div style="font-family:arial,sans-serif;font-size:13px"><br>
                                    </div>
                                    <div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div>
                                    <div style="font-family:arial,sans-serif;font-size:13px">Joseph</div>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </blockquote>
                                <br>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>