打印

内核移植出错了,帮忙看一下

[复制链接]
1717|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
FACTzero|  楼主 | 2008-9-3 15:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
下面是内核启动是的打印信息:
## Starting application at 0x30008000 ...                                       
Uncompressing Linux.............................................................
Linux version 2.6.14.1 (azlinzhi@localhost.localdomain) (gcc version 3.4.1) #1 8
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)                               
Machine: SMDK2410                                                               
Warning: bad configuration page, trying to continue                             
Memory policy: ECC disabled, Data cache writeback                               
CPU S3C2410A (id 0x32410002)                                                    
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz            
S3C2410 Clocks, (c) 2004 Simtec Electronics                                     
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on                            
CPU0: D VIVT write-back cache                                                   
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets             
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets             
Built 1 zonelists                                                               
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC00
irq: clearing pending ext status 00000800                                       
irq: clearing subpending status 00000002                                        
PID hash table entries: 128 (order: 7, 2048 bytes)                              
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8           
Console: colour dummy device 80x30                                              
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
Memory: 16MB = 16MB total                                                       
Memory: 14056KB available (1640K code, 372K data, 92K init)                     
Mount-cache hash table entries: 512                                             
CPU: Testing write buffer coherency: ok                                         
softlockup thread 0 started up.                                                 
NET: Registered protocol family 16                                              
S3C2410: Initialising architecture                                              
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics                            
DMA channel 0 at c1800000, irq 33                                               
DMA channel 1 at c1800040, irq 34                                               
DMA channel 2 at c1800080, irq 35                                               
DMA channel 3 at c18000c0, irq 36                                               
NetWinder Floating Point Emulator V0.97 (double precision)                      
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)                          
devfs: boot_options: 0x1                                                        
Console: switching to colour frame buffer device 80x25                          
fb0: Virtual frame buffer device, using 1024K of video memory                   
S3C2410 RTC, (c) 2004 Simtec Electronics                                        
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410                      
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410                      
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410                      
io scheduler noop registered                                                    
io scheduler anticipatory registered                                            
io scheduler deadline registered                                                
io scheduler cfq registered                                                     
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize           
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                                
s3c2410-nand: mapped registers at c1980000                                      
s3c2410-nand: timing: Tacls 40ns, Twrph0 80ns, Twrph1 80ns                      
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bi)
NAND_ECC_NONE selected by board driver. This is not recommended !!              
Scanning device for bad blocks                                                  
mice: PS/2 mouse device common for all mice                                     
NET: Registered protocol family 2                                               
IP route cache hash table entries: 256 (order: -2, 1024 bytes)                  
TCP established hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                        
TCP: Hash tables configured (established 1024 bind 1024)                        
TCP reno registered                                                             
TCP bic registered                                                              
NET: Registered protocol family 1                                               
Root-NFS: No NFS server available, giving up.                                   
VFS: Unable to mount root fs via NFS, trying floppy.                            
VFS: Cannot open root device "mtdblock2" or unknown-block(2,0)                  
Please append a correct "root=" boot option                                     
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

我试着将root=/dev/mtdblock2改成root=/dev/mtdblock/2但还是同样的错误,
请帮忙分析一下!!

相关帖子

沙发
FActzero| | 2008-9-5 21:21 | 只看该作者

自己回答

这个问题终于解决了,原因就是在内核中设置的NAND flash没有生效,所以出现了如此大问题。

使用特权

评论回复
板凳
4you| | 2008-9-6 00:01 | 只看该作者

我也遇到这个问题

请问你是如何解决的?

使用特权

评论回复
地板
FActzero| | 2008-9-7 15:43 | 只看该作者

nand flash分区是否加了?

在启动的内核的时候是否打印了nand flash的分区信息?
如有,且打印的信息跟你对nand flash分区的信息移植,那么可能是你的文件系统烧写的位置不正确或者你的文件系统有问题。
如没,说明你没有增加nand flash分区,或是在增加分区时加错地方了。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

8

主题

25

帖子

0

粉丝