<?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[U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config?]]></title><description><![CDATA[<p dir="auto">I would like to access the U-Boot environment variables from Linux and therefore I installed the uboot-envtools, which provides the two utilities <em>fw_printenv</em> and <em>fw_setenv</em>.</p>
<p dir="auto">However, to make these work, one needs to figure out the offset/size parameters which locate the U-Boot environment in the flash memory. The OpenWRT Wiki <a href="https://wiki.openwrt.org/doc/techref/bootloader/uboot.config" rel="nofollow">has some information</a> on this, but essentially one needs to know (or guess) the right numbers to put into <em>/etc/fw_env.config</em>. I tried many variants, but with no success so far.</p>
<p dir="auto">Has anybody been successful with the uboot-envtools already? If so, it would be great if he or she could share the <em>/etc/fw_env.config</em> that works with the Omega!</p>
]]></description><link>http://community.onion.io/topic/792/u-boot-environment-offsets-for-omega-what-to-write-into-etc-fw_env-config</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 18:19:27 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/792.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 May 2016 19:59:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Thu, 19 May 2016 19:59:25 GMT]]></title><description><![CDATA[<p dir="auto">I would like to access the U-Boot environment variables from Linux and therefore I installed the uboot-envtools, which provides the two utilities <em>fw_printenv</em> and <em>fw_setenv</em>.</p>
<p dir="auto">However, to make these work, one needs to figure out the offset/size parameters which locate the U-Boot environment in the flash memory. The OpenWRT Wiki <a href="https://wiki.openwrt.org/doc/techref/bootloader/uboot.config" rel="nofollow">has some information</a> on this, but essentially one needs to know (or guess) the right numbers to put into <em>/etc/fw_env.config</em>. I tried many variants, but with no success so far.</p>
<p dir="auto">Has anybody been successful with the uboot-envtools already? If so, it would be great if he or she could share the <em>/etc/fw_env.config</em> that works with the Omega!</p>
]]></description><link>http://community.onion.io/post/5656</link><guid isPermaLink="true">http://community.onion.io/post/5656</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Thu, 19 May 2016 19:59:25 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Wed, 21 Sep 2016 01:01:40 GMT]]></title><description><![CDATA[<p dir="auto">Did you have any luck with this?<br />
I was just thinking about the same.<br />
I don't think it should be too difficult to locate the ENV offset, but it would be nice to know the full flash partitioning layout.<br />
E.g. at which offsets do you find the kernel, etc.</p>
<p dir="auto">It is not too difficult to figure all this out, but I would prefer if the information were available on the wiki page.</p>
]]></description><link>http://community.onion.io/post/6700</link><guid isPermaLink="true">http://community.onion.io/post/6700</guid><dc:creator><![CDATA[Flemming Richter]]></dc:creator><pubDate>Wed, 21 Sep 2016 01:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Wed, 21 Sep 2016 07:31:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1663">@Flemming-Richter</a> no, I did not have any luck with this (and did not get any information). But I haven't really tried yet to figure it out myself, because it wasn't a pressing issue so far.</p>
<p dir="auto">Still, it's something I'll need eventually to finish a project.</p>
<p dir="auto">But as this project will now become Omega2 based, the flash layout will most likely be different, and at this time I just hope the Omega2 layout will be easier to work with (maybe it will have a separate partition for the uboot env, like some other OpenWrt targets do)</p>
<p dir="auto">BTW: the flash partition layout (and kernel offset) is easy to get, just type "cat /proc/mtd"<br />
However, with no separate uboot env partition, only understanding the relevant uboot sources can reveal at which offset <em>within</em> one of the partitions the uboot env resides.</p>
]]></description><link>http://community.onion.io/post/6703</link><guid isPermaLink="true">http://community.onion.io/post/6703</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Wed, 21 Sep 2016 07:31:57 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Thu, 22 Sep 2016 22:22:31 GMT]]></title><description><![CDATA[<p dir="auto">omega2 preliminary, most likely final<br />
root@Omega-2742:/# cat /proc/mtd<br />
&lt;code&gt;<br />
dev:    size   erasesize  name<br />
mtd0: 00030000 00010000 "u-boot"<br />
mtd1: 00010000 00010000 "u-boot-env"<br />
mtd2: 00010000 00010000 "factory"<br />
mtd3: 01fb0000 00010000 "firmware"<br />
mtd4: 0014a5c4 00010000 "kernel"<br />
mtd5: 01e65a3c 00010000 "rootfs"<br />
mtd6: 017c0000 00010000 "rootfs_data"<br />
&lt;/code&gt;</p>
]]></description><link>http://community.onion.io/post/6745</link><guid isPermaLink="true">http://community.onion.io/post/6745</guid><dc:creator><![CDATA[youlian troyanov]]></dc:creator><pubDate>Thu, 22 Sep 2016 22:22:31 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 23 Sep 2016 00:23:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1628">@youlian-troyanov</a>, I see you tried to format your code?!</p>
<p dir="auto">It took me a while till i figured out how to do it with my Brazilian Keyboard ...<br />
I made some Notes where could be helpful for you to <a href="https://community.onion.io/topic/707/markdown-how-to-start-with-it" rel="nofollow">get into markdown</a>?</p>
]]></description><link>http://community.onion.io/post/6750</link><guid isPermaLink="true">http://community.onion.io/post/6750</guid><dc:creator><![CDATA[Luciano S.]]></dc:creator><pubDate>Fri, 23 Sep 2016 00:23:14 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 23 Sep 2016 15:16:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/483">@Luciano-S</a> you say this board works with markdown? didn't know. as i am an old man, i am into the old ways of doing things. these newfangled stuff is way above my head <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>http://community.onion.io/post/6755</link><guid isPermaLink="true">http://community.onion.io/post/6755</guid><dc:creator><![CDATA[youlian troyanov]]></dc:creator><pubDate>Fri, 23 Sep 2016 15:16:12 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 23 Sep 2016 17:06:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1628">@youlian-troyanov</a> cool! separate partition for u-boot-env! Should make things easier. Can't wait to try this on a real Omega2!</p>
]]></description><link>http://community.onion.io/post/6756</link><guid isPermaLink="true">http://community.onion.io/post/6756</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Fri, 23 Sep 2016 17:06:45 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 23 Sep 2016 20:17:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1628">@youlian-troyanov</a> said in <a href="/topic/792/u-boot-environment-offsets-for-omega-what-to-write-into-etc-fw_env-config/6">U-Boot environment offsets for Omega - what to write into /etc/fw_env.config?</a>:</p>
<blockquote>
<p dir="auto">i am into the old ways of doing things. these newfangled stuff is way above my head <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
</blockquote>
<p dir="auto">I just mentioned it because of your &lt;code&gt;&lt;/code&gt; :</p>
<pre><code>root@Omega-2742:/# cat /proc/mtd
&lt;code&gt;
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 01fb0000 00010000 "firmware"
mtd4: 0014a5c4 00010000 "kernel"
mtd5: 01e65a3c 00010000 "rootfs"
mtd6: 017c0000 00010000 "rootfs_data"
&lt;/code&gt;
</code></pre>
<p dir="auto"><code>root@Omega-2742:/# cat /proc/mtd</code> would be a single command ...</p>
<p dir="auto">Just for your information, Im also not the newest model anymore (69) <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";)" alt="😉" /></p>
]]></description><link>http://community.onion.io/post/6759</link><guid isPermaLink="true">http://community.onion.io/post/6759</guid><dc:creator><![CDATA[Luciano S.]]></dc:creator><pubDate>Fri, 23 Sep 2016 20:17:51 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 23 Sep 2016 20:29:53 GMT]]></title><description><![CDATA[<p dir="auto">thanx man, never too late to learn something new <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";)" alt="😉" /></p>
]]></description><link>http://community.onion.io/post/6760</link><guid isPermaLink="true">http://community.onion.io/post/6760</guid><dc:creator><![CDATA[youlian troyanov]]></dc:creator><pubDate>Fri, 23 Sep 2016 20:29:53 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 23 Sep 2016 22:55:55 GMT]]></title><description><![CDATA[<p dir="auto">At least, you guys are using smilies. :tools:   It's an excellent start! <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f600.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--grinning" title=":grinning:" alt="😀" /></p>
]]></description><link>http://community.onion.io/post/6761</link><guid isPermaLink="true">http://community.onion.io/post/6761</guid><dc:creator><![CDATA[fossette]]></dc:creator><pubDate>Fri, 23 Sep 2016 22:55:55 GMT</pubDate></item><item><title><![CDATA[Reply to U-Boot environment offsets for Omega - what to write into &#x2F;etc&#x2F;fw_env.config? on Fri, 15 Jun 2018 04:45:13 GMT]]></title><description><![CDATA[<p dir="auto">Reviving an old thread to post what I found:</p>
<p dir="auto">On my Omega 2+, the uboot environment seems to start at 0x2000 in /dev/mtd1, and runs to 0x5fff, thus my /etc/fw_env.config files looks like:</p>
<pre><code># Configuration file for fw_(printenv/saveenv) utility.
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1               0x2000          0x4000          0x1000
</code></pre>
]]></description><link>http://community.onion.io/post/17036</link><guid isPermaLink="true">http://community.onion.io/post/17036</guid><dc:creator><![CDATA[Scott G]]></dc:creator><pubDate>Fri, 15 Jun 2018 04:45:13 GMT</pubDate></item></channel></rss>