<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Yocto on SamsiFPV</title>
    <link>https://samsifpv.ch/tags/yocto/</link>
    <description>Recent content in Yocto on SamsiFPV</description>
    <image>
      <title>SamsiFPV</title>
      <url>https://samsifpv.ch/images/papermod-cover.png</url>
      <link>https://samsifpv.ch/images/papermod-cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <copyright>Marlon Tanner</copyright>
    <lastBuildDate>Thu, 19 Dec 2024 21:13:45 +0200</lastBuildDate>
    <atom:link href="https://samsifpv.ch/tags/yocto/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a Linux Distro with Yocto for the Variscite MX7</title>
      <link>https://samsifpv.ch/wiki/building-yocto/</link>
      <pubDate>Thu, 19 Dec 2024 21:13:45 +0200</pubDate>
      <guid>https://samsifpv.ch/wiki/building-yocto/</guid>
      <description>&lt;p&gt;This guide is based heavily on the &lt;a href=&#34;http://variwiki.com/index.php?title=Yocto_Build_Release&amp;amp;release=RELEASE_THUD_V1.0_VAR-SOM-MX7&#34;&gt;official guide&lt;/a&gt; from &lt;a href=&#34;https://www.variscite.com&#34;&gt;Variscite&lt;/a&gt;, with some additional info i found useful while learning this.&lt;/p&gt;
&lt;h2 id=&#34;1-dependencies&#34;&gt;1 Dependencies&lt;/h2&gt;
&lt;h3 id=&#34;11-ubuntu-1604-lts--1804-lts&#34;&gt;1.1 Ubuntu 16.04 LTS &amp;amp; 18.04 LTS&lt;/h3&gt;
&lt;p&gt;This tutorial was made with a machine running Ubuntu 18.04 LTS 64-bit, which worked almost flawless, though Variscite&amp;rsquo;s original tutorial is based on Ubuntu 16.04 64-bit.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm

sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev python-git \
sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 \
help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \
mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \
libncurses5 libncurses5-dev libncursesw5-dev libelf-dev zlib1g-dev
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;12-ubuntu-2004-lts&#34;&gt;1.2 Ubuntu 20.04 LTS&lt;/h3&gt;
&lt;p&gt;Compiling Yocto thud does not work on Ubuntu 20.04 LTS 64-bit. The GNU C library, or short glibc, is version 2.30 in Ubuntu 20.04, which is incompatible to glibc 2.29, which the bitbake command expects. &lt;a href=&#34;https://patchwork.openembedded.org/patch/165581/&#34;&gt;This patch&lt;/a&gt; from OCtober 2019 in the OpenEmbedded Core Layer fixes this, but it hasn&amp;rsquo;t been implemented into the Variscite BSP for Yocto thud. The last update for the thud-fslc-4.14.78-mx7-v1.0 tag was in May 2019, so it probably won&amp;rsquo;t be updated anymore. Downgrading the glibc is not recommended, so you should compile it in a virtual machine or with docker.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to add a Speaker via i2s and enable it in Yocto</title>
      <link>https://samsifpv.ch/wiki/how-to-add-a-driver-to-yocto/</link>
      <pubDate>Thu, 19 Dec 2024 21:13:45 +0200</pubDate>
      <guid>https://samsifpv.ch/wiki/how-to-add-a-driver-to-yocto/</guid>
      <description>&lt;p&gt;Base for this project is the Variscite VAR-SOM-MX7 together with its development board.&lt;/p&gt;
&lt;p&gt;Goal of this project is to get a speaker running over i2s on an embedded Linux system, and get a deeper understanding of the linux environment in general.&lt;/p&gt;
&lt;h2 id=&#34;first-steps&#34;&gt;First steps&lt;/h2&gt;
&lt;p&gt;This guide assumes you already successfully compiled Yocto and have basic knowledge of navigating through an linux environment.&lt;/p&gt;
&lt;p&gt;There are 2 things needed for this whole thing to work. First, Linux needs the driver for the Speaker/Microphone installed and loaded, so it can communicate with it. Second it needs to know where the Hardware is mapped to.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
