You've already forked slimbootloader.github.io
mirror of
https://github.com/Dasharo/slimbootloader.github.io.git
synced 2026-03-06 15:26:36 -08:00
200 lines
12 KiB
HTML
200 lines
12 KiB
HTML
<!DOCTYPE html>
|
||
<html class="writer-html5" lang="en" >
|
||
<head>
|
||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<title>SBL Build Steps — Slim Bootloader 1.0 documentation</title>
|
||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
||
<link rel="shortcut icon" href="../_static/sbl_logo_blue_32x32_icon.ico"/>
|
||
<!--[if lt IE 9]>
|
||
<script src="../_static/js/html5shiv.min.js"></script>
|
||
<![endif]-->
|
||
|
||
<script src="../_static/jquery.js"></script>
|
||
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
|
||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
||
<script src="../_static/doctools.js"></script>
|
||
<script src="../_static/sphinx_highlight.js"></script>
|
||
<script src="../_static/js/theme.js"></script>
|
||
<link rel="index" title="Index" href="../genindex.html" />
|
||
<link rel="search" title="Search" href="../search.html" />
|
||
<link rel="next" title="Miscellaneous: Dockers" href="misc-build-setup.html" />
|
||
<link rel="prev" title="Build Environment" href="build-host-setup.html" />
|
||
</head>
|
||
|
||
<body class="wy-body-for-nav">
|
||
<div class="wy-grid-for-nav">
|
||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||
<div class="wy-side-scroll">
|
||
<div class="wy-side-nav-search" >
|
||
|
||
|
||
|
||
<a href="../index.html" class="icon icon-home">
|
||
Slim Bootloader
|
||
<img src="../_static/sbl_logo_white_200x200.png" class="logo" alt="Logo"/>
|
||
</a>
|
||
<div class="version">
|
||
1.0
|
||
</div>
|
||
<div role="search">
|
||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
|
||
<input type="hidden" name="check_keywords" value="yes" />
|
||
<input type="hidden" name="area" value="default" />
|
||
</form>
|
||
</div>
|
||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||
<ul class="current">
|
||
<li class="toctree-l1"><a class="reference internal" href="../introduction/index.html">Introduction</a></li>
|
||
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Getting Started</a><ul class="current">
|
||
<li class="toctree-l2"><a class="reference internal" href="build-host-setup.html">Build Environment</a></li>
|
||
<li class="toctree-l2 current"><a class="current reference internal" href="#">SBL Build Steps</a><ul>
|
||
<li class="toctree-l3"><a class="reference internal" href="#download-spn">Download SBL</a></li>
|
||
<li class="toctree-l3"><a class="reference internal" href="#build-spn">Build SBL</a><ul>
|
||
<li class="toctree-l4"><a class="reference internal" href="#build-outputs">Build Outputs</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l3"><a class="reference internal" href="#clean">Clean</a></li>
|
||
<li class="toctree-l3"><a class="reference internal" href="#stitch-ifwi">Stitch IFWI</a></li>
|
||
<li class="toctree-l3"><a class="reference internal" href="#flash-ifwi">Flash IFWI</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l2"><a class="reference internal" href="misc-build-setup.html">Miscellaneous: Dockers</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="misc-build-setup.html#miscellaneous-proxy-settings">Miscellaneous: Proxy Settings</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../supported-hardware/index.html">Supported Hardware</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../developer-guides/index.html">Developer’s Guide</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../security/index.html">Security Features</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../how-tos/index.html">How-Tos</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../tools/index.html">Tools</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../tutorials/index.html">Tutorials</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../specs/index.html">Specifications</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../references/references.html">References and Links</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../references/terminology.html">Terminology and Acronyms</a></li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
|
||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
|
||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
<a href="../index.html">Slim Bootloader</a>
|
||
</nav>
|
||
|
||
<div class="wy-nav-content">
|
||
<div class="rst-content">
|
||
<div role="navigation" aria-label="Page navigation">
|
||
<ul class="wy-breadcrumbs">
|
||
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
|
||
<li class="breadcrumb-item"><a href="index.html">Getting Started</a></li>
|
||
<li class="breadcrumb-item active">SBL Build Steps</li>
|
||
<li class="wy-breadcrumbs-aside">
|
||
</li>
|
||
</ul>
|
||
<hr/>
|
||
</div>
|
||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||
<div itemprop="articleBody">
|
||
|
||
<section id="spn-build-steps">
|
||
<span id="build-steps"></span><h1>SBL Build Steps<a class="headerlink" href="#spn-build-steps" title="Permalink to this heading"></a></h1>
|
||
<p>See <a class="reference internal" href="build-host-setup.html#host-setup"><span class="std std-ref">Build Environment</span></a> on how to setup build environment for building SBL.</p>
|
||
<div class="admonition important">
|
||
<p class="admonition-title">Important</p>
|
||
<p>Behind firewall? See <a class="reference internal" href="misc-build-setup.html#misc-setup-proxy"><span class="std std-ref">Miscellaneous: Proxy Settings</span></a> first!</p>
|
||
</div>
|
||
<section id="download-spn">
|
||
<h2>Download SBL<a class="headerlink" href="#download-spn" title="Permalink to this heading"></a></h2>
|
||
<p>Source code is available on GitHub:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">slimbootloader</span><span class="o">/</span><span class="n">slimbootloader</span><span class="o">.</span><span class="n">git</span> <span class="n">slimbootloader</span>
|
||
<span class="n">cd</span> <span class="n">slimbootloader</span>
|
||
<span class="n">git</span> <span class="n">submodule</span> <span class="n">update</span> <span class="o">--</span><span class="n">init</span> <span class="o">--</span><span class="n">recursive</span>
|
||
</pre></div>
|
||
</div>
|
||
</section>
|
||
<section id="build-spn">
|
||
<h2>Build SBL<a class="headerlink" href="#build-spn" title="Permalink to this heading"></a></h2>
|
||
<p>SBL is built using the BuildLoader.py script:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> <span class="n">python</span> <span class="n">BuildLoader</span><span class="o">.</span><span class="n">py</span> <span class="o"><</span><span class="n">subcommand</span><span class="o">></span> <span class="o"><</span><span class="n">target</span><span class="o">></span> <span class="o"><</span><span class="n">options</span><span class="o">></span>
|
||
|
||
<span class="o"><</span><span class="n">subcommand</span><span class="o">></span> <span class="p">:</span> <span class="n">build</span> <span class="ow">or</span> <span class="n">clean</span>
|
||
<span class="o"><</span><span class="n">target</span><span class="o">></span> <span class="p">:</span> <span class="n">board</span> <span class="n">name</span> <span class="p">(</span><span class="n">e</span><span class="o">.</span><span class="n">g</span><span class="o">.</span> <span class="n">apl</span> <span class="ow">or</span> <span class="n">qemu</span><span class="p">)</span>
|
||
|
||
|
||
<span class="n">Example</span><span class="p">:</span> <span class="n">python</span> <span class="n">BuildLoader</span><span class="o">.</span><span class="n">py</span> <span class="n">build</span> <span class="n">qemu</span>
|
||
</pre></div>
|
||
</div>
|
||
<p>For more details on the build options & tool, see <a class="reference internal" href="../tools/BuildTool.html#build-tool"><span class="std std-ref">Build Tool</span></a>.</p>
|
||
<section id="build-outputs">
|
||
<h3>Build Outputs<a class="headerlink" href="#build-outputs" title="Permalink to this heading"></a></h3>
|
||
<p>If the build is successful, <code class="docutils literal notranslate"><span class="pre">Outputs</span></code> folder will contain the build binaries. One of the output files will be <code class="docutils literal notranslate"><span class="pre">Stitch_Components.zip</span></code> which will be
|
||
used in the stitching step.</p>
|
||
</section>
|
||
</section>
|
||
<section id="clean">
|
||
<h2>Clean<a class="headerlink" href="#clean" title="Permalink to this heading"></a></h2>
|
||
<p>Clean command removes all the existing build artifacts.</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="n">BuildLoader</span><span class="o">.</span><span class="n">py</span> <span class="n">clean</span>
|
||
</pre></div>
|
||
</div>
|
||
</section>
|
||
<section id="stitch-ifwi">
|
||
<h2>Stitch IFWI<a class="headerlink" href="#stitch-ifwi" title="Permalink to this heading"></a></h2>
|
||
<p>Stitching an IFWI with SBL requires certain other ingredients. Please refer to <a class="reference internal" href="../supported-hardware/index.html#supported-hardware"><span class="std std-ref">Supported Hardware</span></a> for platform specific stitching details.</p>
|
||
</section>
|
||
<section id="flash-ifwi">
|
||
<h2>Flash IFWI<a class="headerlink" href="#flash-ifwi" title="Permalink to this heading"></a></h2>
|
||
<p>The final step is to flash the stitched IFWI image on the target board.</p>
|
||
<div class="admonition note">
|
||
<p class="admonition-title">Note</p>
|
||
<p>Typically a flash programmer like <a class="reference external" href="https://www.dediprog.com//">DediProg</a> would be required for this step.</p>
|
||
</div>
|
||
<div class="admonition note">
|
||
<p class="admonition-title">Note</p>
|
||
<p>Linux users please refer to <a class="reference external" href="https://www.dediprog.com/download/save/727.pdf">DediProg Linux User Manual</a>.</p>
|
||
</div>
|
||
<p>Please also refer to <a class="reference internal" href="../supported-hardware/index.html#supported-hardware"><span class="std std-ref">Supported Hardware</span></a> for platform specific details.</p>
|
||
</section>
|
||
</section>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||
<a href="build-host-setup.html" class="btn btn-neutral float-left" title="Build Environment" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||
<a href="misc-build-setup.html" class="btn btn-neutral float-right" title="Miscellaneous: Dockers" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||
</div>
|
||
|
||
<hr/>
|
||
|
||
<div role="contentinfo">
|
||
<p>© Copyright 2018 - 2025, Intel Corporation.
|
||
<span class="lastupdated">Last updated on Jun 27, 2025.
|
||
</span></p>
|
||
</div>
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
|
||
provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
||
|
||
|
||
</footer>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</div>
|
||
<script>
|
||
jQuery(function () {
|
||
SphinxRtdTheme.Navigation.enable(true);
|
||
});
|
||
</script>
|
||
|
||
</body>
|
||
</html> |