<?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[How to Write uboot Environment Variables on system runtime?]]></title><description><![CDATA[<p dir="auto">Hi,teams</p>
<p dir="auto">My purpose is to write the device identity authentication information into my customized Omega2+ device. I hope this part can be firmly stored in the device (retained even after system restore).</p>
<p dir="auto">I confirm writing uboot variable is available on uboot environment, refer by <a href="https://community.onion.io/topic/2272/what-does-this-message-mean_=1767832343343" rel="nofollow">https://community.onion.io/topic/2272/what-does-this-message-mean_=1767832343343</a>.</p>
<p dir="auto">But modify uboot variable only on boot environment is not good idea for me, fw_setenv is available on system environment? Permission Denied for /dev/mtd1 When Executing fw_setenv.</p>
]]></description><link>http://community.onion.io/topic/5130/how-to-write-uboot-environment-variables-on-system-runtime</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 17:12:07 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/5130.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Jan 2026 04:31:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to Write uboot Environment Variables on system runtime? on Thu, 08 Jan 2026 04:31:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,teams</p>
<p dir="auto">My purpose is to write the device identity authentication information into my customized Omega2+ device. I hope this part can be firmly stored in the device (retained even after system restore).</p>
<p dir="auto">I confirm writing uboot variable is available on uboot environment, refer by <a href="https://community.onion.io/topic/2272/what-does-this-message-mean_=1767832343343" rel="nofollow">https://community.onion.io/topic/2272/what-does-this-message-mean_=1767832343343</a>.</p>
<p dir="auto">But modify uboot variable only on boot environment is not good idea for me, fw_setenv is available on system environment? Permission Denied for /dev/mtd1 When Executing fw_setenv.</p>
]]></description><link>http://community.onion.io/post/26426</link><guid isPermaLink="true">http://community.onion.io/post/26426</guid><dc:creator><![CDATA[mulu553]]></dc:creator><pubDate>Thu, 08 Jan 2026 04:31:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to Write uboot Environment Variables on system runtime? on Thu, 08 Jan 2026 07:47:31 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9455">@mulu553</a>,</p>
<p dir="auto">are you building your own firmware for your device? If so, you can just edit the device tree <code>target/linux/ramips/dts/mt7628an_onion_omega2.dtsi</code> around line 120 and remove or comment out the <code>read-only</code>:</p>
<pre><code class="language-json">partition@30000 {
	label = "u-boot-env";
	reg = &lt;0x30000 0x10000&gt;;
	read-only;
};
</code></pre>
<p dir="auto">And then rebuild the firmware.</p>
<p dir="auto">That's what I have in my firmware for many years now for similar purposes.</p>
]]></description><link>http://community.onion.io/post/26427</link><guid isPermaLink="true">http://community.onion.io/post/26427</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Thu, 08 Jan 2026 07:47:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to Write uboot Environment Variables on system runtime? on Thu, 08 Jan 2026 08:04:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1033">@luz</a> Yes, I used the <a href="https://github.com/OnionIoT/openwrt-imagebuilder-wrapper" rel="nofollow">openwrt-imagebuilder-wrapper</a> from onion's GitHub repo to generate my own customized firmware. Thank you very much for your suggestion.<img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--blush" title=":blush:" alt="😊" /></p>
]]></description><link>http://community.onion.io/post/26428</link><guid isPermaLink="true">http://community.onion.io/post/26428</guid><dc:creator><![CDATA[mulu553]]></dc:creator><pubDate>Thu, 08 Jan 2026 08:04:20 GMT</pubDate></item></channel></rss>