本帖最后由 nicholasldf 于 2010-12-30 23:03 编辑
这段时间深入分析了yaffs2文件系统,去掉linux相关的代码,用于普通OS如uCOS-II的(yaffs的direct接口)相关的代码有1.5万行左右,
当初看uCOS-II,有书讲的很明白,代码量也小,5000行左右,代码质量也很不错。
yaffs看的比较辛苦,代码更新很频繁,其文档较少,而且比较老。看了第一遍,基本理解了yaffs,移植到9260板子上,使用模拟方式(申请一片内存模拟NandFlash器件),和使用K9F1208,都正常跑起来了。还有一些细节问题,接下来将进行第二遍代码深入的分析。
yaffs有个邮件列表,讨论了一些技术问题,下面这封邮件比较有意思,哈哈。。。
---某个工程师,从邮件unication.com.cn来看,估计是个国内的
On Wednesday 06 August 2003 21:28, guo@unication.com.cn wrote:
> Hi all,
> I like YAFFS. I think documents maybe old. Why?
下面是yaffs作者的回复
Yes, much of the YAFFS documentation is old. More documentation could make it
more useful. The current doicumentation seems to be sufficient for most
hackers (there are a lot of people using YAFFS who have never even asked a
single question on the list).
-- 下面这两段很有意思,呵呵
YAFFS is currently an unfunded exercise. At the moment all the time I put
into YAFFS is just my free time - I get no payment for continuing to
update/support YAFFS.
If someone else wants to help write documentation, or wants to pay for it I
am sure the documentation can be improved.
-- CHarles --yaffs的作者 |