Chinaunix首页 | 论坛 | 博客
  • 博客访问: 453778
  • 博文数量: 122
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 1540
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-26 11:11
文章分类

全部博文(122)

文章存档

2010年(1)

2009年(76)

2008年(45)

我的朋友

分类: LINUX

2008-11-30 15:58:42

    实验室古老的开发板上已经有一个做好的linux系统,加电启动后运行良好,现在想自己动手移植一次,觉得困难重重啊,要擦除其中的内容更感觉是伤心不已,有如风萧萧兮易水寒,壮士去兮不复返!
  (从上电到完成系统启动过程中,超级终端显示出来的完整清单,很好的描述和记录了启动过程的细节信息!)
-----------------------------------------------------------------------

-I- AT91F_LowLevelInit(): Debug channel initialized                  


ATMEL LOADER VER 1.0 Nov 24 2003 13:31:42                                         
*--------------------------------------*                                        
DataFlash:AT45DB642                   
Nb pages:   8192                
Page Size:   1056                 
Size= 8650752 bytes                   
Logical address: 0xC0000000                           
*--------------------------------------*                                        
1: Download Dataflash [addr]                            
2: Read Dataflash [addr]                        
3: Start U-BOOT [C0008000 => 21F00000]                                      
*--------------------------------------*                                        
Enter:

Load U-BOOT from dataflash[c0008000] to SDRAM[21f00000]
Set PLLA to 180Mhz and Master clock to 60Mhz and start U-BOOT

U-Boot 1.0.0 (Jul 27 2004 - 11:28:25)                                     

U-Boot code: 21F00000 -> 21F149C0  BSS: -> 21F18398
DRAM Configuration:                   
Bank #0: 20000000 32 MB                       
Atmel: AT49BV1614 (16Mbit)                          
Flash:  2 MB            
DataFlash:AT45DB642                   
Nb pages:   8192                
Page Size:   1056                 
Size= 8650752 bytes                   
Logical address: 0xC0000000                           
Area 0: C0000000 to C0007FFF (RO)                                 
Area 1: C0008000 to C001FFFF (RO)                                 
Area 2: C0020000 to C0027FFF                            
Area 3: C0028000 to C083FFFF                            
In:    serial             
Out:   serial             
Err:   serial             
Hit any key to stop autoboot:  0        
                      
MAC: error during MII initialization                                    
TFTP from server 172.18.244.5; our IP address is 172.18.244.33
Filename '0'.             
Load address: 0x0                 
Loading: T Timeout...                     
## Booting image at c0028380 ...                                
   Image Name:   my linux kernel                                
   Image Type:   ARM Linux Kernel Image (gzip compressed)            
   Data Size:    767447 Bytes = 749.5 kB                                        
   Load Address: 20008000                         
   Entry Point:  20008000                         
   Verifying Checksum ... OK                            
   Uncompressing Kernel Image ... OK                                    
## Loading Ramdisk Image at c04a1f00 ...                                        
   Image
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3269552 Bytes =  3.1 MB                                        
   Load Address: 21000000                         
   Entry Point:  21000000                         
   Verifying Checksum ... OK                            

Starting kernel ...                   

Linux version 2.4.19-rmk7 (root@RedHat-Server) (gcc version 2.95.2 19991024 (release)) #149 Wed Nov 17 18:29:54 CST 2004
CPU: Arm920Tid(wb) revision 0                             
Machine: ATMEL AT91RM9200                         
On node 0 totalpages: 8192                          
zone(0): 8192 pages.                    
zone(1): 0 pages.                 
zone(2): 0 pages.                 
Kernel command line: root=/dev/ram rw initrd=0x21000000                                                      
60 console=ttyS0,115200 mem=32M                               
Console: colour dummy device 80x30                                  
Calibrating delay loop... 29.90 BogoMIPS                                        
Memory: 32MB = 32MB total                         
Memory: 24668KB available (1450K code, 318K data, 76K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)                      
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes) 
POSIX conformance te
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket                              
Starting kswapd               
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.  
SSD1906: Phys Mem address:c280f000 Phys Reg address:c280d000
SSD1906 is powered up
SSD1906 vertical sync signal exists    
Console: switching to colour frame buffer device 40x30  
fb0: ssd1906 frame buffer device
Display 320 x 240  16BPP
Uniform Multi-Platform E-IDE driver Revision: 6.31   
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx 
RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize  
SCSI subsystem driver Revision: 1.00
Linux Kernel Card Services 3.1.22 
  options:  none
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub   
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik  
hid-core.c: USB HID support drivers     
Initializing USB Mass Storage driver...    
usb.c: registered new driver usb-stora 
USB Mass Storage support registered.  
mice: PS/2 mouse device common for all mice           
ttyS0 at MEM 0xfefff200 (irq = 1) is a AT91_SERIAL                      
ttyS1 at MEM 0xfefc4000 (irq = 7) is a AT91_SERIAL                
eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex (00:00:00:00:00:00) 
AT91 Watchdog Timer enabled (5 seconds) 
AT91 Real Time Clock driver 
usb-ohci.c: USB OHCI at membase 0xc2855000, IRQ 23      
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found 
hub.c: 2 ports detected  
i2c-dev.o: Registered 'AT91RM9200' as minor
Found AT91 i2c 
AT91 SPI driver loaded   
at91_dataflash: Atmel AT45DB642 detected [spi0] (8650752 bytes)
Creating 5 MTD partitions on "Atmel AT45DB642":
0x00000000-0x00028380 : "ROM-Boot + U-Boot (0.2M)"        
0x00028380-0x00101d00 : "Kernel Image (0.8M)"  
0x00101d00-0x00407400 : "Cramfs FileSystem (3M)"       
0x00407400-0x004a1f00 : "JFFS2 FileSystem (0.6M)"       
0x004a1f00-0x00840000 : "Ext2 RootFS (3.4M)"    
AT91 CF driver v1.0   
AT91 PCMCIA (CS release 3.1.22) IO at <6>0xc285b000 <6>        
NET4: Linux TCP/IP 1.0 for NET4.0                                 
IP Protocols: ICM                
IP: routing cache hash table of 512 buckets, 4Kbytes                        
TCP: Hash tables configured (established 2048 bind 2048)        
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.                    
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
cs: socket c0272000 timed out during reset.  Try increasing setup_delay. 
RAMDISK: Compressed image found at block 0         
Freeing initrd memory: 5859K 
VFS: Mounted root (ext2 filesystem).                                    
Freeing init memory: 76K  
INIT: version 2.74 booting                          
mount: fs type devpts not supported by kernel  
/dev/tty1: F   
INIT: Entering runlevel: 3                          
Starting system logger:  syslogd                                
Starting INET services:  inetd                              
Starting mouse /dev/fb0: File exists   
usb.c: registered new driver usbvnet5A   
Starting tty /dev/tty0: File exists   
Starting console mouse services:  gpm                                     
Starting rtc gpm: oops() invoked from gpm.c(952)                  
/dev/mouse: No such device

AT91RM9200DK login:                   
   Verifying Checksum ... OK                            

Starting kernel ...

Linux version 2.4.19-rmk7 (root@RedHat-Server) (gcc version 2.95.2 19991024 (release)) #149 Wed Nov 17 18:29:54 CST 2004
CPU: Arm920Tid(wb) revision 0                             
Machine: ATMEL AT91RM9200
On node 0 totalpages: 8192                          
zone(0): 8192 pages.
zone(1): 0 pages. 
zone(2): 0 pages. 
Kernel command line: root=/dev/ram rw initrd=0x21000000,6000000 ramdisk_size=153
60 console=ttyS0,115200 mem=32M
Console: colour dummy device 80x30 
Calibrating delay loop... 29.90 BogoMIPS                                        
Memory: 32MB = 32MB total                         
Memory: 24668KB available (1450K code, 318K data, 76K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)       
Inode cache hash table entries: 2048 (orde
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: 8192 (order: 3, 32768 bytes)
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     
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
SSD1906: Phys Mem address:c280f000 Phys Reg address:c280d000                                    
SSD1906 is powered up                     
SSD1906 vertical sync signal exists   
Console: switching to colour frame buffer device 40x30
fb0: ssd1906 frame buffer device                                
Display 320 x 240  16BPP
Uniform Multi-Platform E-IDE driver Revision: 6.31 
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize
SCSI subsystem driver Revision: 1.00                                    
Linux Kernel Card Services 3.1.22                                 
  options:  none  
usb.c: registered new driver usbdevfs                                     
usb.c: registered new driver hub                                
usb.c: registered new driver hid                                
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik      
hid-core.c: USB HID support drivers                                   
Initializing USB Mass Storage driver...                                       
usb.c: registered new driver usb-storage                                        
USB Mass Storage support registered.                                    
mice: PS/2 mouse device common for all mice   
ttyS0 at MEM 0xfefff200 (irq = 1) is a AT91_SERIAL 
ttyS1 at MEM 0xfefc4000 (irq = 7) is a AT91_SERIAL      
eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex (00:00:00:00:00:00)
AT91 Watchdog Timer enabled (5 seconds)                                       
AT91 Real Time Clock driver  
usb-ohci.c: USB OHCI at membase 0xc2855000, IRQ 23    
usb.c: new USB bus registered, assigned bus number 1      
hub.c: USB hub found     
hub.c: 2 ports detected   
i2c-dev.o: Registered 'AT91RM9200' as minor 0  
Found AT91 i2c 
AT91 SPI driver loaded
at91_dataflash: Atmel AT45DB642 detected [spi0] (8650752 bytes)    
Creating 5 MTD partitions on "Atmel AT45DB642":
0x00000000-0x00028380 : "ROM-Boot + U-Boot (0.2M)" 
0x00028380-0x00101d00 : "Kernel Image (0.8M)"
0x00101d00-0x00407400 : "Cramfs FileSystem (3M)"      
0x00407400-0x004a1f00 : "JFFS2 FileSystem (0.6M)"       
0x004a1f00-0x00840000 : "Ext2 RootFS (3.4M)"
AT91 CF driver v1.0      
AT91 PCMCIA (CS release 3.1.22) IO at <6>0xc285b000 <6>               
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 2048 bind 2048)         
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.      
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com              
cs: socket c0272000 timed out during reset.  Try increasi
RAMDISK: Compressed image found at block 0        
Freeing initrd memory: 5859K       
VFS: Mounted root (ext2 filesystem).    
Freeing init memory: 76K
INIT: version 2.74 booting
mount: fs type devpts not supported by kernel
/dev/tty1: File exists
INIT: Entering runlevel: 3
Starting system logger:  syslogd
Starting INET services:  inetd
Starting mouse /dev/fb0: File exists
usb.c: registered new driver usbvnet5A

Starting tty /dev/tty0: File exists

Starting console mouse services:  gpm
Starting rtc gpm: oops() invoked from gpm.c(952)
/dev/mouse: No such device

AT91RM9200DK login: root
[root@/root]$ls
bin           usbvnet5A.o   mginit        painter       launcher.sh
tools         bomb          controlpanel  notebook
[root@/root]$top
top: Unknown terminal "vt100" in $TERM
[root@/root]$

   今天在培训的时候发现这块板子价值12000¥,当时吓了一跳呵呵,原来一直以为是1千来块的普通开发板,还是在清理实验室的时候从某抽屉的角落里翻出来的!:)
--
阅读(1437) | 评论(1) | 转发(0) |
0

上一篇:Debian iptable

下一篇:VIM常用插件(推荐!)

给主人留下些什么吧!~~

chinaunix网友2008-12-25 10:32:40

遇到过屏上同时显示几个输入光标吗?我现在遭遇了,郁闷呢。