abnerle 发表于 2011-11-9 15:54:36

yaffs2文件系统和jffs2文件系统,仅仅是制作工具不同,而内容是相同的嘛?

如题,
有点疑惑
yaffs2文件系统和jffs2文件系统,仅仅是制作工具不同,而根文件系统里面的东西,都一样的把???

zke2006 发表于 2011-11-9 16:03:13

根文件系统里的内容一样的

ciddy 发表于 2011-11-9 16:25:04

用nand write.yaffs命令怎么烧yaffs文件系统?
还有怎么挂载NFS的yaffs文件系统?

谁能提供一个制作好的yaffs2文件系统?

我的内核挂cramfs文件系统没问题,但是yaffs2的总是出问题,不知道是我的nand write.yaffs命令没有用好,还是yaffs2文件系统制作的问题

abnerle 发表于 2011-11-10 19:21:33

我用同样的文件夹内容作出的jffs2文件系统就能启动,而做的yaffs2文件系统就不能启动呢?
以下是yaffs2文件系统启动出现的错误,谁知道为什么???
## Booting kernel from Legacy Image at 22000000 ...
   Image Name:   Linux-2.6.39.4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1993296 Bytes =1.9 MB
   Load Address: 20008000
   Entry Point:20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.39.4 (root@localhost.localdomain) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #5 Wed Nov 9 23:02:56 CST 2011
CPU: ARM926EJ-S revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9261-EK
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock0 mtdparts=at91_nand:-(root) rw rootfstype=yaffs2
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60940k/60940k available, 4596k reserved, 0K highmem
....................
.................
#0: AT91SAM9261-EK external DAC on irq 15
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
yaffs: dev is 32505856 name is "mtdblock0" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:0.
Freeing init memory: 120K
Kernel panic - not syncing: No init found.Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c00315a4>] (unwind_backtrace+0x0/0xec) from [<c02c35f8>] (panic+0x54/0x17c)
[<c02c35f8>] (panic+0x54/0x17c) from [<c0026598>] (init_post+0xa0/0xc4)
[<c0026598>] (init_post+0xa0/0xc4) from [<c0008408>] (kernel_init+0x104/0x13c)
[<c0008408>] (kernel_init+0x104/0x13c) from [<c002d434>] (kernel_thread_exit+0x0/0x8)
页: [1]
查看完整版本: yaffs2文件系统和jffs2文件系统,仅仅是制作工具不同,而内容是相同的嘛?