修改好内核源码,并增加了yaffs源码,开始make,出现如下错误:
U-Boot 1.1.6 (Mar 21 2012 - 07:03:29)
DRAM: 64 MB
Flash: 2 MB
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x240000, size 0x200000
2097152 bytes read: OK
## Booting from zImage at 30008000 ---by ce123
Starting kernel ...
Uncompressing Linux...................................................................................... done, booting the kernel.
Linux version 2.6.14 (root@czu) (gcc version 3.4.1) #2 Wed Dec 19 22:34:57 CST 2012
从红色后面的信息也可以看出,VFS安装的是jffs文件系统,而我们是要安装yaffs2文件系统,问题就出在这。再次
make menuconfig,去掉jffs即可!这个问题的难点在于:红色后面的信息要等很久才出现,不看后面的信息很难定位错误!