天嵌 ARM开发社区

 找回密码
 注册
查看: 2200|回复: 4

Linux2.6.25.8内核启动出现怪现象

[复制链接]
Tuvok 发表于 2009-11-11 10:36:52 | 显示全部楼层 |阅读模式
如下:
##### EmbedSky BIOS for SKY2440 #####                          
NET: Regis
Press Space key to stop autoboot !nux......y 16er                  
Booting Linux ...                 
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern                                          
pc : [<2fe7508c>]                 
R
el to SDRAM done,NOW, Booting Linux......                                         
Uncompressing Linux................................        
[0]   
                                 
end_request: I/O error, dev mtdblock2, sector
Memory policy: ECC disabled, Data cache writeback                              
[4] Download WinC
CPU S3C2440A (id 0x32440001)                  
FAT: unab
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHzn root device "mtdblock2" or unknown-block(31,2)                    
S3C24XX Clocks, (c) 2004 Simtec Ele      
                        
0104       4096 ram4 (driver?)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256               
0106       4096 ram6 (driver?)                           
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0 ram8 (driver?)                              
0109       4096 ram9 (driver?)   
irq: clearing pending ext status 000800006 ram10 (driver?)                        
irq: clearing subpending status 00000002                             
010c      
PID hash table entries: 256 (order: 8, 1024 bytes)
010d       4096 ram13 (driver?)                 
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)ohci and addr     
Kernel panic - not syncing: VFS: Unable to
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                                          
[8] Boot the syst
Memory: 64MB = 64MB total                        
Memory: 61628KB available (2816K code, 282K data, 120K init)                                            
[
[0] Set the
Mount-cache hash table entries: 512 ov511                             
CPU: Testing write buffer coherency: okser Programt is connected.            
net_namespace: 152 bytes  
[2]   
[6] D     
Ent
NET: Registered protocol family 16   
[3] Downloa           
usb   
S3C2410 Power Management, (c) 2004 Simtec                                       
TCP established hash table entries: 2048 (order: 2, 16384 bytes)                                       
[0] Set the boot paramet
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)               
[5] D     
[a] Download User Program   
TCP: Hash tables configured (established 2048 bind 2048)tion:at 196kHz (requested:                              
TCP reno registered   Boot for Nand Fl
NetWinder Floating Point Emulator V0.97 (double precision)                    
[8] Boot the s              

[7] Dow
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.                                                
[8]
io scheduler noop registeredLinux                       
io scheduler anticipatory registered (default)request: no cardE                             
io scheduler deadline registeredboot parametersloa              
io scheduler cfq registeredd            
SKY2440-SD   
Console: switching to colour frame buffer device 30x40mag                                                  

[6] Download Y
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440d to SDRAM                    

[1] Download u-boot to Nand FlashNand Fla
brd: module loaded                  
loop: module loadedred[6] Dr selection
dm9000 Ethernet Driver, V1.30otbic registeredusb   

#####
Uniform Multi-Platform E-IDE driverux Kernelere                       
[2] Download Eboot         
VFS: Mounted r] For
)
Scanning device for bad blocksersrKernell output            
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":a] Download User Programvu                        
[
0x00000000-0x00040000 : "Tuvok_Board_Boot" image  #####         
[3] Download Li   
0x00200000-0x00400000 : "Tuvok_Board_kernel" ##### server version Boa] Boot the system  
0x00400000-0x03ff8000 : "Tuvok_Board_yaffs2"d to SDRAM               
[a] Download User
usbmon: debugfs is no           
        
[2] Downl
hub 1-0:1.0: USB hub found
PWM-Te      
[7]   
[3] D
hub 1-0:1.0: 2 ports detectednd Flashd to SDRAM & Run3cmci
mice: PS/2 mouse device common for all mice.bin                        
[2] Download
S3C24XX RTC, (c) 2004,2006 Simtec Electronics CRAMFS imageLinux Kernelrmat the Nand Flashs
s3c2440-i2c s3c2440-i2c: slave address 0x10 Download YAFFS image WinCE NK.bint to Nand
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz Download to SDRAMnload C-SD         
[a] Download U
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapterot to Nand Flash#    Boot            
Enter yo
[5] Do
end_request: I/O error, dev mtdblock2, sector 0tion:terste.3] Download Li              
ya  
[
Buffer I/O error on device mtdblock2, logical block 0 #####e: device 0 offset 0x4            
[7] Downloa
end_request: I/O error, dev mtdblock2, sector 8l   
yaffs: At
[1] Download u-boot to Nand Fla
Buffer I/O error on device mtdblock2, logical block 1
[
[9] Format the Nand Flashnd Flash         
[2] D
end_request: I/O error, dev mtdblock2, sector 80] Set
[3] Download Linux Kernelnd Flashci   
FAT: unable to read boot sector
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available partitions:
0100       4096 ram0 (driver?)
0101       4096 ram1 (driver?)
0102       4096 ram2 (driver?)
0103       4096 ram3 (driver?)
0104       4096 ram4 (driver?)
0105       4096 ram5 (driver?)
0106       4096 ram6 (driver?)
0107       4096 ram7 (driver?)
0108       4096 ram8 (driver?)
0109       4096 ram9 (driver?)
010a       4096 ram10 (driver?)
010b       4096 ram11 (driver?)
010c       4096 ram12 (driver?)
010d       4096 ram13 (driver?)
010e       4096 ram14 (driver?)
010f       4096 ram15 (driver?)
1f00        256 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02      61408 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)


总是会出现UBOOT的选项,请教专家们,这是什么原因?
sunhy1021 发表于 2009-11-11 11:10:10 | 显示全部楼层
原因奇怪,试着把nandflash擦除完全。
在norflash启动的情况下烧写uboot到nandflash,然后从nandflash启动,再烧写内核和文件系统。
 楼主| Tuvok 发表于 2009-11-11 13:19:58 | 显示全部楼层
非常感谢 sunhy1021,我试过后还是这样.会不会是我的USB或是HJTAG参数没有设对?我是按照手册上设的.
sunhy1021 发表于 2009-11-11 15:05:25 | 显示全部楼层
3# Tuvok

不用谢!

按照手册上设的话,应该没有错!

你可以用下面方法来测试,先用天嵌的uboot+kernel+rootfs(这样的话应该会正常启动,要是不能正常启动,那应该是板子硬件的问题了),确认能正常启动,然后按住PC的空格键重启,进入到下载模式,选择3直接下载你的内核,下载完后重启,看是否还有这样的问题,如果还有,那就是你的内核的问题了,要细细对照修改你的内核。
 楼主| Tuvok 发表于 2009-11-17 16:18:43 | 显示全部楼层
谢谢大家,原因已经找到,是超级终端程序出问题了,重新下一个超级终端程序就OK了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-7 00:23 , Processed in 1.019570 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表