<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[请教：关于JFFS2映像的问题]]></title>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698]]></link>
 <description><![CDATA[Latest 20 replies of 请教：关于JFFS2映像的问题]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Sun, 26 Jul 2026 06:49:42 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://www.aiothome.net]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[size=3]今天尝试禁用NAND Flash的ECC校验，重新烧写以后发现内核竟然可以正常挂载JFFS2的文件系统了。看来是内核的ECC校验算法和JFFS2的不匹配啊！以前在做YAFFS2的时候就遇到过类似的问题。不是说u-boot和内核对JFFS2支持的比较好吗？尝试了很多次，总算有了一些结果。[/size]]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25274]]></link>
 <author><![CDATA[hrbeu06ws]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 16 Apr 2010 03:17:42 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[Re:回 4楼(hrbeu06ws) 的帖子]]></title>
 <description><![CDATA[[size=3][quote]引用第5楼kasim于2010-04-15 15:54发表的 回 4楼(hrbeu06ws) 的帖子 :

内核用的是Software ECC还是S3C2440A的Hardware ECC? 是否更改过ECC在OOB中的layout配置？
[url]http://repo.or.cz/w/u-boot-openmoko/mini2440.git[/url]这个uboot我用过，默认应该是Software ECC的，内核的配置必须和它保持一致。
 ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25189]]></link>
 <author><![CDATA[hrbeu06ws]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 08:20:39 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]Creating 4 MTD partitions on &quot;NAND 128MiB 3,3V 8-bit&quot;:
0x000000000000-0x000000040000 : &quot;u-boot&quot;
0x000000040000-0x000000060000 : &quot;u-boot-env&quot;
0x000000060000-0x000000560000 : &quot;kernel&quot;
uncorrectable error : &lt;5&gt;0x000000560000-0x000008000000 : &quot; ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25184]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 08:00:35 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 4楼(hrbeu06ws) 的帖子]]></title>
 <description><![CDATA[[quote]uncorrectable error : &lt;4&gt;mtd-&gt;read(0x1f560 bytes from 0x360aa0) returned ECC error[/quote]
内核用的是Software ECC还是S3C2440A的Hardware ECC? 是否更改过ECC在OOB中的layout配置？
[url]http://repo.or.cz/w/u-boot-openmoko/mini2440.git[/url]这个uboot我用过，默认应该是Software ECC的，内核 ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25182]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 07:54:22 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[size=3][quote]引用第3楼kasim于2010-04-15 15:15发表的&nbsp;&nbsp;:
nand write.jffs2之前有没有先nand erase?
[/quote]

有过，完整的下载命令如下：
tftp 0x30000000 rootfs.jffs2
nand erase rootfs
nand write.jffs2 0x30000000 rootfs $(filesize)

u-boot用的是[url]http://repo.or.cz/w/u-boot-openmoko/mini24 ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25179]]></link>
 <author><![CDATA[hrbeu06ws]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 07:47:47 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[nand write.jffs2之前有没有先nand erase?]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25165]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 07:15:54 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[size=3]首先多谢版主的指点，版主的意思jffs2的映像和NAND Flash的大小有关是吧！
我按照版主的方法来制作映像，可还是不行，输出如下：

U-Boot 1.3.2-mini2440 (Apr 14 2010 - 14:53:11)

I2C:&#160;&#160; ready
DRAM:&#160;&#160;64 MB
Flash:&#160;&#160;&#160;&#160;2 MB
NAND:&#160;&#160;Bad block table not fo ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25157]]></link>
 <author><![CDATA[hrbeu06ws]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 06:17:52 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[对于128MB的NAND Flash来说，命令应该是
mkfs.jffs2 --pad -n -s 2048 -e 128KiB -d rootfs -o rootfs.jffs2

这是mkfs.jff2的用法：
mkfs.jffs2: Usage: mkfs.jffs2 [OPTIONS]
Make a JFFS2 file system image from an existing directory tree

Options:
&nbsp;&nbsp;-p, --pad[=SIZE]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=5698#25131]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 15 Apr 2010 03:38:57 +0000]]></pubdate>
</item>
</channel></rss>