主题 : 文件系统无法启动 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 24583
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2010-07-10
最后登录: 2010-08-02
楼主  发表于: 2010-07-30 10:58

 文件系统无法启动

我使用buildroot制作了一个最简单的文件系统,然后烧进micro2440后,每次boot到Freeing init memory: 160K就停在这里了。下面是启动的信息:

Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing Linux.....................................................................................................
.............................................................. done, booting the kernel.
Linux version 2.6.32.2-FriendlyARM (root@russell-work-pc) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #4 Wed Jan
6 17:18:11 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: FriendlyARM Mini2440 development board
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0
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: 59560KB available (4676K code, 469K data, 160K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized

……(省略n百行,如何需要就再贴出来吧)

yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
block 1594 is bad
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
Partially written block 24 detected
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:3.
Freeing init memory: 160K
然后到这里就进行不下去了

我看书上解释可能是没有找到sbin/init,或者sbin/init没有执行权限。sbin/init我是找到了,那么真的是权限的问题吗?
现在我还是入门水平,所以有很多不懂的地方,请大家指教。