DM368启动串口打印分析
DM36x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader //启动目录Boot Loader
BootMode = NAND //从nand启动
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
DONE
Jumping to entry point at 0x81080000.
PINMUX :- e54000
U-Boot 1.3.4 (Sep 15 2011 - 20:23:44) DM368-IPNC-1.0.1
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit) //nand设备,机器码,芯片id
Bad block table found at page 65472, version 0x01 //打印坏块
Bad block table found at page 65408, version 0x01
128 MiB //DDR SDRAM 内存大小
In: serial
Out: serial
Err: serial
ARM Clock :- 432MHz //arm cpu的时钟
DDR Clock :- 340MHz //DDR时钟
PINMUX :- e54000
Ethernet PHY: GENERIC @ 0x01 //物理网卡
Hit any key to stop autoboot: 0
TFTP from server 192.168.0.147; our IP address is 192.168.0.162 //服务器地址,本机地址
Filename 'uImage_ylp_web'. //烧写内核
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
################
done
Bytes transferred = 3092860 (2f317c hex)
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3092796 Bytes = 2.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.000000] Linux version 2.6.18_pro500-davinci_IPNC_DM368_3.1.0 (root@localhost.localdomain) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Thu Nov 22 01:01:54 PST 2012
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] Machine: DaVinci DM368 IPNC
[ 0.000000] Memory policy: ECC disabled, Data cache writeback //内存优先级:禁止ECC,写回数据缓存
[ 0.000000] DaVinci DM0365 variant 0x8
[ 0.000000] PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000 //锁相环:fixed固定频率 common普通频率 vpss视频处理子系统频率
[ 0.000000] PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 97142857 //DDR SDRAM 内存频率 SD频率
[ 0.000000] PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000 //arm频率
[ 0.000000] CPU0: D VIVT write-back cache //高速缓冲区
[ 0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[ 0.000000] CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
[ 0.000000] Built 1 zonelists. Total pages: 12288
//内核启动参数
[ 0.000000] Kernel command line: mem=48M console=ttyS0,115200n8 root=/dev/nfs nfsroot=192.168.0.147:/home/ylp/rootfs nolock ip=192.168.0.162:192.168.0.100:192.168.0.1:255.255.255.0:::off eth=20:12:12:02:09:08 lpj=739328 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap="1"
[ 0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: 20:12:12:02:09:08 //mac网卡地址参数
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes) //进程标识哈希表条目
[ 0.000000] Clock event device timer0_0 configured with caps set: 07 //配置设定时钟事件的装置 07帽
[ 0.000000] Console: colour dummy device 80x30 //控制台:彩色虚拟设备
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) //dentry缓存的哈希表条目
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) //节点缓存哈希表条目
[ 0.000000] Memory: 48MB = 48MB total //48M内存大小.45440KB可用
[ 0.000000] Memory: 45440KB available (2697K code, 315K data, 180K init)
[ 0.000000] Calibrating delay loop (skipped)... 147.86 BogoMIPS preset //校准延迟环(跳过)…147.86 bogomips预置
[ 0.000000] Security Framework v1.0.0 initialized //V1.0.0初始化安全框架
[ 0.000000] Capability LSM initialized //LSM电池初始化
[ 0.000000] Mount-cache hash table entries: 512 //挂载缓存的哈希表条目
[ 0.000000] CPU: Testing write buffer coherency: ok //CPU测试写入缓冲区的一致性:好
[ 0.010000] NET: Registered protocol family 16 //注册网络协议
[ 0.010000] DaVinci: 104 gpio irqs //104个gpio中断,初始化GPIO20,I2C_SCL,GPIO87
[ 0.010000] MUX: initialized GPIO20
[ 0.010000] MUX: initialized I2C_SCL
[ 0.010000] MUX: initialized GPIO87
[ 0.010000]
[ 0.010000] pinmux4 = 755515
[ 0.010000] Generic PHY: Registered new driver //注册新驱动,ch0默认输出,ntsc模式(美国国家电视系统委员会()
[ 0.010000] ch0 default output "COMPOSITE", mode "NTSC"
[ 0.020000] VPBE Encoder Initialized //视频前端(VPFE)和视频后端(VPBE),系统接口(SCSI)子系统初始化
[ 0.020000] SCSI subsystem initialized
[ 0.020000] NET: Registered protocol family 2 //注册网络协议
[ 0.110000] IP route cache hash table entries: 512 (order: -1, 2048 bytes) //IP路由缓存的哈希表中的条目
[ 0.110000] TCP established hash table entries: 2048 (order: 1, 8192 bytes) //TCP建立哈希表的项目:2048
[ 0.110000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) //TCP绑定哈希表条目:1024
[ 0.110000] TCP: Hash tables configured (established 2048 bind 1024) //TCP: Hash tables configured TCP雷诺注册
[ 0.110000]
[ 0.130000] VFS: Disk quotas dquot_6.5.1 //VFS:磁盘配额dquot_6.5.1
[ 0.130000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) //dquot缓存的哈希表的条目:1024
[ 0.130000] squashfs: version 3.1 (2006/08/19) Phillip Lougher //squashfs压缩只读文件系统, JFFS2闪存日志型文件系统第2版
[ 0.130000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
[ 0.130000] Initializing Cryptographic API //初始化加密API, IO调度器无操作注册,预期注册,期限注册
[ 0.130000] io scheduler noop registered
[ 0.130000] io scheduler anticipatory registered (default)
[ 0.130000] io scheduler deadline registered
[ 0.130000] io scheduler cfq registered
[ 0.170000] CSL: Module install successful, device major num = 253 //CSL,I2C控制总线:模块安装成功,装置主数目
[ 0.170000] CSL: Module version 0.10.00, built on Nov 22 2012 00:20:28
[ 0.170000] I2C: Module install successful, device major num = 252
[ 0.170000] DMA: Module install successful, device major num = 251
[ 0.170000] DRV: Module install successful
[ 0.170000] DRV: Module built on Nov 22 2012 00:20:37
[ 0.170000] DRV: EDMACC.QUEPRI = 00002777
[ 0.170000] DRV: SYSTEM.MSTPRI0 = 00440011
[ 0.170000] DRV: SYSTEM.MSTPRI1 = 00000444
[ 0.170000] DRV: ISP.BCR = 00000002
[ 0.170000] DRV: SYSTEM.MISC = 00000391
[ 0.170000] EDMAK module: built on Nov 22 2012 at 00:19:10
[ 0.170000] Reference Linux version 2.6.18
[ 0.170000] File /home/work/newwork/Source/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 0.170000] IRQK module: built on Nov 22 2012 at 00:19:13
[ 0.170000] Reference Linux version 2.6.18
[ 0.170000] File /home/work/newwork/Source/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 0.170000] irqk initialized
[ 0.170000] CMEMK module: built on Nov 22 2012 at 00:19:02
[ 0.170000] Reference Linux version 2.6.18
[ 0.170000] File /home/work/newwork/Source/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 0.170000] allocated heap buffer 0xc4000000 of size 0x5000000 //分配头缓冲区
[ 0.170000] CMEM Range Overlaps Kernel Physical - allowing overlap //CMEM内存允许物理内存范围重叠
[ 0.170000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 0.170000] cmemk initialized //初始化cmemk
[ 0.170000] Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled //串行,驱动,禁止共享终端,终端io映射
[ 0.180000] serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
[ 0.190000] serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
[ 0.200000] RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize //Ramdisk驱动程序初始化
[ 0.220000] Davinci EMAC MII Bus: probed //达芬奇EMAC MII总线:探测
[ 0.220000] MAC address is 20:12:12:02:09:08 //mac地址
[ 0.230000] TI DaVinci EMAC Linux version updated 4.0
[ 0.230000] Linux video capture interface: v2.00 //Linux的视频捕获接口
[ 0.240000] Trying to register davinci display video device. //注册达芬奇视频显示装置。 视频设备层
[ 0.240000] layer=c0481c00,layer->video_dev=c0481d60
[ 0.250000] Trying to register davinci display video device.
[ 0.250000] layer=c0481a00,layer->video_dev=c0481b60
[ 0.260000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded //davinci_init:达芬奇V4L2显示驱动程序安装
[ 0.270000] i2c /dev entries driver //i2c设备入口驱动
[ 0.270000] nand_davinci nand_davinci.0: Using 4-bit hardware ECC //nand flash使用4位硬件ECC
[ 0.280000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit) //NAND:制造商ID
[ 0.290000] Creating 6 MTD partitions on "nand_davinci.0": //在nand上创建6个分区,内核,参数,文件系统,数据
[ 0.290000] 0x00000000-0x00300000 : "bootloader"
[ 0.300000] 0x00300000-0x00500000 : "params"
[ 0.310000] 0x00500000-0x00900000 : "kernel"
[ 0.310000] 0x00900000-0x02100000 : "filesystem"
[ 0.320000] 0x02100000-0x02300000 : "data1"
[ 0.330000] 0x02300000-0x08000000 : "data2"
[ 0.330000] nand_davinci nand_davinci.0: hardware revision: 2.3 //nand硬件版本
[ 0.340000] MUX: initialized SPI0_SCLK //引脚初始化串行外设接口
[ 0.340000] MUX: initialized SPI0_SDO)
[ 0.340000] MUX: initialized SPI0_SDENA0
[ 0.350000] dm_spi.0: davinci SPI Controller driver at 0xc386e000 (irq = 42) use_dma=0 //达芬奇的SPI控制器驱动程序 0xc386e000
[ 0.360000] Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC). //高级Linux声音架构驱动程序版本
[ 0.370000] ASoC version 0.13.1 //ASoC架构音频驱动版本,
[ 0.380000] CQ0093 Voice Codec 0.1
[ 0.380000] asoc: cq93vc <-> davinci-vcif mapping ok
[ 0.390000] ALSA device list:
[ 0.390000] #0: On-chip voice codec (cq93vc)
[ 0.400000] IPv4 over IPv4 tunneling driver //IPv4在IPv4隧道驱动程序
[ 0.400000] TCP bic registered
[ 0.410000] NET: Registered protocol family 1
[ 0.410000] NET: Registered protocol family 17
[ 0.420000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.430000] Time: timer0_1 clocksource has been installed. //定时器时钟源
[ 0.430000] Clock event device timer0_0 configured with caps set: 08 //引脚配置,定时器的时钟事件
[ 0.430000] Switched to high resolution mode on CPU 0 //选择cpu的高分辨率模式
[ 0.460000] IP-Config: Complete: //ip配置完成
[ 0.460000] device=eth0, addr=192.168.0.162, mask=255.255.255.0, gw=192.168.0.1,
[ 0.470000] host=192.168.0.162, domain=, nis-domain=(none),
[ 0.470000] bootserver=192.168.0.100, rootserver=192.168.0.147, rootpath=
[ 0.480000] Looking up port of RPC 100003/2 on 192.168.0.147
[ 5.500000] Looking up port of RPC 100005/1 on 192.168.0.147
[ 5.510000] VFS: Mounted root (nfs filesystem).
[ 5.510000] Freeing init memory: 180K
INIT: version 2.86 booting
mknod: /dev/spidev0.0: File exists
Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
AlramThread created
Share memory init success
IPNC_DM368_3.1.0 (root@localhost.localdomain) (gcc version 4.2.
queue id:32769
Creat queue id:65538
queue id:65538
Creat queue id:98307
queue id:98307
queue id:65538
Setting up networking ...net_search_gateway:eth0, A8C0, 0, 1
CPU is DM365
*****************************************************************
IPNC BUILD VERSION: DM365 IPNC REF DESIGN VERSION 3.10.00.08
*****************************************************************
./av_server.out DM365 NTSC TI2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &
Check_device_version : DEVICE VER = 1 !!
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
AVSERVER UI: Initializing.
drv_vpss gpio set pinmux
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
.
log status
Starting portmap daemon: SYSTEM.MSTPRI0 value changed to 00440011
CONFIGURING AVSERVER FOR DM365 .....
queue id:65538
SENSOR FPS VALUE = 30
[ 8.710000] DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
[ 8.710000] layer.pix_fmt.bytesperline = 640,
[ 8.710000] layer.pix_fmt.width = 640,
[ 8.710000] layer.pix_fmt.height = 480,
[ 8.710000] layer.pix_fmt.sizeimage =460800
[ 8.740000] DavinciDisplay DavinciDisplay.1: pixfmt->width = 640,
[ 8.740000] layer->layer_info.config.line_length= 640
FR : 0 users registered from exsiting face album //0用户注册从现存的脸专辑
IPNC_DM368_3.1.0 (root@localhost.localdomain) (gcc version 4.2.
IPNC AUTO_IRIS = 1
log status
portmapstart_daemon
entry drv_imgs_MT9M034_1.2MP.c DRV_imgsEnable //驱动影响的ID
log success
.
log status
log status
Starting mounting local filesystems: log status //开始安装的本地文件系统:日志状态
mount none on /dev/shm type tmpfs (rw,size=5M) //挂载none在/dev/shm, 文件系统类型tmpfs
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
log success
log status
Starting hotplug subsystem: //启动热拔插子系统:
ApproDrvInit: 9
queue id:131076
Initializing...
...done initializing
ApproDrvInit: 8
queue id:131076
Initializing...
ApproDrvInit: 2
queue id:131076
Initializing...
...done initializing
Play this stream using the URL: //播放视频流
rtsp://192.168.0.168:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8300 for optional RTSP-over-HTTP tunneling.)
ApproDrvInit: 6
queue id:131076
Initializing...
...done initializing
Play this stream using the URL:
rtsp://192.168.0.168:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8301 for optional RTSP-over-HTTP tunneling.)
ApproDrvInit: 10
queue id:131076
Initializing...
...done initializing
Play this stream using the URL:
rtsp://192.168.0.168:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8304 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://192.168.0.168:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8303 for optional RTSP-over-HTTP tunneling.)
...done initializing
Play this stream using the URL:
rtsp://192.168.0.168:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
(We use port 8302 for optional RTSP-over-HTTP tunneling.)
usb
usb [success]
input
exit drv_imgs_MT9M034_1.2MP.c DRV_imgsEnable
input [success]
done.
TI AWB PRODUCTION VERSION 1.0.0
[ 12.550000] loop: loaded (max 8 devices)
Simple mixer control 'PGA',0
Capabilities: cvolume
Capture channels: Mono
Limits: Capture 0 - 3
Mono: Capture 2 [67%]
Simple mixer control 'Mono DAC',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 63
Mono: Playback 47 [75%]
sycOnvif Profile 1
[ 13.120000] tun: Universal TUN/TAP device driver, 1.6
SystemInit succe[ 13.120000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ss
Schedule manager init success
[ 13.620000] CSLIP: code copyright 1989 Regents of the University of California
[ 13.840000] netconsole: not configured, aborting
[ 14.030000] PPP generic driver version 2.4.2
[ 14.490000] PPP Deflate Compression module registered
Starting internet superserver: inetd.
[ 15.620000] sbulla: unknown partition table
insmod: /opt/ipnc/modules/des.ko: No such file or directory
insmod: /opt/ipnc/modules/md5.ko: No such file or directory
[ 17.450000] davinci-mmc davinci-mmc.0: Supporting 4-bit mode
[ 17.460000] davinci-mmc davinci-mmc.0: Using DMA mode
[ 18.190000] usbcore: registered new driver usbfs
[ 18.430000] usbcore: registered new driver hub
[ 18.770000] musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
[ 18.950000] musb_hdrc musb_hdrc: No DMA interrupt line
[ 18.950000] musb_hdrc: USB Peripheral mode controller at c38f8000 using DMA, IRQ 12
[ 19.360000] Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
[ 20.910000] sbulla: unknown partition table
mkdosfs 3.0.6 (04 Oct 2009)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
Root directory contains 512 slots.
Volume ID is 0162947e, no volume label.
queue id:0
umount: /mnt/mmc: not mounted
mount: /dev/mmcblk0 is not a valid block device
mount: /dev/mmcblk0p1 is not a valid block device
dns=192.168.0.1
net_search_gateway:eth0, A8C0, 0, 1
net_search_gateway:eth0, 0, FE00A8C0, 3
dns=192.168.0.1
umount: /mnt/mmc: not mounted
ERROR: Module g_file_storage does not exist in /proc/modules
[ 23.970000] g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005
[ 23.990000] g_file_storage gadget: Number of LUNs=1
[ 24.000000] g_file_storage gadget-lun0: ro=0, file: /dev/sbulla
[ 24.280000] system_server/280[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196
ApproDrvInit: 3
queue id:131076
queue id:0
queue id:32769
queue id:0
[01/Jan/1970:00:00:24 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:24 +0000] boa: server built Aug 28 2013 at 10:06:37.
[01/Jan/1970:00:00:24 +0000] boa: starting server pid=685, port 80
UDPString=uuid:Upnp-TVEmulator-1_0-00_0017252061</UDN>
Upnp port is 0
UPnP Initialized OK ip=192.168.0.168, port=49152
desc_doc_url = http://192.168.0.168/tvdevicedesc.xml
error code = 0
INIT: Entering runlevel: 5
de
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
192 login: root (automatic login)
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774).
login[717]: root login on `ttyS0'