Skip to content

Commit

Permalink
fix quick
Browse files Browse the repository at this point in the history
  • Loading branch information
rspelta authored and rspelta committed May 12, 2015
1 parent 161b9fe commit 19326e1
Show file tree
Hide file tree
Showing 26 changed files with 243 additions and 239 deletions.
Binary file modified source/_static/splash1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 24 additions & 24 deletions source/bitbake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Luckily, there is a script that takes care of it, all you need to do is:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-21' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-21" class="language-markup">source /path/to/oe-init-build-env /path/to/build/directory</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-181' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-181" class="language-markup">source /path/to/oe-init-build-env /path/to/build/directory</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -36,8 +36,8 @@ Inside the virtual machine, you can find *oe-init-build-env* script inside:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-22' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-22" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/poky</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-182' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-182" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/poky</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -50,8 +50,8 @@ By default, with the SDK, the script is used like this:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-23' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-23" class="language-markup">source /home/architech/architech_sdk/architech/pengwyn/yocto/poky/oe-init-build-env</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-183' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-183" class="language-markup">source /home/architech/architech_sdk/architech/pengwyn/yocto/poky/oe-init-build-env</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -71,8 +71,8 @@ The default build directory for Pengwyn is located under:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-24' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-24" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/build</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-184' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-184" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/build</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -99,8 +99,8 @@ pengwyn:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-25' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-25" class="language-markup">MACHINE ??= "pengwyn"</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-185' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-185" class="language-markup">MACHINE ??= "pengwyn"</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -111,8 +111,8 @@ default distribution to use with the board is:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-26' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-26" class="language-markup">DISTRO ?= "poky"</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-186' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-186" class="language-markup">DISTRO ?= "poky"</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -127,8 +127,8 @@ machine has/sees four cores, then you should set those variables like this:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-27' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-27" class="language-markup">BB_NUMBER_THREADS ?= "8"
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-187' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-187" class="language-markup">BB_NUMBER_THREADS ?= "8"
PARALLEL_MAKE ?= "-j 8"</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
Expand All @@ -151,8 +151,8 @@ The first suggestion is to run:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-28' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-28" class="language-markup">bitbake -h</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-188' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-188" class="language-markup">bitbake -h</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -163,8 +163,8 @@ During normal activity you will need to simply run a command like:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-29' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-29" class="language-markup">bitbake &lt;recipe name&gt;</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-189' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-189" class="language-markup">bitbake &lt;recipe name&gt;</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -174,8 +174,8 @@ for example:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-210' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-210" class="language-markup">bitbake core-image-minimal-dev</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-1810' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-1810" class="language-markup">bitbake core-image-minimal-dev</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -186,8 +186,8 @@ Such a command will build bootloader, Linux kernel and a root file system.
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-211' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-211" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/poky/meta/recipes-extended/images/core-image-minimal-dev.bb</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-1811' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-1811" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/poky/meta/recipes-extended/images/core-image-minimal-dev.bb</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -200,8 +200,8 @@ like recompiling the Linux kernel, no matter what. That action can be achieved w
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-212' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-212" class="language-markup">bitbake -c compile -f virtual/kernel</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bitbake_rst-host-1812' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bitbake_rst-host-1812" class="language-markup">bitbake -c compile -f virtual/kernel</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand Down
36 changes: 18 additions & 18 deletions source/bootloader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Anyway, we will assume in this guide that u-boot sources will be copied to:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-91' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-91" class="language-markup">/home/architech/Documents/u-boot</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-71' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-71" class="language-markup">/home/architech/Documents/u-boot</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -40,8 +40,8 @@ about is this one:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-92' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-92" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/build/tmp/work/pengwyn-poky-linux-gnueabi/u-boot-ti-staging/2014.07-r7+gitrAUTOINC+7e537bfdd2/git/</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-72' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-72" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/build/tmp/work/pengwyn-poky-linux-gnueabi/u-boot-ti-staging/2014.07-r7+gitrAUTOINC+7e537bfdd2/git/</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -51,8 +51,8 @@ Replace:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-93' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-93" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/build/</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-73' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-73" class="language-markup">/home/architech/architech_sdk/architech/pengwyn/yocto/build/</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -68,8 +68,8 @@ Pengwyn board uses U-Boot version 2014.07, which can be downloaded from:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-94' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-94" class="language-markup">cd /home/architech/Documents
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-74' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-74" class="language-markup">cd /home/architech/Documents
git clone -b ti-u-boot-2014.07 git://git.ti.com/ti-u-boot/ti-u-boot.git
mv ti-u-boot u-boot
cd u-boot
Expand All @@ -86,8 +86,8 @@ Patches are in the Yocto meta-layer **meta-pengwyn**. You can use them right awa
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-95' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-95" class="language-markup">patch -p1 -d /home/architech/Documents/u-boot/ &lt; /home/architech/architech_sdk/architech/pengwyn/yocto/meta-pengwyn/recipes-bsp/u-boot/u-boot-ti-staging-2014.07/0001-pengwyn.patch</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-75' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-75" class="language-markup">patch -p1 -d /home/architech/Documents/u-boot/ &lt; /home/architech/architech_sdk/architech/pengwyn/yocto/meta-pengwyn/recipes-bsp/u-boot/u-boot-ti-staging-2014.07/0001-pengwyn.patch</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -97,8 +97,8 @@ However, if you are not working with the official SDK the most general solution
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-96' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-96" class="language-markup">cd /home/architech/Documents
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-76' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-76" class="language-markup">cd /home/architech/Documents
git clone -b dizzy https://github.com/architech-boards/meta-pengwyn.git
patch -p1 -d /home/architech/Documents/u-boot &lt; /home/architech/Documents/meta-pengwyn/recipes-bsp/u-boot/u-boot-ti-staging-2014.07/0001-pengwyn.patch</code></pre>
<script src="_static/prism.js"></script>
Expand All @@ -110,8 +110,8 @@ Configuration and board files for Pengwyn board are in:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-97' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-97" class="language-markup">/home/architech/Documents/u-boot/board/ti/am335x/*
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-77' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-77" class="language-markup">/home/architech/Documents/u-boot/board/ti/am335x/*
/home/architech/Documents/u-boot/include/configs/pengwyn.h</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
Expand All @@ -123,8 +123,8 @@ need a cross-toolchain. To use it to compile the bootloader or the operating sys
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-98' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-98" class="language-markup">source /home/architech/architech_sdk/architech/pengwyn/toolchain/environment-nofs</code></pre>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-78' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-78" class="language-markup">source /home/architech/architech_sdk/architech/pengwyn/toolchain/environment-nofs</code></pre>
<script src="_static/prism.js"></script>
<script src="_static/select_text.js"></script>
</div>
Expand All @@ -134,8 +134,8 @@ then you can run these commands to compile it:
.. raw:: html

<div>
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-99' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-99" class="language-markup">cd /home/architech/Documents/u-boot/
<div><b class="admonition-host">&nbsp;&nbsp;Host&nbsp;&nbsp;</b>&nbsp;&nbsp;<a style="float: right;" href="javascript:select_text( 'bootloader_rst-host-79' );">select</a></div>
<pre class="line-numbers pre-replacer" data-start="1"><code id="bootloader_rst-host-79" class="language-markup">cd /home/architech/Documents/u-boot/
make pengwyn_config
make -j &lt;2 * number of processor's cores&gt; pengwyn</code></pre>
<script src="_static/prism.js"></script>
Expand Down

0 comments on commit 19326e1

Please sign in to comment.