Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > f93881942bd3805980c2fe63aa853d78 > files > 149

qtdoc5-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- integrity-build-monolith-app-tutorial.qdoc -->
  <title>Building U-Boot Image | Qt 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.9</a></td><td >Building U-Boot Image</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
  <link rel="prev" href="integrity-building-monolith.html" />
  <link rel="next" href="integrity-creating-bootable-sd-card.html" />
<p class="naviNextPrevious headerNavi">
<a class="prevPage" href="integrity-building-monolith.html">Building Monolith Project</a>
<span class="naviSeparator">  &#9702;  </span>
<a class="nextPage" href="integrity-creating-bootable-sd-card.html">Creating Bootable SD Card</a>
</p><p/>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Building U-Boot Image</h1>
<span class="subtitle"></span>
<!-- $$$integrity-building-u-boot-image.html-description -->
<div class="descr"> <a name="details"></a>
<p>To build a U-Boot image, open a terminal and navigate to the project directory created in <a href="integrity-building-monolith.html">Building Monolith Project</a>. In our example the project directory is <i>mymonolith</i>.</p>
<p>Under the project directory, you will find an executable with the same name you gave to your monolith in <a href="integrity-building-monolith.html#project-manager-settings">Project Manager Settings</a>. In our example the executable name is <i>myproject</i>.</p>
<p>Run the <code>elfloader</code> command for the executable. You will find the <code>elfloader</code> command under your compiler directory:</p>
<pre class="cpp plain">

  john@doe: /usr/ghs/comp_201654/elfloader -l /usr/ghs/int1144/util/elfloader/cortexa9_elfloader.bin -o myproject.elf myproject

</pre>
<p>The example <code>elfloader</code> command above assumes your Green Hills Software (GHS) compiler is version 2016.5&#x2e;4, and your INTEGRITY and GHS compiler installations are found from their default locations. However, you can modify the paths in the example according to your configuration.</p>
<p>Finally, build the U-Boot image with the <code>mkimage</code> tool. The last argument in the <code>mkimage</code> command specifies the U-Boot image name. In the example below, we use the name <i>demo.image</i>. To invoke <code>mkimage</code>, run the following command in a terminal:</p>
<pre class="cpp plain">

  john@doe: mkimage -A arm -O linux -T kernel -C none -a 20000000 -e 20000000 -n INTEGRITY+Qt -d myproject.elf demo.image

</pre>
</div>
<!-- @@@integrity-building-u-boot-image.html -->
<p class="naviNextPrevious footerNavi">
<a class="prevPage" href="integrity-building-monolith.html">Building Monolith Project</a>
<span class="naviSeparator">  &#9702;  </span>
<a class="nextPage" href="integrity-creating-bootable-sd-card.html">Creating Bootable SD Card</a>
</p>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>