<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[内核引导yaffs2文件系统出错]]></title>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462]]></link>
 <description><![CDATA[Latest 20 replies of 内核引导yaffs2文件系统出错]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Sun, 26 Jul 2026 06:57:23 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://aiothome.net]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[回 15楼(stone) 的帖子]]></title>
 <description><![CDATA[看起来像是/etc/inittab里设置的造成的，你文件系统里有这个文件的话，贴出来看看吧.
另外，注意/dev/ttyN设备的主设备号是“4”, 不是“5”。只有/dev/tty的设备号是5:0
还有，这个问题已经和yaffs没有关系了，不要再在这个帖子里讨论了。]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11782]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Sat, 31 Oct 2009 08:47:00 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 14楼(kasim) 的帖子]]></title>
 <description><![CDATA[版主：我刚刚用我的yaffs源码包，用他的编译出来的mkyaffsimage,做了个文件系统，，我把cramfs当根文件系统启动。然后挂载yaffs，居然成功了，，我想先前应该是制作工具的问题了。。但当我吧yaffs作为根文件系统启动的时候，出现了下面的情况：yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem). ..]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11779]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Sat, 31 Oct 2009 08:27:41 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 13楼(stone) 的帖子]]></title>
 <description><![CDATA[抱歉，我没有用过yaffs补丁，也不清楚补丁的版本和内核源代码的版本如何匹配(这也是我不用yaffs的根本原因，没有内核的内建支持)]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11777]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Sat, 31 Oct 2009 07:26:07 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[版主;我今天试了那个网页上提供的yaffs2，当我打完补丁，编译内核的时候，出现了下面的问题：
fs/yaffs2/yaffs_fs.c:287: error: unknown field `read_inode&#39; specified in initializer
fs/yaffs2/yaffs_fs.c:287: warning: initialization from incompatible pointer type
fs/yaffs2/yaffs_fs.c: In function `yaffs ..]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11776]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Sat, 31 Oct 2009 07:00:23 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 11楼(kasim) 的帖子]]></title>
 <description><![CDATA[谢谢版主。。。]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11741]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 09:13:01 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 10楼(stone) 的帖子]]></title>
 <description><![CDATA[如果你确定你的NAND Flash的页大小是2048的，可以看看这个[url]http://www.100ask.net/showtopic-2011.aspx[/url]]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11740]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 08:55:16 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 9楼(kasim) 的帖子]]></title>
 <description><![CDATA[在烧录方面，uboot对于支持yaffs的烧写代码没有详细看，，但对于nand 的pagesize是通过read&nbsp;&nbsp;ID获得的，我觉得问题应该是nand_write_opts这个函数
在制作yaffs镜像时，还分（每个页512还是2048字节)？在哪可以找到（每页2048）的mkyaffsimage?]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11739]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 08:44:32 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 8楼(stone) 的帖子]]></title>
 <description><![CDATA[看起来应该是制作镜像或烧录的环节出了问题。确保你制作和烧录yaffs镜像和实际所用的NAND Flash相匹配(每个页512还是2048字节)]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11736]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 07:08:14 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[版主：我按照你的办法试了一下，结果如下：
# mount -t yaffs /dev/mtdblock4 /var/tmp
yaffs: dev is 32505860 name is &quot;mtdblock4&quot;
yaffs: passed flags &quot;&quot;
yaffs: Attempting MTD mount on 31.4, &quot;mtdblock4&quot;
yaffs: auto selecting yaffs2
block 2 is bad
block 3 is bad
block 4 is b ..]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11735]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 06:54:22 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]如何使cramfs支持mdev这个东西，除了在编译busybox时支持它，还需要做其他的什么配置吗？[/quote]
看busybox源代码目录的docs/mdev.txt
[quote]如果是手动创建mtdblock4等这些节点，，那他们的设备号是什么呢？[/quote]
mtdblock的主设备号是31, mtdblock4的设备号是31:4。完整的设备和主设备号的mapping可以通过在 ..]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11732]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 05:41:57 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[如何使cramfs支持mdev这个东西，除了在编译busybox时支持它，还需要做其他的什么配置吗？如果是手动创建mtdblock4等这些节点，，那他们的设备号是什么呢？请斑竹再帮忙解答一下。。。]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11731]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 05:20:28 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[如果你的cramfs文件系统里没有像mdev这样自动创建设备节点的东东，你可以在/dev目录下预先建好所有需要的节点。]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11728]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 04:27:19 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我之前是这么做的
mount -t yaffs /dev/mtdblock4 /var/tmp出现错误
mount: Mounting /dev/mtdblock4 on /var/tmp failed: No such file or directory
但我的文件系统下有/var/tmp ,我在rcS中mkdir -p /var/tmp,
/bin/mount -n -t ramfs none /var
但我查看我的/dev目录下只有console ,null 这个是我手动建的，看不到mtdb ..]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11725]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 03:57:07 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 2楼(stone) 的帖子]]></title>
 <description><![CDATA[$mount -t yaffs/yaffs2 &lt;MTD device containing yaffs/yaffs2 image&gt; &lt;mount point&gt;]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11724]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 03:32:04 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[请教版主：如何cramfs的文件系统下挂载另一个分区中的yaffs文件系统？]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11723]]></link>
 <author><![CDATA[stone]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Fri, 30 Oct 2009 03:17:49 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[先不要用yaffs作rootfs，可以用cramfs的文件系统先启动起来之后再手动mount一个yaffs2的文件系统，确保内核中的yaffs支持没有问题]]></description>
 <link><![CDATA[http://aiothome.net/read.php?tid=3462#11704]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[U-boot技术交流区]]></category>
 <pubdate><![CDATA[Thu, 29 Oct 2009 09:27:40 +0000]]></pubdate>
</item>
</channel></rss>