<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Set GPIO direction and value on system boot without scripts]]></title><description><![CDATA[<p dir="auto">We need to some gpio on omega 2s  will be on some direction and value on system boot.<br />
May be needed to write overlay..<br />
Anybody can help me to write it correctly?</p>
]]></description><link>http://community.onion.io/topic/4216/set-gpio-direction-and-value-on-system-boot-without-scripts</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 15:26:06 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4216.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jul 2020 05:27:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set GPIO direction and value on system boot without scripts on Wed, 15 Jul 2020 05:44:44 GMT]]></title><description><![CDATA[<p dir="auto">We need to some gpio on omega 2s  will be on some direction and value on system boot.<br />
May be needed to write overlay..<br />
Anybody can help me to write it correctly?</p>
]]></description><link>http://community.onion.io/post/22134</link><guid isPermaLink="true">http://community.onion.io/post/22134</guid><dc:creator><![CDATA[Moonshiner]]></dc:creator><pubDate>Wed, 15 Jul 2020 05:44:44 GMT</pubDate></item><item><title><![CDATA[Reply to Set GPIO direction and value on system boot without scripts on Wed, 15 Jul 2020 19:17:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/7279">@Moonshiner</a> These documentation articles should be useful:<br />
<a href="http://docs.onion.io/omega2-docs/using-gpios.html#from-the-command-line" rel="nofollow">http://docs.onion.io/omega2-docs/using-gpios.html#from-the-command-line</a><br />
<a href="http://docs.onion.io/omega2-docs/running-a-command-on-boot.html" rel="nofollow">http://docs.onion.io/omega2-docs/running-a-command-on-boot.html</a></p>
<p dir="auto">If you need the gpio to be a certain value as soon as the system gets power, then you'll need to modify the bootloader.<br />
The bootloader is open source and available here: <a href="https://github.com/OnionIoT/omega2-bootloader" rel="nofollow">https://github.com/OnionIoT/omega2-bootloader</a></p>
]]></description><link>http://community.onion.io/post/22140</link><guid isPermaLink="true">http://community.onion.io/post/22140</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 15 Jul 2020 19:17:29 GMT</pubDate></item><item><title><![CDATA[Reply to Set GPIO direction and value on system boot without scripts on Thu, 16 Jul 2020 09:53:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a> TNX!<br />
But what about GPIO43, we need to disable NET LED on it because we use it on UART<br />
I have try search it(GPIO43) on device tree and source with no luck.<br />
Every boot make?</p>
<pre><code>devmem 0x10000064 32 0x05550555
</code></pre>
<p dir="auto">not elegant(</p>
]]></description><link>http://community.onion.io/post/22143</link><guid isPermaLink="true">http://community.onion.io/post/22143</guid><dc:creator><![CDATA[Moonshiner]]></dc:creator><pubDate>Thu, 16 Jul 2020 09:53:22 GMT</pubDate></item><item><title><![CDATA[Reply to Set GPIO direction and value on system boot without scripts on Thu, 16 Jul 2020 16:29:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/7279">@Moonshiner</a> Yes, it's not in the DTS</p>
<p dir="auto">If you want to make the change when the device boots, you can use omega2-ctrl to change the pin multiplexing. See the <code>ephy</code> group here <a href="http://docs.onion.io/omega2-docs/using-gpios.html#using-gpios-multiplexing" rel="nofollow">http://docs.onion.io/omega2-docs/using-gpios.html#using-gpios-multiplexing</a></p>
<p dir="auto">However, if you're using a more recent version of the bootloader, <strong>GPIO43 should be set to act as a GPIO by default.</strong> Learn more about checking your bootloader version, the bootloader changelog, and updating it here: <a href="http://docs.onion.io/omega2-docs/Web-Recovery-flash-bootloader.html" rel="nofollow">http://docs.onion.io/omega2-docs/Web-Recovery-flash-bootloader.html</a></p>
]]></description><link>http://community.onion.io/post/22145</link><guid isPermaLink="true">http://community.onion.io/post/22145</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 16 Jul 2020 16:29:26 GMT</pubDate></item></channel></rss>