<div dir="ltr">Hello Beth and/or Joshua,<div><br></div><div>I would really appreciate some pointers on how to get the Variscite builds to work with Autobuilder.</div><div><br></div><div>Since my last email, I was able to setup the Yocto Autobuilder, add the sample hello.conf and run it.</div><div>I was also able to add another file, nightly-variscite-x11.conf and I can see it in the Waterfall view. Initially, I started by filling it with content similar to hello.conf and this worked. Now, I need to be able to add the Variscite build.</div><div><br></div><div>Since my last email, Variscite have moved to the morty branch, since Freescale/NXP have moved to the morty branch. So, the wiki instructions here <a href="http://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_MORTY_BETA_DART-6UL">http://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_MORTY_BETA_DART-6UL</a> are now simpler:</div><div><br></div><div>1) Checkout the source code</div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:Menlo,Monaco,"Courier New","Nimbus Mono L",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ mkdir ~/var-fslc-yocto
$ cd ~/var-fslc-yocto
$ repo init -u <a rel="nofollow" class="external gmail-free" href="https://github.com/varigit/variscite-bsp-platform.git" style="text-decoration-line:none;color:rgb(51,102,187);background:url("locked.png") 100% 50%/12px 12px no-repeat;padding-right:16px;padding-left:0px">https://github.com/varigit/variscite-bsp-platform.git</a> -b morty
$ repo sync -j4</pre></div><div><br></div><div>2) Run the setup script (which calls oe-init-environment)</div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:Menlo,Monaco,"Courier New","Nimbus Mono L",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ cd ~/var-fslc-yocto
$ MACHINE=imx6ul-var-dart DISTRO=fslc-x11 . setup-environment build_x11</pre></div><div><br></div><div>3) Build X11 demo images</div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:Menlo,Monaco,"Courier New","Nimbus Mono L",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px"># Without Qt content:
$ bitbake fsl-image-gui
# Or with Qt content:
$ bitbake fsl-image-qt5</pre></div><div><br></div><div>The 'repo' command reads the file default.xml which has the following contents:</div><div><div><br></div><div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px"><div style="color:rgb(34,34,34);font-size:small;white-space:normal"><div><font face="monospace, monospace"><?xml version="1.0" encoding="UTF-8"?></font></div><div><font face="monospace, monospace"><manifest></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Â <default sync-j="4" revision="morty"/></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Â <remote fetch="<a href="https://git.yoctoproject.org/git">https://git.yoctoproject.org/git</a>" name="yocto"/></font></div><div><font face="monospace, monospace">Â <remote fetch="<a href="https://github.com/Freescale">https://github.com/Freescale</a>" Â Â name="freescale"/></font></div><div><font face="monospace, monospace">Â <remote fetch="<a href="https://github.com/openembedded">https://github.com/openembedded</a>" Â name="oe"/></font></div><div><font face="monospace, monospace">Â <remote fetch="<a href="https://github.com/varigit">https://github.com/varigit</a>" Â Â Â name="variscite"/></font></div><div><font face="monospace, monospace">Â <remote fetch="<a href="https://github.com/OSSystems">https://github.com/OSSystems</a>" Â Â name="OSSystems"/></font></div><div><font face="monospace, monospace">Â <remote fetch="git://<a href="http://github.com/meta-qt5">github.com/meta-qt5</a>" Â Â Â Â name="QT5"/></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Â <project remote="yocto" revision="6a1f33cc40bfac33cf030fe41e1a8efd1e5fad6f" upstream="morty" Â name="poky" path="sources/poky"/></font></div><div><font face="monospace, monospace">Â <project remote="yocto" revision="56a1460777d1e24b1dfb426cad2b103740936a83" upstream="morty" Â name="meta-freescale" path="sources/meta-freescale" /></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Â <project remote="oe" revision="fe5c83312de11e80b85680ef237f8acb04b4b26e" upstream="morty" name="meta-openembedded" path="sources/meta-openembedded" /></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Â <project remote="variscite" revision="morty" name="variscite-bsp-base" path="sources/base"></font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre"> </span><copyfile dest="README" src="README"/></font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre"> </span><copyfile dest="setup-environment" src="setup-environment"/></font></div><div><font face="monospace, monospace">Â </project></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Â <project remote="freescale" revision="4be3db25959e741ac9164a32c82b8c09b59213ad" upstream="morty" name="meta-freescale-3rdparty" path="sources/meta-freescale-3rdparty"/></font></div><div><font face="monospace, monospace">Â <project remote="freescale" revision="dd482aeb7913c099c69f82362776bd92b584553c" upstream="morty" name="meta-freescale-distro" path="sources/meta-freescale-distro"/></font></div><div><font face="monospace, monospace">Â <project remote="QT5" revision="3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1" upstream="morty" name="meta-qt5" path="sources/meta-qt5"/></font></div><div><font face="monospace, monospace">Â <project remote="OSSystems" revision="7d37ae2adec5cc5ea27367ce125bc7bce2310ca1" upstream="morty" name="meta-browser" path="sources/meta-browser"/></font></div><div><font face="monospace, monospace">Â <project remote="variscite" revision="7a214e7579869be810aa8992c59627ba064db076" upstream="morty" name="meta-variscite-fslc" path="sources/meta-variscite-fslc" Â /></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"></manifest></font></div></div><div style="font-family:arial,sans-serif;color:rgb(34,34,34);font-size:small;white-space:normal"><br></div></pre></div></div><div><br></div><div>So, AFAIK, I need to either (a) translate these into the 'repos' property in my buildset, or write a custom buildstep that can use the 'repo' tool to clone the needed repositories.<br></div></div><div><br></div><div>Any help would be greatly appreciated.</div><div>Thanks!</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 21, 2017 at 11:39 AM, Alain Achkar <span dir="ltr"><<a href="mailto:alain.achkar@triacta.com" target="_blank">alain.achkar@triacta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Kindly requesting help again, please.<div>I understand that Variscite might not be following the "Yocto way" 100% but surely we can run custom commands using Autobuilder?</div><div><br></div><div>Please see detailed description in my last post.</div><div>Thanks!</div><div><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 9:43 PM, Alain Achkar <span dir="ltr"><<a href="mailto:alain.achkar@triacta.com" target="_blank">alain.achkar@triacta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Chris!<div><br></div><div>I had to put this task on hold and I am re-visiting it now. I followed the instructions here:Â <span style="font-size:12.8px">Â </span><a href="http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder/tree/README-QUICKSTART" style="font-size:12.8px" target="_blank">http://git.yoctoproject<wbr>.org/cgit.cgi/yocto-autobuilde<wbr>r/tree/README-QUICKSTART</a>Â and managed to force one of the builds that comes with Yocto. I got errors but I'm not interested in the Yocto-provided nightly builds anyway. (The errors are related to buildhistory - it seems that some builds set Buildhistory=True but I haven't set up a git repo for build history)</div><div><br></div><div>Now, I am still confused how to build the Variscite image for the i.MX6UL. We are still at Jethro but don't mind upgrading to Krogoth.</div><div><br></div><div>I would appreciate some general guidelines on how to take the instructions in here:</div><div><a href="http://variwiki.com/index.php?title=DART-6UL_Yocto_Jethro_R1_build" target="_blank">http://variwiki.com/index.php?<wbr>title=DART-6UL_Yocto_Jethro_R1<wbr>_build</a><br></div><div>and transform them to the config format that Autobuilder understands.</div><div><br></div><div>Mainly, I understand that I have to:</div><div><br></div><div>1) checkout the source code</div><div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:menlo,monaco,"courier new","nimbus mono l",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ mkdir ~/var-mx6ul-mx7-yocto-jethro
$ cd ~/var-mx6ul-mx7-yocto-jethro
$ repo init -u git://<a href="http://git.freescale.com/imx/fsl-arm-yocto-bsp.git" target="_blank">git.freescale.com/imx/fs<wbr>l-arm-yocto-bsp.git</a> -b imx-4.1.15-1.0.0_ga
$ repo sync</pre></div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:menlo,monaco,"courier new","nimbus mono l",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ cd ~/var-mx6ul-mx7-yocto-jethro/s<wbr>ources
$ git clone <a href="https://github.com/varigit/meta-variscite-mx6ul-mx7.git" target="_blank">https://github.com/varigit/met<wbr>a-variscite-mx6ul-mx7.git</a> -b imx_4.1.15_ga-var01<br></pre></div></div><div><br></div><div>2) copy and patch</div><div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:menlo,monaco,"courier new","nimbus mono l",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ cp meta-variscite-mx6ul-mx7/scrip<wbr>ts/var-setup-release.sh ../
$ patch -p1 < meta-variscite-mx6ul-mx7/patch<wbr>/Fix-FSL-multi-patch-append-<wbr>bugs.patch
</pre></div><div></div></div><div><br></div><div>3) setup a download directory</div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:menlo,monaco,"courier new","nimbus mono l",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ sudo mkdir /opt/yocto_downloads
$ sudo chmod 777 /opt/yocto_downloads/
$ sed -i 's/DL_DIRÂ ?= "${BSPDIR}\/downloads/DL_DIR = "\/opt\/yocto_downloads/g' conf/local.conf</pre></div><div><br></div><div>4) setup the environment</div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:menlo,monaco,"courier new","nimbus mono l",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ cd ~/var-mx6ul-mx7-yocto-jethro
$ MACHINE=imx6ul-var-dart DISTRO=fsl-imx-x11 source var-setup-release.sh -b build_x11</pre></div><div><br></div><div>5) build</div><div><div><pre style="font-size:12.6667px;overflow-x:auto;overflow-y:hidden;font-family:menlo,monaco,"courier new","nimbus mono l",monospace,sans-serif;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em;padding:15px 20px;border-radius:6px">$ bitbake fsl-image-gui</pre></div></div><div><br></div><div>I looked at some nightly-*.conf files, for example nightly-x86-64.conf to try to guess what to do.</div><div><br></div><div>I know I have to create a file like nightly-var-mx6ul.conf but given that Variscite is not using the 'repo' command that Freescale is using (they do a git clone) and given step (2) of copying their own setup script and patching the whole freescale meta- layers, I am not sure about what to put instead of the line:</div><div><br></div><div><font face="monospace, monospace">    {'CheckOutLayers': {}},</font></div><div> </div><div><br></div><div>I also can't figure out how the info in Variscite's build-x11/local.conf can be translated to the Autobuilder format, i.e. where to specify all these config parameters.</div><div><br></div><div>Any help would be greatly appreciated.</div><div><div class="gmail-m_-7034859112820983602h5"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 14, 2016 at 12:35 PM, Alain Achkar <span dir="ltr"><<a href="mailto:alain.achkar@triacta.com" target="_blank">alain.achkar@triacta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Chris!<div><br></div><div>This is the answer I was looking for.</div></div><div class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-HOEnZb"><div class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 14, 2016 at 11:58 AM, Chris Whittenburg <span dir="ltr"><<a href="mailto:whittenburg@gmail.com" target="_blank">whittenburg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div>Hi Alain,</div><div><br></div><div>We use the same module-- Variscite DART MX6, and I was able to hack the yocto autobuilder to build our image nightly. I host it all on a single machine.</div><span class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-m_-8681460998205357319HOEnZb"><font color="#888888"><div><br></div><div>-chris</div><div><br></div></font></span></div><div class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-m_-8681460998205357319HOEnZb"><div class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-m_-8681460998205357319h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 14, 2016 at 10:13 AM, Alain Achkar <span dir="ltr"><<a href="mailto:alain.achkar@triacta.com" target="_blank">alain.achkar@triacta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks for your answers! From reading these links, it is still not clear to me if this might be overkill for my requirements. AB Cluster Setup talks about "<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px"><i>the worker requires 2+ TB to hold all the build temp files and git repos. If build artifacts and a local sstate mirror are included, additional worker space is required.</i>"</span><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px">Currently, my build only takes 35GB, so I think what these links are talking about is how to replicate what the Autobuilder project </span><font color="#000000" face="sans-serif"><span style="font-size:12.7px"><a href="https://autobuilder.yoctoproject.org/" target="_blank">https://autobuilder.yo<wbr>ctoproject.org/</a> already does.</span></font></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px">To clarify, I am not interested in running builds and tests for everything that Yocto already builds and tests (i.e. all the processor architectures, all the machine types, etc.). I am interested in running one build for one machine type (the Variscite DART-6UL i.MX6UL arm-based processor, for which NXP/Freescale and Variscite have provided recipes and layers for).</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px">I know that autobuilder includes BuildBot (this is why I specified it in parentheses) but my question remains: do I only install BuildBot and try to build my machine type with it, or do I install Autobuilder?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 14, 2016 at 10:10 AM, Bill Randle <span dir="ltr"><<a href="mailto:bill.randle@gmail.com" target="_blank">bill.randle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also, be sure to check the Yocto Project wiki pages:<br>
  <a href="https://wiki.yoctoproject.org/wiki/The_Yocto_Autobuilder" rel="noreferrer" target="_blank">https://wiki.yoctoproject.org/<wbr>wiki/The_Yocto_Autobuilder</a><br>
in particular, the AB cluster setup and AB maintenance links. Even<br>
though the one link refers to setting up an entire cluster, I've used<br>
that procedure to setup a single autobuilder, as well.<br>
<br>
  -Bill<br>
<div class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-m_-8681460998205357319m_-4908994207652072141m_-546377573499831380HOEnZb"><div class="gmail-m_-7034859112820983602m_-6583819349976456875gmail-m_-8681460998205357319m_-4908994207652072141m_-546377573499831380h5"><br>
On Fri, Nov 11, 2016 at 10:37 AM, Beth 'pidge' Flanagan<br>
<<a href="mailto:pidge@toganlabs.com" target="_blank">pidge@toganlabs.com</a>> wrote:<span><br>
> On Fri, 2016-11-11 at 12:35 -0500, Alain Achkar wrote:<br>
>> Hello Joshua!<br>
>><br>
>> We are using Yocto to build for the Variscite DART-6UL SoM which is<br>
>> based on Freescale/NXP i.MX6UL (<a href="http://variwiki.com/index.php?title=D" rel="noreferrer" target="_blank">http://variwiki.com/index.php<wbr>?title=D</a><br>
>> ART-6UL_Yocto_Jethro_R1_build)<wbr>.<br>
>><br>
>> Currently, developers run builds manually on their desktops. We are<br>
>> considering using a continuous integration server. I found out that<br>
>> The Yocto Project uses Autobuilder which in turn uses BuildBot. I<br>
>> read most of the introductory documentation.<br>
>><br>
>> Would you recommend that we install only BuildBot and configure it to<br>
>> build what we need?<br>
>><br>
>> OR<br>
>><br>
>> Would you recommend that we install Autobuilder (and BuildBot) and<br>
>> configure it to build what we need?<br>
><br></span>
> Actually, the yocto-autobuilder already contains buildbot so no need<br>
> for both.<br>
><br>
> If you read:<br>
><br>
> <a href="http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder/tree/README-QUIC" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cg<wbr>it.cgi/yocto-autobuilder/tree/<wbr>README-QUIC</a><br>
> KSTART<br>
><br>
> and probably some of the other READMEs and the documentation in the<br>
> docs directory of the yocto-autobuilder directory, it should get you<br>
> started in the right direction.<br>
><br>
> Feel free to ask questions if you need help.<br>
><br>
> -b<br>
><br>
> Elizabeth 'pidge' Flanagan<br>
> Founder/CTO Togán Labs<br>
> <a href="http://www.toganlabs.com" rel="noreferrer" target="_blank">www.toganlabs.com</a><span><br>
><br>
>><br>
>> What is the faster path to get up and running?<br>
>><br>
>> Thanks!<br>
>> Alain.<br>
>><br></span></div></div></blockquote></div><span><div><br></div></span></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div><br>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div>