<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;feed=atom&amp;action=history</id>
		<title>Squashfs support for MTD subsystem - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;action=history"/>
		<updated>2013-05-18T11:45:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;diff=38749&amp;oldid=prev</id>
		<title>Vapier: obsoleted by another proposal ?</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;diff=38749&amp;oldid=prev"/>
				<updated>2011-03-22T23:23:38Z</updated>
		
		<summary type="html">&lt;p&gt;obsoleted by another proposal ?&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:23, 22 March 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Comments ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Comments ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Isn't this obsoleted by [[Support read-only block filesystems on MTD flash]]?&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Project proposals 2011]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Project proposals 2011]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vapier</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;diff=33379&amp;oldid=prev</id>
		<title>Plougher at 21:02, 31 January 2011</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;diff=33379&amp;oldid=prev"/>
				<updated>2011-01-31T21:02:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:02, 31 January 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The following two tasks will be undertaken:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The following two tasks will be undertaken:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Write a user-space utility that writes Squashfs filesystems to NAND, skipping bad&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Write a user-space utility that writes Squashfs filesystems to NAND, skipping bad blocks (and record that bad bocks have been skipped in the out of band data).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;blocks (and record that bad bocks have been skipped in the out of band data).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Re-write the low-level squashfs_read_data() routine in the kernel squashfs code to&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Re-write the low-level squashfs_read_data() routine in the kernel squashfs code to read directly from NAND using MTD.&amp;#160; This will use the out of band data to determine which blocks have been skipped by the user-space utility.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;read directly from NAND using MTD.&amp;#160; This will use the out of band data to determine&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;which blocks have been skipped by the user-space utility.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It is anticipated that a major piece of the work will be the&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It is anticipated that a major piece of the work will be the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Plougher</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;diff=33373&amp;oldid=prev</id>
		<title>Wmat: Added body of squashfs support for MTD subsystem</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Squashfs_support_for_MTD_subsystem&amp;diff=33373&amp;oldid=prev"/>
				<updated>2011-01-31T20:54:47Z</updated>
		
		<summary type="html">&lt;p&gt;Added body of squashfs support for MTD subsystem&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Squashfs support for MTD subsystem&lt;br /&gt;
&lt;br /&gt;
; Summary: Squashfs support for MTD subsystem&lt;br /&gt;
&lt;br /&gt;
; Proposer: Phillip Lougher&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This proposal will add MTD subsystem support to Squashfs,&lt;br /&gt;
including bad block handling.&lt;br /&gt;
&lt;br /&gt;
Squashfs is already widely used on MTD devices (NAND flash etc.)&lt;br /&gt;
in embedded systems, however, because Squashfs lacks native MTD support,&lt;br /&gt;
this is currently performed via MTD's block device emulation (or via UBI&lt;br /&gt;
or stored inside another MTD aware filesystem, i.e. YAFFS2/JFFS2).&lt;br /&gt;
These solutions add unnecessary code and run-time overhead, and in the&lt;br /&gt;
case of MTD's block device emulation, this lacks bad block support.&lt;br /&gt;
&lt;br /&gt;
The following two tasks will be undertaken:&lt;br /&gt;
&lt;br /&gt;
* Write a user-space utility that writes Squashfs filesystems to NAND, skipping bad&lt;br /&gt;
blocks (and record that bad bocks have been skipped in the out of band data).&lt;br /&gt;
&lt;br /&gt;
* Re-write the low-level squashfs_read_data() routine in the kernel squashfs code to&lt;br /&gt;
read directly from NAND using MTD.  This will use the out of band data to determine&lt;br /&gt;
which blocks have been skipped by the user-space utility.&lt;br /&gt;
&lt;br /&gt;
It is anticipated that a major piece of the work will be the&lt;br /&gt;
refactoring of the squashfs_read_data() function and I/O backend&lt;br /&gt;
in such a way that MTD support is added cleanly, minimising changes&lt;br /&gt;
to existing critical code and without affecting performance.&lt;br /&gt;
&lt;br /&gt;
== Related work ==&lt;br /&gt;
* http://thread.gmane.org/gmane.linux.kernel/962226&lt;br /&gt;
&lt;br /&gt;
Added MTD handling to Squashfs, without any bad block handling.&lt;br /&gt;
Unfortunately, I (the Squashfs maintainer) considered the&lt;br /&gt;
patch series to be overly complicated, it unnecessarily&lt;br /&gt;
touched too much core code, and removed many performance&lt;br /&gt;
optimisations (see http://article.gmane.org/gmane.linux.kernel/965490).&lt;br /&gt;
&lt;br /&gt;
== Scope ==&lt;br /&gt;
About 2 months&lt;br /&gt;
&lt;br /&gt;
== Contractor Candidates ==&lt;br /&gt;
I'm recommending myself, as the author and maintainer of&lt;br /&gt;
Squashfs.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Project proposals 2011]]&lt;/div&gt;</summary>
		<author><name>Wmat</name></author>	</entry>

	</feed>