原创 开发板上linux启动的相关信息解析

2010-1-15 16:50 2484 8 9 分类: MCU/ 嵌入式

开发板上linux启动的相关信息<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


Press Return to start the LINUX now, any other key for vivi


Copy linux kernel from 0x00030000 to 0x30008000, size = 0x00100000 ... done(从Flash拷贝到SDRAM上,大小为<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />1M


zImage magic = 0x016f2818


Setup linux parameters at 0x30000100


linux command line is: "noinitrd root="/dev/bon/3" init="/linuxrc" console="ttyS0""


MACH_TYPE = 193


NOW, Booting Linux......


Uncompressing Linux.............................................................


 done, booting the kernel.


Linux version 2.4.18-rmk7-pxa1 (root@BC) (gcc version 2.95.2 20000516 (release)


[Rebel.com]) #281 12 22 14:06:55 CST 2007   (内核版本信息,编译时自动加入)


CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0  (处理器的相关信息,这是通过确/arm2410cl/kernel/linux-2.4.18-2410cl/init/main.c 中的setup_arch()函数打印的)


Machine: Samsung-SMDK2410                    (结构为Samsung-SMDK2410


On node 0 totalpages: 16384                       (总共为16384页,为16384*4K


zone(0): 16384 pages.                            (映射的区域为zone 0,整个页都在这)


zone(1): 0 pages.


zone(2): 0 pages.


Kernel command line: noinitrd root="/dev/bon/3" init="/linuxrc" console="ttyS0" /arm2410cl/kernel/linux-2.4.18-2410cl/init/main.c 中的printk("Kernel command line: %s\n", saved_command_line);来实现的,root说明启动的时候使用哪一种系统,如2410使用NFS或是yaffs系统启动。init启动时初始化的配置信息,表示使用的是rc文件进行启动的(在开发板中/etc/rc),在启动时自动对应其配置文件)


/*以下注释不做说明表其函数均在/arm2410cl/kernel/linux-2.4.18-2410cl/init/main.c */


Console: colour dummy device 80x30     console_init();    初始化控制台,通过串口进行连接的控制台)


Calibrating delay loop... 99.94 BogoMIPS  calibrate_delay();        //同步延时)


Memory: 64MB = 64MB total                               (mem_init();     //初始化内存空间)


 


Memory: 62428KB available (1548K code, 430K data, 64K init)  


Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)     (kmem_cache_sizes_init();  //初始化cache)


Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)     (proc_caches_init();//proc目录里的cache进行初始化)


Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)    (vfs_caches_init(mempages); //对虚拟文件cache进行初始化)


Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)   buffer_init(mempages)   //缓存初始化)


Page-cache hash table entries: 16384 (order: 4, 65536 bytes)    (page_cache_init(mempages); //pagecache初始)


POSIX conformance testing by UNIFIX                (printk("POSIX conformance testing by UNIFIX\n");)


Linux NET4.0 for Linux 2.4                              (sock_init();     //网络相关初始化)


Based upon SwanseaUniversity Computer Society NET3.039


Initializing RT netlink socket


BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc


Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>


CPU clock = 202.800000 Mhz, HCLK = 101.400000 Mhz, PCLK = 50.700000 Mhz


Initializing S3C2410 buffer pool for DMA workaround


Starting kswapd


devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)


devfs: boot_options: 0x1


Samsung S3C2410X (i2c) algorithm module version 2.6.1 (20010830)


iic_s3c2410_init: Samsung S3C2410X iic adapter module version 2.6.1 (20010830)


i2c-dev.o: Registered 'Samsung S3C2410X IIC adapter' as minor 0


s3c2410_init: Initialized IIC on S3C2410X, 281kHz clock


iic_s3c2410_init: initialized iic-bus at 0xf4000000.


tts/%d0 at I/O 0x50000000 (irq = 52) is a S3C2410


tts/%d1 at I/O 0x50004000 (irq = 55) is a S3C2410


tts/%d2 at I/O 0x50008000 (irq = 58) is a S3C2410


Console: switching to colour frame buffer device 80x60


Installed S3C2410 frame buffer


pty: 256 Unix98 ptys configured


S3C2410 Real Time Clock Driver v0.1


block: 128 slots per queue, batch="32"


PPP generic driver version 2.4.1


s3c2410_dm9k_init is finished


 iobase = ioremap: 10000000


 iobase = ioremap(iobase, 0x3): c48b0000


id_val == DM9KS_ID: 90000a46


<DM9KS> I/O: c48b0000, VID: 90000a46


dm_defethaddr): 8


dm_defethaddr): 0


dm_defethaddr): 3e


dm_defethaddr): 26


dm_defethaddr): a


dm_defethaddr): 8c


s3c2410_dm9k_init is finished


 iobase = ioremap: 10000004


 iobase = ioremap(iobase, 0x3): c48c0004


id_val == DM9KS_ID: 0


SCSI subsystem driver Revision: 1.00


request_module[scsi_hostadapter]: Root fs not mounted


UDA1341 audio driver initialized


NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)


Find a MTD partition from BONFS -> nandflash0 (bon4)


Creating 1 MTD partitions on "Samsung K9D1208V0M":


0x00430000-0x03f30000 : "nandflash0 (bon4)"


devfs_mk_dir(bon): using old entry in dir: c03780a0 ""


bon0: 00000000-00020000 (00020000) 00000000


bon1: 00020000-00030000 (00010000) 00000000


bon2: 00030000-00130000 (00100000) 00000000


bon3: 00130000-00430000 (00300000) 00000000


bon4: 00430000-03f30000 (03b00000) 00000001


bon5: 03f30000-03ffc000 (000cc000) 00000000


usb.c: registered new driver usbdevfs


usb.c: registered new driver hub


usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26


usb.c: new USB bus registered, assigned bus number 1


hub.c: USB hub found


port #1 suspened!


port #0 alived!


hub.c: 1 port detected


hub.c: USB new device connect on bus1/1, assigned device number 2


usb.c: registered new driver usb_mouse


hub.c: USB hub found


hub.c: 4 ports detected


usbmouse.c: v1.6:USB HID Boot Protocol mouse driver


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


NET4: Linux TCP/IP 1.0 for NET4.0


IP Protocols: ICMP, UDP, TCP, IGMP


IP: routing cache hash table of 512 buckets, 4Kbytes


TCP: Hash tables configured (established 4096 bind 4096)


NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.


NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com


VFS: Mounted root (cramfs filesystem).


Mounted devfs on /dev


Freeing init memory: 64K


hub.c: USB new device connect on bus1/1/4, assigned device number 3


input0:  USB Optical Mouse on usb1:3.0


yaffs: dev is 7937 name is "1f:01"


Using /mnt/yaffs/temp/i2c-tomega8.o


no PS/2 device found on PS/2 Port 0!


no PS/2 device found on PS/2 Port 1!


Using /mnt/yaffs/temp/serial_8250.o


ttse/%d0 at I/O 0xdb000000 (irq = 1) is a 16550A


Using /mnt/yaffs/app/07_camera/videodev.o


Linux video capture interface: v1.00


Using /mnt/yaffs/app/07_camera/spca5xx.o


usb.c: registered new driver spca5xx


drivers/usb/spca5xx.c: spca5xx driver 00.57.10 registered


Using /mnt/yaffs/app/03_ad/driver/s3c2410-adc.o


s3c2410-adc     initialized


run myuser -qws ing ......


/mnt/yaffs/myuser: Symbol `_ZTI7QWidget' has different size in shared object, co


nsider re-linking


QObject: Do not delete object, 'unnamed', during its event handler!

PARTNER CONTENT

文章评论1条评论)

登录后参与讨论

dmu_xw 2010-1-15 16:54

未完待续
相关推荐阅读
dmu_xw 2010-05-18 10:15
双重while中利用break跳出循环的问题
while(SlaveState ==0)         {<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:...
dmu_xw 2010-05-18 10:05
运算符和结合顺序问题
temp4 = (ReciveBuf[0]&0x80 == 0x80)&&(ReciveBuf[1]&0xe0 == 0xe0)&&(ReciveBuf...
dmu_xw 2010-05-12 10:18
while中利用break跳出循环
void Check_MACID() {           unsigned char data CheckCount = 0;       //MAC ID检查次数           unsig...
dmu_xw 2010-05-07 19:49
SJA1000中断的一点理解
SJA1000中断的一点理解SJA1000可提供中断方式和查询方式接收和发送数据。先说发送中断,若不做特殊要求不必利用发送中断,只要将数据写入发送缓冲区,启动发送命令就可以了,完全可以实现数据的发送,...
dmu_xw 2010-05-04 10:26
报警板调试记录
(1)发送数据函数,其中第15行为延时,不加时收到数据只为FE,加延时后才可收到7个数据.void sendKeynum(char mu,char n)               //向上位机发送连...
dmu_xw 2010-01-16 20:56
设备驱动加载到linux内核流程及两种加载方式
1.将设备驱动加载到linux内核中,第一步是配置Makefile文件,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:of...
EE直播间
更多
我要评论
1
8
关闭 站长推荐上一条 /3 下一条