<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OpenWrt &#8211; Yuanle&#039;s Blog</title>
	<atom:link href="https://blog2.emacsos.com/tag/openwrt/feed" rel="self" type="application/rss+xml" />
	<link>https://blog2.emacsos.com</link>
	<description></description>
	<lastBuildDate>Sun, 14 Dec 2025 06:37:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog2.emacsos.com/wp-content/uploads/2025/05/favicon-150x150.png</url>
	<title>OpenWrt &#8211; Yuanle&#039;s Blog</title>
	<link>https://blog2.emacsos.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to write to a protected FIP partition in openwrt?</title>
		<link>https://blog2.emacsos.com/how-to-write-to-a-protected-fip-partition-in-openwrt.html</link>
		
		<dc:creator><![CDATA[sylecn]]></dc:creator>
		<pubDate>Sat, 21 Jun 2025 09:58:03 +0000</pubDate>
				<category><![CDATA[OpenWrt]]></category>
		<guid isPermaLink="false">https://blog2.emacsos.com/?p=102</guid>

					<description><![CDATA[When you try to write u-boot image to a partition, sometimes you get this error msg: You may use this [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>When you try to write u-boot image to a partition, sometimes you get this error msg:</p>



<pre class="wp-block-code"><code>Could not open mtd device: fip
Can't open device for writing!</code></pre>



<p>You may use this trick to allow write to the FIP and other MTD partitions.</p>



<pre class="wp-block-code"><code>opkg update
opkg install kmod-mtd-rw

insmod /lib/modules/$(uname -r)/mtd-rw.ko i_want_a_brick=1
# the i_want_a_brick=1 part is required! Otherwise, the command will fail.</code></pre>



<p>Now you can run the mtd write command again.</p>



<p>If write still fail, make sure the partition name is correct. The partition name is case sensitive. You can check the partition name using</p>



<pre class="wp-block-code"><code>cat /proc/mtd</code></pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
