1.ubuntu安装git-core
sudo apt-get install git-core
2.下载yaffs2
linux-3.8.3目录下
git clone git://
下载好后后给linux3.8.3打补丁:./patch-ker.sh c m /home/ymseven/work6410/linux/linux-3.8.3
完后看到fs目录下的Kconfig和Makefile文件都有增加yaffs2相关内容;fs目录下也多了yaffs2文件夹,基本上说明打补丁成功了
3.linux-3.8.3目录下make menuconfig
先选择Device Drivers-->MTD-->Caching block device access to MTD devices,
在File Systems--->Miscellaneous filesystem下面找到YAFFS2并选上
然后make uImage
重新烧写启动后,可看到如下字段
-
usbhid: USB HID core driver
-
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
-
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
-
VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
-
Please append a correct "root=" boot option; here are the available partitions:
-
1f00 1024 mtdblock0 (driver?)
-
1f01 5120 mtdblock1 (driver?)
-
1f02 204800 mtdblock2 (driver?)
-
1f03 837632 mtdblock3 (driver?)
-
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
阅读(1660) | 评论(0) | 转发(0) |