# dmesg
[ 0.000000] Linux version 2.6.38.8 (root@HIK-RD-CI-Frontend) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) )
[ 0.000000] #33 PREEMPT Fri Oct 24 10:46:55 CST 2014
[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Coconut
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Ambarella: AHB = 0x60000000[0xf0000000],0x01000000 0
[ 0.000000] Ambarella: APB = 0x70000000[0xf1000000],0x01000000 0
[ 0.000000] Ambarella: PPM = 0xc0000000[0xe0000000],0x00200000 9
[ 0.000000] Ambarella: BSB = 0xc8c00000[0xe8c00000],0x00400000 9
[ 0.000000] Ambarella: DSP = 0xc9000000[0xe9000000],0x07000000 9
[ 0.000000] Ambarella: HAL = 0xc00a0000[0xfee00000],0x0000e708 9
[ 0.000000] On node 0 totalpages: 25344
[ 0.000000] free_area_init_node: node 0, pgdat c04dd028, node_mem_map c0503000
[ 0.000000] Normal zone: 198 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 25146 pages, LIFO batch:7
[ 0.000000] bootmem_init: high_memory = 0xc8a00000
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25146
[ 0.000000] Kernel command line: console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=0 KRN_PRT=pri RMD_PRT=pri reserved=0xc6500000,0x100000,99 video=amb0fb:720x480,720x480,1,0
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 99MB = 99MB total
[ 0.000000] Memory: 91192k/91192k available, 10184k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xfe600000 - 0xfee00000 ( 8 MB)
[ 0.000000] vmalloc : 0xc9000000 - 0xe0000000 ( 368 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8a00000 ( 138 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc002d000 ( 148 kB)
[ 0.000000] .text : 0xc002d000 - 0xc04aa000 (4596 kB)
[ 0.000000] .data : 0xc04aa000 - 0xc04dd6e0 ( 206 kB)
[ 0.000000] Preemptable hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:224
[ 0.000000] sched_clock: 32 bits at 72MHz, resolution 13ns, wraps every 59652ms
[ 0.000000] sched_clock: wrong multiply/shift: 1864135111>>27 vs calculated 3728270222>>28
[ 0.000000] sched_clock: fix multiply/shift to avoid scheduler hiccups
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttyS0] enabled
[ 0.000599] Calibrating delay loop... 525.92 BogoMIPS (lpj=2629632)
[ 0.260143] pid_max: default: 32768 minimum: 301
[ 0.260568] Mount-cache hash table entries: 512
[ 0.261372] CPU: Testing write buffer coherency: ok
[ 0.268096] NET: Registered protocol family 16
[ 0.279073] Ambarella Coconut:
[ 0.279108] chip id: 5100
[ 0.279122] board type: 3
[ 0.279136] board revision: 10
[ 0.279149] chip name: a5m
[ 0.279162] HAL version: 176869
[ 0.279179] reference clock: 24000000
[ 0.279197] system configuration: 0x177804ea
[ 0.279214] boot type: 0x00000002
[ 0.279229] hif type: 0x00000000
[ 0.307492] bio: create slab <bio-0> at 0
[ 0.310056] ambarella-spi ambarella-spi.0: ambarella SPI Controller 0 created
[ 0.321212] ambarella-i2c ambarella-i2c.0: Ambarella Media Processor I2C adapter[i2c-0] probed!
[ 0.322787] ambarella-i2c ambarella-i2c.1: Ambarella Media Processor I2C adapter[i2c-1] probed!
[ 0.324242] i2c i2c-0: Added multiplexed i2c bus 2
[ 0.324285] ambarella-i2cmux ambarella-i2cmux.0: mux on ambarella-i2c adapter
[ 0.327264] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.331580] cfg80211: Calling CRDA to update world regulatory domain
[ 0.333263] Switching to clocksource ambarella-cs-timer
[ 0.340192] Switched to NOHz mode on CPU #0
[ 0.397509] NET: Registered protocol family 2
[ 0.397872] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.398779] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.398986] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.399133] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.399156] TCP reno registered
[ 0.399185] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.399231] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.399877] NET: Registered protocol family 1
[ 0.400807] RPC: Registered udp transport module.
[ 0.400845] RPC: Registered tcp transport module.
[ 0.400865] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.401375] Trying to unpack rootfs image as initramfs...
[ 0.404035] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 0.438709] Freeing initrd memory: 4096K
[ 0.441745] [ kernel version: svn-97978 ]
[ 0.441851] mmc0 power register success!
[ 0.441893] mmc1 power register success!
[ 0.442032] reboot times :1
[ 0.465172] msgmni has been set to 186
[ 0.473869] alg: No test for stdrng (krng)
[ 0.474030] io scheduler noop registered
[ 0.474059] io scheduler deadline registered
[ 0.474236] io scheduler cfq registered (default)
[ 0.477988] ambarella-fb ambarella-fb.0: probe p[720x480] v[720x576] c[1] b[0] l[736] @ [0xc5980000:0x00068000]!
[ 0.479850] ambarella-uart.0: ttyS0 at MMIO 0x70005000 (irq = 9) is a ambuart
[ 0.516624] brd: module loaded
[ 0.531150] loop: module loaded
[ 0.534754] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
[ 0.534800] ambarella_nand_config_flash: 0x02e00140, 0x02c00140
[ 0.535227] Bad block table found at page 65472, version 0x01
[ 0.535762] Bad block table found at page 65408, version 0x01
[ 0.536072] nand_read_bbt: Bad block at 0x0000037e0000
[ 0.541724] ambarella-nand ambarella-nand: ambarella_nand_probe: Partition infomation found!
[ 0.541789] Creating 18 MTD partitions on "ambnand":
[ 0.541826] 0x000000000000-0x000000020000 : "bst"
[ 0.546037] 0x000000020000-0x000000120000 : "ptb"
[ 0.549854] 0x000000120000-0x000000220000 : "bld"
[ 0.553966] 0x000000220000-0x000000320000 : "hal"
[ 0.557860] 0x000000320000-0x000000420000 : "ano_ptb"
[ 0.561791] 0x000000420000-0x0000004a0000 : "env"
[ 0.566074] 0x0000004a0000-0x000000520000 : "param"
[ 0.570084] 0x000000520000-0x000000620000 : "dpt"
[ 0.574424] 0x000000620000-0x000001020000 : "rcvy"
[ 0.578638] 0x000001020000-0x000001820000 : "krn_pri"
[ 0.582554] 0x000001820000-0x000002020000 : "krn_sec"
[ 0.586782] 0x000002020000-0x000002420000 : "rmd_pri"
[ 0.590778] 0x000002420000-0x000002820000 : "rmd_sec"
[ 0.595098] 0x000002820000-0x000004020000 : "app_pri"
[ 0.599266] 0x000004020000-0x000005820000 : "app_sec"
[ 0.603741] 0x000005820000-0x000005c20000 : "cfg_pri"
[ 0.607892] 0x000005c20000-0x000006020000 : "cfg_sec"
[ 0.612201] 0x000006020000-0x000007020000 : "dbg"
[ 0.623819] PPP generic driver version 2.4.2
[ 0.625244] PPP Deflate Compression module registered
[ 0.625286] PPP BSD Compression module registered
[ 0.818674] Ambarella MII Bus: probed
[ 0.820345] ambarella-eth ambarella-eth.0: MAC Address[c0:56:e3:fb:b9:ad].
[ 0.821085] console [netcon0] enabled
[ 0.821113] netconsole: network logging started
[ 0.822791] mousedev: PS/2 mouse device common for all mice
[ 0.824017] input: AmbInput as /devices/virtual/input/input0
[ 0.825053] ambarella_gpio_irq_set_wake: irq[75] = girq[11] = 1
[ 0.825097] ambarella-input ambarella-input: AmbInput probed!
[ 0.826132] ambarella-adc ambarella-adc: ADC Host Controller [polling mode] probed!
[ 0.827840] ambarella-rtc ambarella-rtc: rtc core: registered ambarella-rtc as rtc0
[ 0.828432] i2c /dev entries driver
[ 0.833522] ambarella-wdt ambarella-wdt: Ambarella Media Processor Watch Dog Timer[ambarella-wdt].
[ 0.840222] ALSA device list:
[ 0.840255] No soundcards found.
[ 0.840438] Netfilter messages via NETLINK v0.30.
[ 0.840655] nf_conntrack version 0.5.0 (1488 buckets, 5952 max)
[ 0.841331] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.841508] TCP cubic registered
[ 0.841942] NET: Registered protocol family 10
[ 0.844937] Mobile IPv6
[ 0.845072] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 0.845331] IPv6 over IPv4 tunneling driver
[ 0.849165] NET: Registered protocol family 17
[ 0.850004] sctp: Hash tables configured (established 4096 bind 8192)
[ 0.850351] sctp: sctp_init_sock(sk: c58d6b20)
[ 0.850473] lib80211: common routines for IEEE802.11 drivers
[ 0.850508] lib80211_crypt: registered algorithm 'NULL'
[ 0.854843] ambarella-rtc ambarella-rtc: setting system clock to 2015-12-22 12:48:34 UTC (1450788514)
[ 0.855678] RAMDISK: gzip image found at block 0
[ 1.672432] EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is recommended
[ 1.672623] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 1.672834] Freeing init memory: 148K
[ 3.701438] UBI: attaching mtd13 to ubi1
[ 3.701480] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 3.701505] UBI: logical eraseblock size: 129024 bytes
[ 3.701524] UBI: smallest flash I/O unit: 2048
[ 3.701541] UBI: sub-page size: 512
[ 3.701559] UBI: VID header offset: 512 (aligned 512)
[ 3.701579] UBI: data offset: 2048
[ 3.760149] UBI: max. sequence number: 184
[ 3.785558] UBI: attached mtd13 to ubi1
[ 3.785591] UBI: MTD device name: "app_pri"
[ 3.785612] UBI: MTD device size: 24 MiB
[ 3.785631] UBI: number of good PEBs: 191
[ 3.785647] UBI: number of bad PEBs: 1
[ 3.785663] UBI: number of corrupted PEBs: 0
[ 3.785679] UBI: max. allowed volumes: 128
[ 3.785695] UBI: wear-leveling threshold: 4096
[ 3.785712] UBI: number of internal volumes: 1
[ 3.785728] UBI: number of user volumes: 1
[ 3.785743] UBI: available PEBs: 0
[ 3.785759] UBI: total number of reserved PEBs: 191
[ 3.785777] UBI: number of PEBs reserved for bad PEB handling: 2
[ 3.785798] UBI: max/mean erase counter: 12/6
[ 3.785814] UBI: image sequence number: 738098785
[ 3.794019] UBI: background thread "ubi_bgt1d" started, PID 627
[ 3.868633] UBIFS: recovery needed
[ 3.899664] UBIFS: recovery completed
[ 3.899711] UBIFS: mounted UBI device 1, volume 0, name "app_pri"
[ 3.899741] UBIFS: file system size: 22708224 bytes (22176 KiB, 21 MiB, 176 LEBs)
[ 3.899768] UBIFS: journal size: 1161216 bytes (1134 KiB, 1 MiB, 9 LEBs)
[ 3.899793] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 3.899811] UBIFS: default compressor: lzo
[ 3.899829] UBIFS: reserved for root: 1072565 bytes (1047 KiB)
[ 6.442644] UBI: attaching mtd15 to ubi3
[ 6.442687] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 6.442714] UBI: logical eraseblock size: 129024 bytes
[ 6.442733] UBI: smallest flash I/O unit: 2048
[ 6.442751] UBI: sub-page size: 512
[ 6.442770] UBI: VID header offset: 512 (aligned 512)
[ 6.442790] UBI: data offset: 2048
[ 6.451550] UBI: max. sequence number: 105
[ 6.475632] UBI: attached mtd15 to ubi3
[ 6.475665] UBI: MTD device name: "cfg_pri"
[ 6.475687] UBI: MTD device size: 4 MiB
[ 6.475704] UBI: number of good PEBs: 32
[ 6.475720] UBI: number of bad PEBs: 0
[ 6.475736] UBI: number of corrupted PEBs: 0
[ 6.475752] UBI: max. allowed volumes: 128
[ 6.475768] UBI: wear-leveling threshold: 4096
[ 6.475785] UBI: number of internal volumes: 1
[ 6.475800] UBI: number of user volumes: 1
[ 6.475816] UBI: available PEBs: 0
[ 6.475832] UBI: total number of reserved PEBs: 32
[ 6.475850] UBI: number of PEBs reserved for bad PEB handling: 2
[ 6.475871] UBI: max/mean erase counter: 18/16
[ 6.475888] UBI: image sequence number: 1922621179
[ 6.484035] UBI: background thread "ubi_bgt3d" started, PID 637
[ 6.558702] UBIFS: recovery needed
[ 6.585954] UBIFS: recovery completed
[ 6.586001] UBIFS: mounted UBI device 3, volume 0, name "cfg_pri"
[ 6.586029] UBIFS: file system size: 2193408 bytes (2142 KiB, 2 MiB, 17 LEBs)
[ 6.586057] UBIFS: journal size: 1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)
[ 6.586081] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 6.586100] UBIFS: default compressor: lzo
[ 6.586118] UBIFS: reserved for root: 103599 bytes (101 KiB)
[ 6.689040] UBI: attaching mtd16 to ubi4
[ 6.689081] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 6.689105] UBI: logical eraseblock size: 129024 bytes
[ 6.689125] UBI: smallest flash I/O unit: 2048
[ 6.689142] UBI: sub-page size: 512
[ 6.689161] UBI: VID header offset: 512 (aligned 512)
[ 6.689182] UBI: data offset: 2048
[ 6.697962] UBI: max. sequence number: 110
[ 6.721316] UBI: attached mtd16 to ubi4
[ 6.721350] UBI: MTD device name: "cfg_sec"
[ 6.721370] UBI: MTD device size: 4 MiB
[ 6.721388] UBI: number of good PEBs: 32
[ 6.721404] UBI: number of bad PEBs: 0
[ 6.721420] UBI: number of corrupted PEBs: 0
[ 6.721435] UBI: max. allowed volumes: 128
[ 6.721452] UBI: wear-leveling threshold: 4096
[ 6.721469] UBI: number of internal volumes: 1
[ 6.721484] UBI: number of user volumes: 1
[ 6.721500] UBI: available PEBs: 0
[ 6.721517] UBI: total number of reserved PEBs: 32
[ 6.721534] UBI: number of PEBs reserved for bad PEB handling: 2
[ 6.721555] UBI: max/mean erase counter: 18/16
[ 6.721571] UBI: image sequence number: 894428365
[ 6.723482] UBI: background thread "ubi_bgt4d" started, PID 648
[ 6.804747] UBIFS: recovery needed
[ 6.871138] UBIFS: recovery completed
[ 6.871184] UBIFS: mounted UBI device 4, volume 0, name "cfg_sec"
[ 6.871211] UBIFS: file system size: 2193408 bytes (2142 KiB, 2 MiB, 17 LEBs)
[ 6.871239] UBIFS: journal size: 1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)
[ 6.871264] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 6.871283] UBIFS: default compressor: lzo
[ 6.871301] UBIFS: reserved for root: 103599 bytes (101 KiB)
[ 8.046638] net eth0: Could not find default PHY in 9.
[ 8.046680] net eth0: Try PHY[9] whose id is 0x00008201!
[ 8.047899] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.043890] PHY: 0:09 - Link is Up - 100/Full
[ 10.044103] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 16.127198] dsp: module license 'Proprietary' taints kernel.
[ 16.127237] Disabling lock debugging due to kernel taint
[ 16.206029] img: aaa_fifo2_base malloc c2840000
[ 16.625428] >>>>>> DSP LOG ADDR START PHY 0xc0080000
[ 16.625463] Init software HR timer for DSP communication
[ 16.655366] cdev_init rs485_fops ...
[ 16.655418] adding uart1, minor = 0
[ 16.658960] Successfully insmod uart232 module!
[ 16.800684] amba_debug_init 248:248.
[ 20.843356] eth0: no IPv6 routers present
[ 32.883598] ak4954 i2c probe
[ 32.883837] ak4954 mode init
[ 32.921853] ak4954-codec 0-0012: AK4954 Audio Codec 0.1AK4954 probe
[ 32.922054] ambarella-i2c ambarella-i2c.0: ambarella_i2c_stop[2] from 1 to 9
[ 32.922219] ambarella-i2c ambarella-i2c.0: ambarella_i2c_irq in wrong state[0x9]
[ 32.922259] ambarella-i2c ambarella-i2c.0: status_reg[0x40]
[ 32.922282] ambarella-i2c ambarella-i2c.0: control_reg[0x3]
[ 33.913432] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
[ 33.913477] ambarella-i2c ambarella-i2c.0: I2C state 0x9, please check address 0x24!
[ 33.973417] <ak4954_probe>audio codec's ID = 177
[ 34.000271] audio codec AK4951 initialized!
[ 34.001835] asoc: ak4954-hifi <-> ambarella-i2s.0 mapping ok
[ 34.273724] <ak4954_set_in_volum>set device_id success!
[ 34.273764] AK4954:set input volum 50
[ 34.394987] ========== SD Driver Build Date: May 16 2014, Time: 17:18:21 ==========
[ 34.395190] SD card slot0, card detect mode:soft poll
[ 34.395433] ambarella-sd ambarella-sd.0: Slot0 use bounce buffer[0xc26e0000<->0xc28e0000]
[ 34.395475] ambarella-sd ambarella-sd.0: Slot0 req_size=131072, segs=32, seg_size=131072
[ 34.395646] ambarella-sd ambarella-sd.0: Slot1 use bounce buffer[0xc21c0000<->0xc23c0000]
[ 34.395683] ambarella-sd ambarella-sd.0: Slot1 req_size=131072, segs=32, seg_size=131072
[ 34.473508] ambarella-sd ambarella-sd.0: Ambarella SD/MMC[0] probed 2 slots, 0x09e130b0!
[ 34.973534] mmc0: new high speed SDHC card at address aaaa
[ 34.985163] mmcblk0: mmc0:aaaa SL64G 59.4 GiB
[ 35.001709] mmcblk0: p1
[ 35.166423] MT9T002 sensor ID is 0x2604
[ 35.216786] CMEMK module: built on Aug 23 2012 at 17:05:43
[ 35.216834] Reference Linux version 2.6.38
[ 35.216853] File /mnt/data_bsp/data_yuhuanhuan/raptor/a5s_svn2/kernel/hik_drivers/cmem/src/module/cmemk.c
[ 35.224545] cmemk initialized
[ 37.983834] set audio rates 8000Hz
[ 38.063579] set audio rates 8000Hz
[ 43.163704] mmc0: card aaaa removed
[ 45.453870] iav error: Failed to wait for completion!
[ 45.542476] iav error: Failed to wait for completion!
[ 46.574011] mmc0: new high speed SDHC card at address aaaa
[ 46.589703] mmcblk0: mmc0:aaaa SL64G 59.4 GiB
[ 46.608025] mmcblk0: p1