当前位置: 技术问答>linux和unix
求助:如何将2.6.30上的jffs2/MTD相关代码移植到2.6.14上
来源: 互联网 发布时间:2016-06-15
本文导语: 谁有这方面的经验呢? 附MTD 官网说明 Kernel versions The MTD code in the linux kernel is updated from the MTD GIT tree in kernel version 2.6.newest only. The 2.4 kernel does not have NAND support in JFFS2, and will not have anything...
谁有这方面的经验呢?
附MTD 官网说明
Kernel versions
The MTD code in the linux kernel is updated from the MTD GIT tree in kernel version 2.6.newest
only. The 2.4 kernel does not have NAND support in JFFS2, and will not have anything but
high-priority bug-fixes applied to it.
As of March 2005 we dropped Linux 2.4 support from CVS head. This means we no longer care
whether the CVS code can be used on Linux 2.4 or not.
As of April 2006 we stopped using CVS altogether and switched to a GIT tree based on the
current 2.6 kernel. You may be able to massage the current code to work in older kernels,
if you have a sufficient supply of illegal narcotics that you actually desire such a thing.
Please don't ask us about it though.
If you are using the ancient 2.4 kernel, that's probably because you're interested
in stabliity -- it is old and long-tested code. If that's what you want, then you should use
the original JFFS2 code which is part of the 2.4 kernel. It's old and slow and doesn't support
NAND flash, but it is stable, and is maintained.
The MTD community is neither able nor interested to provide support for new MTD and JFFS2 code
with ancient kernels. Move yourself and update to a recent kernel. If you use a vendor supplied
kernel, please get support from your kernel vendor. Do not ask on the mailinglist for help with
such problems. You are either ignored or you get a pointer to this text. Please save the
bandwidth and our time to sort out such questions.
附MTD 官网说明
Kernel versions
The MTD code in the linux kernel is updated from the MTD GIT tree in kernel version 2.6.newest
only. The 2.4 kernel does not have NAND support in JFFS2, and will not have anything but
high-priority bug-fixes applied to it.
As of March 2005 we dropped Linux 2.4 support from CVS head. This means we no longer care
whether the CVS code can be used on Linux 2.4 or not.
As of April 2006 we stopped using CVS altogether and switched to a GIT tree based on the
current 2.6 kernel. You may be able to massage the current code to work in older kernels,
if you have a sufficient supply of illegal narcotics that you actually desire such a thing.
Please don't ask us about it though.
If you are using the ancient 2.4 kernel, that's probably because you're interested
in stabliity -- it is old and long-tested code. If that's what you want, then you should use
the original JFFS2 code which is part of the 2.4 kernel. It's old and slow and doesn't support
NAND flash, but it is stable, and is maintained.
The MTD community is neither able nor interested to provide support for new MTD and JFFS2 code
with ancient kernels. Move yourself and update to a recent kernel. If you use a vendor supplied
kernel, please get support from your kernel vendor. Do not ask on the mailinglist for help with
such problems. You are either ignored or you get a pointer to this text. Please save the
bandwidth and our time to sort out such questions.
|
本人以为,泛泛地说“2.6.30上的jffs2/MTD相关代码移植到2.6.14上”意义不大,
因为它本身上联KERNEL,下和硬件设备密切相关,只能是具体情况具体分析,还得去好好跟踪下。
比如:我就遇到过用同一个版本的MTD在同一版本的KERNEL很好,可是换了个硬件平台,MTD和KERNEL
还是同一个版本,出了很多的问题。更何况你说得情况呢?
因为它本身上联KERNEL,下和硬件设备密切相关,只能是具体情况具体分析,还得去好好跟踪下。
比如:我就遇到过用同一个版本的MTD在同一版本的KERNEL很好,可是换了个硬件平台,MTD和KERNEL
还是同一个版本,出了很多的问题。更何况你说得情况呢?
|
我没有做过,
我想知道楼主遇到的bug是什么,能否描述一下具体情况,让大家也学习一下,也许可以帮你把这个bug解决掉呢。
而不用花那么大力气去研究移植jffs2了。
另外,正如13楼所说,那样移植本身也并不能保证新版本你就能用得好,具体环境不一样,要移植需要花很大力气。
还要经过很多测试才能保证你能用得好。
我想知道楼主遇到的bug是什么,能否描述一下具体情况,让大家也学习一下,也许可以帮你把这个bug解决掉呢。
而不用花那么大力气去研究移植jffs2了。
另外,正如13楼所说,那样移植本身也并不能保证新版本你就能用得好,具体环境不一样,要移植需要花很大力气。
还要经过很多测试才能保证你能用得好。