This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/software/installation.html
Konstantin Lampalzer cb6d561c53 Update documentation
2022-10-13 00:56:19 +02:00

271 lines
No EOL
9.7 KiB
HTML

<!DOCTYPE html>
<html class="writer-html5" lang="de" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Installationsanweisungen &mdash; CompLib 0.2.3 Dokumentation</title>
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/translations.js"></script>
<script type="text/javascript" src="../_static/js/theme.js"></script>
<link rel="index" title="Stichwortverzeichnis" href="../genindex.html" />
<link rel="search" title="Suche" href="../search.html" />
<link rel="next" title="FAQ" href="../faq.html" />
<link rel="prev" title="Mein drittes Programm" href="../gettingStarted/thridProgram.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">
<img src="../_static/compair-logo-white.svg" class="logo" alt="Logo"/>
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Dokumentation durchsuchen" />
<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="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../gettingStarted/index.html">Erste Schritte</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Installationsanweisungen</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#betriebssystem-aufsetzen">Betriebssystem aufsetzen</a></li>
<li class="toctree-l2"><a class="reference internal" href="#bearbeiten-der-boot-partition">Bearbeiten der boot-Partition</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../faq.html">FAQ</a></li>
<li class="toctree-l1"><a class="reference internal" href="../other/usage.html">Beispiele</a></li>
<li class="toctree-l1"><a class="reference internal" href="../lib/index.html">compLib</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">CompLib</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li>Installationsanweisungen</li>
<li class="wy-breadcrumbs-aside">
<a href="../_sources/software/installation.rst.txt" rel="nofollow"> Quelltext anzeigen</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="installationsanweisungen">
<span id="software-installation"></span><h1>Installationsanweisungen<a class="headerlink" href="#installationsanweisungen" title="Link zu dieser Überschrift"></a></h1>
<p>Diese Anleitung dient dazu die Software auf dem Roboter neu aufzusetzen.</p>
<p><strong>Im normalen Gebraucht sollte dies jedoch nicht notwendig sein.</strong></p>
<div class="section" id="betriebssystem-aufsetzen">
<h2>Betriebssystem aufsetzen<a class="headerlink" href="#betriebssystem-aufsetzen" title="Link zu dieser Überschrift"></a></h2>
<p>Als Basis wird für den Roboter Raspberry Pi OS (64-bit) verwendet. Das 32-Bit Betriebssystem wird nicht unterstützt, da die Software-Komponenten nur für aarch64 bzw. arm64/v8 kompiliert werden.
Genauere Informationen sind <a class="reference external" href="https://www.raspberrypi.com/software/operating-systems/">hier</a> zu finden.</p>
</div>
<div class="section" id="bearbeiten-der-boot-partition">
<h2>Bearbeiten der boot-Partition<a class="headerlink" href="#bearbeiten-der-boot-partition" title="Link zu dieser Überschrift"></a></h2>
<ol class="arabic simple">
<li><p><code class="docutils literal notranslate"><span class="pre">cmdline.txt</span></code></p></li>
</ol>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">console</span><span class="o">=</span><span class="n">tty1</span> <span class="n">root</span><span class="o">=</span><span class="n">PARTUUID</span><span class="o">=</span><span class="mf">21e60</span><span class="n">f8c</span><span class="o">-</span><span class="mi">02</span> <span class="n">rootfstype</span><span class="o">=</span><span class="n">ext4</span> <span class="n">fsck</span><span class="o">.</span><span class="n">repair</span><span class="o">=</span><span class="n">yes</span> <span class="n">rootwait</span> <span class="n">quiet</span> <span class="n">init</span><span class="o">=/</span><span class="n">usr</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">raspi</span><span class="o">-</span><span class="n">config</span><span class="o">/</span><span class="n">init_resize</span><span class="o">.</span><span class="n">sh</span>
</pre></div>
</div>
<p>Stellen Sie sicher, dass die folgenden Einstellungen in der <code class="docutils literal notranslate"><span class="pre">config.txt</span></code> korrekt gesetzt sind</p>
<ol class="arabic simple" start="2">
<li><p><code class="docutils literal notranslate"><span class="pre">config.txt</span></code></p></li>
</ol>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="c1"># SPI</span>
<span class="n">dtparam</span><span class="o">=</span><span class="n">spi</span><span class="o">=</span><span class="n">on</span>
<span class="n">dtoverlay</span><span class="o">=</span><span class="n">spi1</span><span class="o">-</span><span class="mi">3</span><span class="n">cs</span>
<span class="c1"># Run in 64-bit mode</span>
<span class="n">arm_64bit</span><span class="o">=</span><span class="mi">1</span>
<span class="p">[</span><span class="nb">all</span><span class="p">]</span>
<span class="p">[</span><span class="n">pi4</span><span class="p">]</span>
<span class="c1"># Run as fast as firmware / board allows</span>
<span class="n">arm_boost</span><span class="o">=</span><span class="mi">1</span>
<span class="p">[</span><span class="nb">all</span><span class="p">]</span>
<span class="n">start_x</span><span class="o">=</span><span class="mi">1</span>
<span class="n">gpu_mem</span><span class="o">=</span><span class="mi">128</span>
<span class="n">dtoverlay</span><span class="o">=</span><span class="n">pi3</span><span class="o">-</span><span class="n">disable</span><span class="o">-</span><span class="n">bt</span>
<span class="n">enable_uart</span><span class="o">=</span><span class="mi">1</span>
</pre></div>
</div>
<ol class="arabic simple" start="3">
<li><p>Erstellen der leeren Datei <code class="docutils literal notranslate"><span class="pre">ssh</span></code>, damit ssh beim nächsten Start aktiviert wird</p></li>
<li><p>Hinzufügen der <code class="docutils literal notranslate"><span class="pre">userconf.txt</span></code></p></li>
</ol>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>compair:$6$eh2pkHm18RgYtwiG$PoeabVCH8llbyIio66OefPGXZ2r2BRI2hPHIdkNTBjmiR0lGXsozGyLx0uViOx3bi998syXjSDXkwt0t3x8Bq.
</pre></div>
</div>
<ol class="arabic simple" start="5">
<li><p>Wlan Verbindung einrichten</p></li>
</ol>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="../faq.html" class="btn btn-neutral float-right" title="FAQ" accesskey="n" rel="next">Weiter <span class="fa fa-arrow-circle-right"></span></a>
<a href="../gettingStarted/thridProgram.html" class="btn btn-neutral float-left" title="Mein drittes Programm" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Zurück</a>
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2022, Verein zur Förderung von Wissenschaft und Technik an Schulen (F-WuTS)
</p>
</div>
Erstellt mit <a href="http://sphinx-doc.org/">Sphinx</a> mit einem
<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
bereitgestellt von <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>