首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

请问一个在linux2.4下驱动S3C44B0上的网络和液晶显示屏驱动有关问题

2012-02-29 
请教一个在linux2.4下驱动S3C44B0上的网络和液晶显示屏驱动问题我把我编好的内核移植到S3C44B0上时,上电启

请教一个在linux2.4下驱动S3C44B0上的网络和液晶显示屏驱动问题
我把我编好的内核移植到   S3C44B0   上时,上电启动后如下:

Starting   kernel   ...                                      

Linux   version   2.4.24-uc0   (root@linux-nugw)   (gcc   version   2.95.3   20010315   (release                                                                                                                                                                
)(ColdFire   patches   -   20010318   from   http://fiddes.net/coldfire/)(uClinux   XIP   and                                                                                                                                                              
shared   lib   patches   from   http://www.snapgear.com/))   #9   2007骞?01鏈?20鏃?鏄熸湡                                                                                                                                                                
鍏?14:41:08   CST                                
Processor:   Samsung   S3C44B0X   revision   0                                                                            
Architecture:   S3C44B0X                                            
On   node   0   totalpages:   2048                                                    
zone(0):   0   pages.                                  
zone(1):   2048                          
zone(2):   0   pages.                                  


Kernel   command   line:   root=/dev/rom0   init=/linuxrc                                                                                                  
Console:   colour   dummy   device   80x30                                                                    
Calibrating   delay   loop...   23.85   BogoMIPS                                                                                
Memory:   8MB   =   8MB   total                                              
Memory:   4956KB   available   (2825K   code,   211K   data,   60K   init)                                                                                                                    
Dentry   cache   hash   table   entries:   1024   (order:   1,   8192   bytes)                                                                                                                        
Inode   cache   hash   table   entries:   512   (order:   0,   4096   bytes)                                                                                                                    
Mount   cache   hash   table   entries:   512   (order:   0,   4096   bytes)                                                                                                                    
Buffer   cache   hash   table   entries:   1024   (order:   0,   4096   bytes)                                                                                                                        


Page-cache   hash   table   entries:   2048   (order:   1,   819                                                                                                  
POSIX   conformance   testing   by   UNIFIX                                                                      
Linux   NET4.0   for   Linux   2.4                                                    
Based   upon   Swansea   University   Computer   Society   NET3.039                                                                                                              
Initializing   RT   netlink   socket                                                            
Starting   kswapd                              
devfs:   v1.12c   (20020818)   Richard   Gooch   (rgooch@atnf.csiro.au)                                                                                                                          
devfs:   boot_options:   0x0                                                
ttyS%d0   at   I/O   0x1d00000   (irq   =   3)   is   a   S3C44B0                                                                                              
ttyS%d1   at   I/O   0x1d04000   (irq   =   2)   is   a   S3C44B0                                                                                              
LCD   buffer   :   0c340000                                          


ne.c:v1.10   9/23/94   Donald   Becker   (becker@scyld.com)                                                                                                      
Last   modified   Nov   1,   2000   by   Paul   Gortmaker                                                                                      
NE*000   ethercard   probe   at   0x6060000:NE2000   driver   m                                                                                                    
time.net                
  00   49   34   00   00   00                                    
eth0:   NE2000   found   at   0x6060000,   using   IRQ   24                                                                                          
Blkmem   copyright   1998,1999   D.   Jeff   Dionne                                                                                  
Blkmem   copyright   1998   Kenneth   Albanowski                                                                                
Blkmem   1   disk   images:                                          
0:   C1152F0-C2D96EF   [VIRTUAL   C1152F0-C2D96EF]   (RO)                                                                                                  
RAMDISK   driver   initialized:   16   RAM   disks   of   4096K   size   1024   blocksize                                                                                                                                          


NET4:   Linux   TCP/IP   1.0   for   NET4.0                                                                  
IP   Protocols:   ICMP,   UDP,   TCP                                                        
IP:   routing   cache   hash   table   of   512   buckets,   4Kbytes                                                                                                        
TCP:   Hash   tables   configured   (established   512   bind   512)                                                                                                            
NET4:   Unix   domain   sockets   1.0/SMP   for   Linux   NET4                                                                                              
NetWinder   Floating   Point   Emulator   V0.95   (c)   1998-1999   Rebel.com                                                                                                                              
VFS:   Mounted   root   (romfs   filesystem)   readonly.                                                                                            
Freeing   init   memory:   60K                                                
Shell   invoked   to   run   file:   /etc/rc                                                                    
Command:   hostname   Samsung                                                  


Command:   /bin/expand   /etc/ramfs.img   /dev/ram0                                                                                          
Command:   /bin/expand   /etc/ramfs2048.img   /dev/ram1                                                                                                  
Command:   mount   -t   proc   proc   /proc                                                                  
Command:   mount   -t   ext2   /dev/ram0   /var                                                                          
Command:   mkdir   /var/config                                                    
Command:   mkdir   /var/tmp                                              
Command:   mkdir   /var/log                                              
Command:   mkdir   /var/run                                              
Command:   mkdir   /var/lock                                                
Command:   mkdir   /var/empty                                                  
Command:   ifconfig   lo   127.0.0.1                                                            
Command:   route   add   -net   127.0.0.0   netmask   255.255.255.0   lo                                                                                                                    
Command:   ifconfig   eth0   192.168.0.28   netmask   255.255.255.0   up                                                                                                                        


Command:   cat   /etc/motd                                            
Welcome   to                    
                    ____   _     _                                      
                  /     __|   ||_|                                        
        _       _|   |     |   |   _   ____     _       _     _     _                                                                          
      |   |   |   |   |     |   ||   |     _   \|   |   |   |\   \/   /                                                                            
      |   |_|   |   |__|   ||   |   |   |   |   |_|   |/         \                                                                            
      |     ___\____|_||_|_|   |_|\____|\_/\_/                                                                            
      |   |            
      |_|            

For   further   information   check:                                                            
http://www.uclinux.org/                                              

Command:                
Execution   Finished,   Exiting                                                        

Sash   command   shell   (version   1.1


可是在     ping   或者是在     ifconfig   eth0   192.168.0.28   的时候没不能通过啊   !
我的液晶显示好象也有了,可是就是在虚拟目录下看不到,这是怎么一回事情!希望高手指点!谢谢!QQ:99592177!
说明:在ping   127.0.0.1的时候能   通过的!

[解决办法]
那可是加载有问题吧

你的驱动是动态加载的??
module
[解决办法]
其实一提到软硬的问题,就让人头大,主要原因
软件可能受到硬件的影响,或者相反等等.

你这种问题,如果内核编译没有问题,或许可能是硬件.但不排除其它因素.

如果不行,你可以试着,再编译几次内核,选上一定要选上的.试几下.

有可能你的加载模块有些没有弄上.
想的.
[解决办法]
先看看eth0 的状态 cat /proc/net/dev
lspci
cat /proc/interrupts

确定驱动和内核都没有问题,仔细检查一下的内核参数。


ping不通不能代表你的网卡不能工作,如果ping是时断时好的,考虑网络线路本身问题、网卡器件稳定问题、内核调度是否繁忙,网络是否繁忙等原因

热点排行