<?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>Pcie on Ulis Notes</title>
    <link>https://wolf-u.li/en/tag/pcie/</link>
    <description>Recent content in Pcie on Ulis Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright 2006-CURRENTYEAR Uli Wolf - All rights reserved</copyright>
    <lastBuildDate>Sun, 17 Sep 2023 22:18:36 +1700</lastBuildDate>
    <atom:link href="https://wolf-u.li/en/tag/pcie/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Raspberry PI CM4 Disable PCIe after brcm-pcie link down message</title>
      
      
      <link>https://wolf-u.li/raspberry-pi-cm4-disable-pcie/</link>
      <pubDate>Sun, 17 Sep 2023 22:18:36 +1700</pubDate>
      <guid>https://wolf-u.li/raspberry-pi-cm4-disable-pcie/</guid>
      <description>&lt;p&gt;On my BIGTREETECH E3EZ i switched from the CB1 to the Raspberry PI CM4. Unfortunately on every boot the following message appeared:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-plaintext&#34; data-lang=&#34;plaintext&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;brcm-pcie fd500000.pcie: link down
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The issue is the missing PCIe Port, hence you have to disable the feature to get rid of this message.
&lt;ins class=&#34;adsbygoogle&#34; style=&#34;display:block; text-align:center;&#34; data-ad-layout=&#34;in-article&#34; data-ad-format=&#34;fluid&#34; data-ad-client=&#34;ca-pub-2322978122735420&#34; data-ad-slot=&#34;3161252284&#34;&gt;&lt;/ins&gt;
Create the file &lt;code&gt;disable-pcie-overlay.dts&lt;/code&gt; with the following command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;wget https://gist.githubusercontent.com/SirUli/de94ddb751b91adfa6809f286a18a382/raw/af010907360153f74edc8f65d415d717378bf037/gistfile1.txt -O /tmp/disable-pcie-overlay.dts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You must then convert the file using the following command:&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>On my BIGTREETECH E3EZ i switched from the CB1 to the Raspberry PI CM4. Unfortunately on every boot the following message appeared:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">brcm-pcie fd500000.pcie: link down
</span></span></code></pre></td></tr></table>
</div>
</div><p>The issue is the missing PCIe Port, hence you have to disable the feature to get rid of this message.
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-2322978122735420" data-ad-slot="3161252284"></ins>
Create the file <code>disable-pcie-overlay.dts</code> with the following command:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">wget https://gist.githubusercontent.com/SirUli/de94ddb751b91adfa6809f286a18a382/raw/af010907360153f74edc8f65d415d717378bf037/gistfile1.txt -O /tmp/disable-pcie-overlay.dts
</span></span></code></pre></td></tr></table>
</div>
</div><p>You must then convert the file using the following command:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo dtc -@ -I dts -O dtb -o /boot/overlays/disable-pcie-overlay.dtbo /tmp/disable-pcie-overlay.dts
</span></span></code></pre></td></tr></table>
</div>
</div><p>Then delete the file with the following command:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">rm /tmp/disable-pcie-overlay.dts
</span></span></code></pre></td></tr></table>
</div>
</div><p>Finally open the boot config file using the following command:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo nano /boot/config.txt
</span></span></code></pre></td></tr></table>
</div>
</div><p>And add the following line at the top:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">dtoverlay=disable-pcie-overlay
</span></span></code></pre></td></tr></table>
</div>
</div><p>Then save using <code>CTRL</code>+<code>X</code> which will ask you to save. Enter <code>Y</code> and <code>ENTER</code> to save. On the next reboot that message from above will be gone.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
