This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[2014]DM814X SATA Limiting Speed to 1.5Gbps instead of 3Gbps

PSP 04.04.00.02

error like that:

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1: hard resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 300)
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 300)
ata1: limiting SATA link speed to 1.5 Gbps
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 310)
ata1: limiting SATA link speed to 1.5 Gbps

i found this thread:http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/197523/708355.aspx

but in this thread,psp version is psp04.04.00.01...

and i  can not open the link(kernel patch):

  • Tracy,

    What is the silicon revision of your DM814x device? Is it 3.0 or else?

    Note that only 3.0 device can work with SATA GEN3 devices. Refer to the DM814x Silicon Errata, Advisory 2.1.28 SATA: Link Establishment Fails With SATA GEN3 Capable Targets

    http://www.ti.com/lit/er/sprz343c/sprz343c.pdf

    tracy mcgrady said:
    and i  can not open the link(kernel patch):

    All kernel patches are here:

    http://arago-project.org/git/projects/?p=linux-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    The SATA related patches are:

    http://arago-project.org/git/projects/?p=linux-omap3.git&a=search&h=refs%2Fheads%2Fti81xx-master&st=commit&s=sata

    The patch for the 100MHz clock is:

    http://arago-project.org/git/projects/?p=linux-omap3.git;a=commit;h=135128bdbebb86f7a69554b99de596a22531affb

    Regards,
    Pavel

  • Thanks for your reply.

    in my custom board,the silicon revision of dm8148 is 2.1.

    but my hard disk is gen2...here is the log,sometime 3.0 Gbps,sometime 1.5Gbps(after some write)

    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: ATA-8: ST3500418AS, CC45, max UDMA/133
    ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access     ATA      ST3500418AS      CC45 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1 sda2
    sd 0:0:0:0: [sda] Attached SCSI disk

    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/00:00:00:00:00/01:00:00:00:00/40 tag 0 ncq 131072 in
             res 40/00:00:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete
    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/00:00:00:00:00/01:00:00:00:00/40 tag 0 ncq 131072 in
             res 40/00:00:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete

    ata1.00: exception Emask 0x10 SAct 0x3 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/80:00:38:ad:a3/00:00:03:00:00/40 tag 0 ncq 65536 in
             res 40/00:00:38:ad:a3/00:00:03:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/80:08:b8:ad:a3/00:00:03:00:00/40 tag 1 ncq 65536 in
             res 40/00:00:38:ad:a3/00:00:03:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete

    ata1.00: exception Emask 0x10 SAct 0x3 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/80:00:38:ad:a3/00:00:03:00:00/40 tag 0 ncq 65536 in
             res 40/00:00:38:ad:a3/00:00:03:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/80:08:b8:ad:a3/00:00:03:00:00/40 tag 1 ncq 65536 in
             res 40/00:00:38:ad:a3/00:00:03:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete

    2021.session302001.log
     0 
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.11.182; our IP address is 192.168.11.181
    Filename 'DM812x/nand/uImage'.
    Load address: 0x81000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ################################################################
    done
    Bytes transferred = 2653980 (287f1c hex)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37_DM8127_IPNC_3.50.00
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2653916 Bytes = 2.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37_DM8127_IPNC_3.50.00 (root@afa-VirtualBox) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #3 Tue Sep 30 20:00:08 CST 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148ipnc
    vram size = 4194304 at 0x0
    bootconsole [earlycon0] enabled
    ti81xx_reserve: ### Reserved DDR region @84f00000
    reserved size = 4194304 at 0x0
    FB: Reserving 4194304 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 2.1
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 19040
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.11.182:/nfsroot/target/filesys,nolock cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 rootdelay=5 earlyprintk ip=192.168.11.181:192.168.11.182:192.168.11.1:255.255.255.0:DM8127_IPNC:eth0:off
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 74MB 1MB = 75MB total
    Memory: 70336k/70336k available, 11584k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xc5800000 - 0xf8000000   ( 808 MB)
        lowmem  : 0xc0000000 - 0xc5000000   (  80 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0040000   ( 224 kB)
          .text : 0xc0040000 - 0xc050a000   (4904 kB)
          .data : 0xc050a000 - 0xc054dc00   ( 271 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    TI81XX: Map 0x84f00000 to 0xfe500000 for dram barrier
    TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    omap_mux_init_signal:dcan0_tx.i2c3_sda_mux1
    omap_mux_init_signal:dcan0_rx.i2c3_scl_mux1
    omap_mux_init_signal:mmc0_clk
    omap_mux_init_signal:mmc0_cmd
    omap_mux_init_signal:mmc0_dat0
    omap_mux_init_signal:mmc0_dat1
    omap_mux_init_signal:mmc0_dat2
    omap_mux_init_signal:mmc0_dat3
    omap_mux_init_signal:gpio2_22
    omap_mux_init_signal:gpio2_24
    gpio_request:86,wlan_en
    Cannot clk_get ck_32
    tracyone:exporting gpio1_08 and gpio1_25
    omap_mux_init_signal:gpmc_cs4.gpio1_08_mux0
    omap_mux_init_signal:gpmc_cs2.gpio1_25
    gpio_request:40,test1
    gpio_request:57,test2
    gpio_export:40
    gpio_export:57
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    PWM0 init success.
    PWM1 init success.
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    regulator: VRTC: 1800 mV 
    regulator: VIO: 1500 mV 
    regulator: VDD1: 600 <--> 1500 mV at 1200 mV 
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV 
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 
    tps65911-rtc tps65911-rtc: rtc core: registered tps65911-rtc as rtc0
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.4: bus 4 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(31 14 13)
    usb2phy: override computed values rxcalib(15)DACs(31 14 13)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6fdd6e
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at c581e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(19 11 14)
    usb2phy: override computed values rxcalib(15)DACs(19 11 14)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f69d776
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at c5828800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
    fuse init (API version 7.15)
    msgmni has been set to 137
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    CMEMK module: built on Sep  9 2014 at 10:52:19
      Reference Linux version 2.6.37
      File /home/afa/work/IPNCRDK/Source/ti_tools/linuxutils_3_23_00_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc7000000 of size 0x4000000
    cmemk initialized
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled, bootconsole disabled
    console [ttyO0] enabled, bootconsole disabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x1
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
    Creating 8 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x000006fc0000 : "File System"
    0x000006fc0000-0x000007bc0000 : "Data"
    0x000007bc0000-0x00000b0c0000 : "File System2"
    0x00000b0c0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    Linux video capture interface: v2.00
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfd00000
    cm: Module associated with clock hdmi_i2s_fck didn't enable in 100000 tries
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI8148 IPNC
    nf_conntrack version 0.5.0 (1099 buckets, 4396 max)
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    Bridge firewalling registered
    lib80211: common routines for IEEE802.11 drivers
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=0:17:eb:f0:9a:f0
    tps65911-rtc tps65911-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    
    CPSW phy found : id is : 0x4dd074
    PHY 0:01 not found
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: ATA-8: ST3500418AS, CC45, max UDMA/133
    ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access     ATA      ST3500418AS      CC45 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1 sda2
    sd 0:0:0:0: [sda] Attached SCSI disk
    IP-Config: Complete:
         device=eth0, addr=192.168.11.181, mask=255.255.255.0, gw=192.168.11.1,
         host=DM8127_IPNC, domain=, nis-domain=(none),
         bootserver=192.168.11.182, rootserver=192.168.11.182, rootpath=
    Waiting 5sec before mounting root device...
    PHY: 0:00 - Link is Up - 100/Full
    VFS: Mounted root (nfs filesystem) on device 0:14.
    devtmpfs: mounted
    Freeing init memory: 224K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/00:00:00:00:00/01:00:00:00:00/40 tag 0 ncq 131072 in
             res 40/00:00:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete
    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/00:00:00:00:00/01:00:00:00:00/40 tag 0 ncq 131072 in
             res 40/00:00:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete
    Root filesystem already rw, not remounting
    Caching udev devnodes
    root: mount: mounting /dev/root on / failed: No such file or directory
    NOT configuring network interfaces: / is an NFS mount
    rm: cannot remove '/tmp': Device or resource busy
    Mon Sep 29 10:29:00 GMT-8 2014
    Starting vsftpd daemon.
     inside finish.sh 
    rm: cannot remove '/opt/ipnc/sd.txt': No such file or directory
    rm: cannot remove '/opt/ipnc/usb.txt': No such file or directory
    lrwxrwxrwx    1 root     root           10 Jan  1  2000 ata-ST3500418AS_6VMC34X9-part1 -> ../../sda1
    It is hard disk!
    /dev/sda1               1       30401   244193280   7 HPFS/NTFS
    It is NTFS filesystem!
    ata1.00: exception Emask 0x10 SAct 0x3 SErr 0x280100 action 0x6 frozen
    ata1.00: irq_stat 0x08000000, interface fatal error
    ata1: SError: { UnrecovData 10B8B BadCRC }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/80:00:38:ad:a3/00:00:03:00:00/40 tag 0 ncq 65536 in
             res 40/00:00:38:ad:a3/00:00:03:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1.00: failed command: READ FPDMA QUEUED
    ata1.00: cmd 60/80:08:b8:ad:a3/00:00:03:00:00/40 tag 1 ncq 65536 in
             res 40/00:00:38:ad:a3/00:00:03:00:00/40 Emask 0x10 (ATA bus error)
    ata1.00: status: { DRDY }
    ata1: hard resetting link
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: configured for UDMA/133
    ata1: EH complete
    mount hdd:/dev/sda1 to /mnt/sda1 successfully!
    lrwxrwxrwx    1 root     root           10 Jan  1  2000 ata-ST3500418AS_6VMC34X9-part2 -> ../../sda2
    It is hard disk!
    /dev/sda2           30401       60802   244192256   7 HPFS/NTFS
    It is NTFS filesystem!
    mount hdd:/dev/sda2 to /mnt/sda2 successfully!
    /dev/sda3 is not exist!exit...
    /dev/sda4 is not exist!exit...
    /dev/sda5 is not exist!exit...
    /dev/sda6 is not exist!exit...
    /dev/sda7 is not exist!exit...
    /dev/sda8 is not exist!exit...
    /dev/sdb1 is not exist!exit...
    /dev/sdb2 is not exist!exit...
    /dev/sdb3 is not exist!exit...
    /dev/sdb4 is not exist!exit...
    /dev/sdb5 is not exist!exit...
    /dev/sdb6 is not exist!exit...
    /dev/sdb7 is not exist!exit...
    /dev/sdb8 is not exist!exit...
    /dev/mmcblk0 is not exist!exit...
    /dev/mmcblk0p1 is not exist!exit...
    /dev/mmcblk0p4 is not exist!exit...
    /dev/mmcblk0p5 is not exist!exit...
    /dev/mmcblk0p6 is not exist!exit...
    UBI: attaching mtd5 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: sub-page size:              512
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       2513
    UBI: attached mtd5 to ubi0
    UBI: MTD device name:            "Data"
    UBI: MTD device size:            12 MiB
    UBI: number of good PEBs:        96
    UBI: number of bad PEBs:         0
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 96
    UBI: number of PEBs reserved for bad PEB handling: 2
    UBI: max/mean erase counter: 29/27
    UBI: image sequence number:  -2086723465
    UBI: background thread "ubi_bgt0d" started, PID 333
    UBI device number 0, total 96 LEBs (12189696 bytes, 11.6 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 0, volume 0, name "ubifs_volume"
    UBIFS: file system size:   10285056 bytes (10044 KiB, 9 MiB, 81 LEBs)
    UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: lzo
    UBIFS: reserved for root:  485787 bytes (474 KiB)
    UBI: attaching mtd7 to ubi1
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: sub-page size:              512
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       288
    UBI: attached mtd7 to ubi1
    UBI: MTD device name:            "Reserved"
    UBI: MTD device size:            79 MiB
    UBI: number of good PEBs:        634
    UBI: number of bad PEBs:         0
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 634
    UBI: number of PEBs reserved for bad PEB handling: 6
    UBI: max/mean erase counter: 33/26
    UBI: image sequence number:  600307837
    UBI: background thread "ubi_bgt1d" started, PID 345
    UBI device number 1, total 634 LEBs (80502784 bytes, 76.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 1, volume 0, name "ubifs_volume"
    UBIFS: file system size:   78090240 bytes (76260 KiB, 74 MiB, 615 LEBs)
    UBIFS: journal size:       3936256 bytes (3844 KiB, 3 MiB, 31 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: lzo
    UBIFS: reserved for root:  3688395 bytes (3601 KiB)
    ./init.sh: line 5: -f: not found
    numid=1,iface=MIXER,name='PCM Playback Volume'
      ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
      : values=127,127
      | dBscale-min=-63.50dB,step=0.50dB,mute=0
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.20.02.20
    SysLink module created on Date:Sep 29 2014 Time:09:47:49
    Trace enabled
    Trace SetFailureReason enabled
    /dev/mem opened.
                 Phy Addr : 0x48181560 Data : 0x00000102
    secss put in low power state
                 Phy Addr : 0x48180f10 Data : 0x00000000
                 Phy Addr : 0x48180508 Data : 0x00000302
                 Phy Addr : 0x48180520 Data : 0x00000002
                 Phy Addr : 0x48180524 Data : 0x00000002
                 Phy Addr : 0x48180528 Data : 0x00000002
                 Phy Addr : 0x4c0000e4 Data : 0x00170208
                 Phy Addr : 0x4d0000e4 Data : 0x00170208
                 Phy Addr : 0x4c0000e4 Data : 0x00170208
                 Phy Addr : 0x4d0000e4 Data : 0x00170208
    DDR IOs RX is shutdown 
    
     [host]  Setting DMM priority for [HDVICP0 ] to [1] ( 0x4e000634 = 0x00000009 )
    
     [host]  Setting L3 bandwidth regulator for [HDVICP0 ] to [press=[0,0] BW=900, WM Cycles=2500]
    
     [host]  Setting DMM priority for [ISS     ] to [0] ( 0x4e000634 = 0x00800000 )
     inside asound.sh 
     start configure the rounte of the sound!
    Simple mixer control 'PCM',0
      Capabilities: pvolume penum
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 127
      Mono:
      Front Left: Playback 90 [71%] [-18.50dB]
      Front Right: Playback 90 [71%] [-18.50dB]
    Simple mixer control 'Left PGA Mixer Line1L',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'Right PGA Mixer Line1R',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'Right PGA Mixer Line2R',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'Left PGA Mixer Mic3L',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'Right PGA Mixer Mic3R',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'PGA',0
      Capabilities: cvolume cswitch penum
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 119
      Front Left: Capture 80 [67%] [40.00dB] [on]
      Front Right: Capture 80 [67%] [40.00dB] [on]
    Simple mixer control 'Left HP Mixer DACL1',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'Right HP Mixer DACR1',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'Left Line Mixer DACL1',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'Right Line Mixer DACR1',0
      Capabilities: pswitch pswitch-joined penum
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'HP DAC',0
      Capabilities: pvolume penum
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 118
      Mono:
      Front Left: Playback 90 [76%] [-14.00dB]
      Front Right: Playback 90 [76%] [-14.00dB]
     I2C: regValue8 0
     I2C (0x18): 0x00 = 0x00 
     I2C: regValue8 ff
     I2C (0x18): 0x0c = 0xff 
     I2C: regValue8 83
     I2C (0x18): 0x1a = 0x83 
     I2C: regValue8 fe
     I2C (0x18): 0x1b = 0xfe 
     I2C: regValue8 7e
     I2C (0x18): 0x1c = 0x7e 
     I2C: regValue8 83
     I2C (0x18): 0x1d = 0x83 
     I2C: regValue8 fe
     I2C (0x18): 0x1e = 0xfe 
     I2C: regValue8 7e
     I2C (0x18): 0x1f = 0x7e 
     I2C: regValue8 e8
     I2C (0x18): 0x20 = 0xe8 
     I2C: regValue8 e8
     I2C (0x18): 0x21 = 0xe8 
     I2C: regValue8 0
     I2C (0x18): 0x22 = 0x00 
     I2C: regValue8 0
     I2C (0x18): 0x23 = 0x00 
     end configure the rounte of the sound!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    
     [host] Attached to slave procId 0.
    
     [host] Attached to slave procId 2.
    
     [host] Loaded file ../firmware/ipnc_rdk_fw_c6xdsp.xe674 on slave procId 0.
    
     [host] Attached to slave procId 1.
    
     [host] Started slave procId 0.
    
     [host] Loaded file ../firmware/ipnc_rdk_fw_m3vpss.xem3 on slave procId 2.
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 500000000
    
    
     [host] Started slave procId 2.
     [host] After Ipc_loadcallback status [0x00000000]
    
     [c6xdsp ]  
     [c6xdsp ]  *** UTILS: CPU KHz = 500000 Khz ***
     [c6xdsp ]  
     [c6xdsp ]  241: SYSTEM  : System Common Init in progress !!!
     [c6xdsp ]  241: SYSTEM: IPC init in progress !!!
     [host] After Ipc_loadcallback status [0x00000000]
     [c6xdsp ]  241: SYSTEM: Attaching to [HOST] ... 
    
     [host] Loaded file ../firmware/ipnc_rdk_fw_m3video.xem3 on slave procId 1.
    
     [host] Started slave procId 1.
    
     [host] After Ipc_loadcallback status [0x00000000]
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3video]  
     [m3vpss ] notify_attach  rtnVal  0
     [m3video]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3video]  
     [m3video]  36: SYSTEM  : System Common Init in progress !!!
     [m3video]  36: SYSTEM: IPC init in progress !!!
     [m3video]  36: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]  
     [m3vpss ]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3vpss ]  
     [m3vpss ]  75: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  75: SYSTEM: IPC init in progress !!!
     [m3vpss ]  75: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  1240: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  1244: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  1244: SYSTEM: Attaching to [VIDEO-M3] ... 
    
     [host] After Ipc_startcallback status [0x00000000]
     [c6xdsp ]  2243: SYSTEM: Attaching to [VIDEO-M3] ... 
     [m3video]  1036: SYSTEM: Attaching to [HOST] ... 
     [m3video]  1038: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3video]  1038: SYSTEM: Attaching to [DSP] ... 
    
     [host] After Ipc_startcallback status [0x00000000]
     [m3vpss ]  1075: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  1076: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  1076: SYSTEM: Attaching to [DSP] ... 
    
     [host] After Ipc_startcallback status [0x00000000]
     [c6xdsp ]  3243: SYSTEM: Attaching to [VIDEO-M3] ... 
     [c6xdsp ]  4421: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  2038: SYSTEM: Attaching to [DSP] ... 
     [c6xdsp ]  4421: SYSTEM: Attaching to [VPSS-M3] ... 
     [m3video]  2038: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  2039: SYSTEM: Attaching to [VPSS-M3] ... 
     [m3vpss ]  2076: SYSTEM: Attaching to [DSP] ... 
     [c6xdsp ]  5420: SYSTEM: Attaching to [VPSS-M3] ... 
     [m3video]  3038: SYSTEM: Attaching to [VPSS-M3] ... 
     [c6xdsp ]  6496: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  3076: SYSTEM: Attaching to [DSP] ... 
     [c6xdsp ]  6497: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  3076: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  3076: SYSTEM: Attaching to [VIDEO-M3] ... 
     [c6xdsp ]  7496: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  4038: SYSTEM: Attaching to [VPSS-M3] ... 
     [m3vpss ]  4076: SYSTEM: Attaching to [VIDEO-M3] ... 
     [c6xdsp ]  8496: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  4076: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  4076: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  4076: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  4076: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  4077: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  4077: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  4077: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  4077: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [m3video]  4079: SYSTEM: Notify register to [HOST] line 0, event 12 ... 
     [m3vpss ]  4079: SYSTEM: Notify register to [HOST] line 0, event 12 ... 
     [m3video]  4079: SYSTEM: Notify register to [DSP] line 0, event 12 ... 
     [m3vpss ]  4079: SYSTEM: Notify register to [DSP] line 0, event 12 ... 
     [m3video]  4080: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ... 
     [m3vpss ]  4079: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ... 
     [m3video]  4080: SYSTEM: IPC init DONE !!!
     [m3vpss ]  4080: SYSTEM: IPC init DONE !!!
     [m3video]  4090: MEM: Shared Region 2: Base = 0xb4000000, Length = 0x0a900000 (169 MB) 
     [m3vpss ]  4089: MEM: Shared Region 2: Base = 0xb4000000, Length = 0x0a900000 (169 MB) 
     [m3video]  4090: MEM: Shared Region 1: Base = 0x89000000, Length = 0x03800000 (56 MB) 
     [m3vpss ]  4090: MEM: Shared Region 1: Base = 0x89000000, Length = 0x03800000 (56 MB) 
     [m3video]  4092: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  4092: SYSTEM  : System Common Init Done !!!
     [m3video]  4092: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  4092: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  4092: SYSTEM  : System Video Init Done !!!
     [m3video]  4093: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  4093: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  4093: SYSTEM: ListElem Shared Addr = 0xbe98b680
     [m3video]  4096: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  4096: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  4096: SYSTEM: ListElem Shared Addr = 0xbe98eb80
     [m3video]  4107: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_28] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  4108: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_28] in region 0 ...
     [m3vpss ]  4110: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  4108: SYSTEM: ListElem Shared Addr = 0xbe992080
     [m3vpss ]  4110: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  4110: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
     [m3vpss ]  4111: SYSTEM: ListElem Shared Addr = 0xbe9ac280
     [m3video]  4111: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
     [m3video]  4111: SYSTEM: ListElem Shared Addr = 0xbe9af200
     [m3video]  4113: HDVICP: Doing PRCM for IVAHD[0] ... 
     [m3vpss ]  4113: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  4113: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  4114: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3video]  4114: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  4114: SYSTEM: ListElem Shared Addr = 0xbe9c8e80
     [m3video]  4114: SYSTEM  : FREE SPACE : System Heap      = 6282128 B, Mbx = 10240 msgs) 
     [m3video]  4114: SYSTEM  : FREE SPACE : SR0 Heap         = 15942272 B (15 MB) 
     [m3video]  4115: SYSTEM  : FREE SPACE : Frame Buffer     = 177209216 B (168 MB) 
     [m3vpss ]  4129: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_23] in region 0 ...
     [m3vpss ]  4129: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_23] in region 0 ...
     [m3video]  4115: SYSTEM  : FREE SPACE : Bitstream Buffer = 58720128 B (55 MB) 
     [m3vpss ]  4129: SYSTEM: ListElem Shared Addr = 0xbe9cc380
     [m3vpss ]  4132: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
     [m3video]  4115: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  4116: SYSTEM  : FREE SPACE : Tiler Buffer     = 63 B (0 MB)  - TILER OFF 
     [m3vpss ]  4132: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  4133: SYSTEM: ListElem Shared Addr = 0xbe9ebd80
     [m3vpss ]  4135: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  4136: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
     [m3vpss ]  4136: SYSTEM: ListElem Shared Addr = 0xbea0b780
     [m3vpss ]  4143: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_28] in region 0 ...
     [m3vpss ]  4143: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_28] in region 0 ...
     [m3vpss ]  4143: SYSTEM: ListElem Shared Addr = 0xbea2b180
     [m3vpss ]  4146: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_29] in region 0 ...
     [m3vpss ]  4146: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_29] in region 0 ...
     [m3vpss ]  4146: SYSTEM: ListElem Shared Addr = 0xbea44e00
     [m3vpss ]  4149: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3vpss ]  4149: SYSTEM  : FVID2 Init in progress !!!
     [m3video]  4172: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ]  4214: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3vpss ]  4214: SYSTEM  : Device Init in progress !!!
     [m3vpss ]  Iss_init called !!!!!! 
     [m3vpss ]  CPIS_init DONE !!!!!! 
     [m3vpss ] initPrms.isI2cInitReq = 1
     [m3vpss ] initPrms.isI2cInitReq = 1
     [m3vpss ]  Vps_deviceInit Daughter card not detected/connected!
     [m3vpss ]                     
     [c6xdsp ]  9496: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [c6xdsp ]  9497: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [c6xdsp ]  9497: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [c6xdsp ]  9498: SYSTEM: Notify register to [HOST] line 0, event 12 ... 
     [c6xdsp ]  9498: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ... 
     [c6xdsp ]  9498: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ... 
     [c6xdsp ]  9498: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  9501: MEM: Shared Region 2: Base = 0xb4000000, Length = 0x0a900000 (169 MB) 
     [c6xdsp ]  9501: MEM: Shared Region 1: Base = 0x89000000, Length = 0x03800000 (56 MB) 
     [c6xdsp ]  9502: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  9262: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  9263: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  9507: SYSTEM: Creating ListMP [DSP_IPC_OUT_23] in region 0 ...
     [c6xdsp ]  9507: SYSTEM: Creating ListMP [DSP_IPC_IN_23] in region 0 ...
     [c6xdsp ]  9508: SYSTEM: ListElem Shared Addr = 0xbea5ea80
     [c6xdsp ]  9509: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  9509: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  9509: SYSTEM: ListElem Shared Addr = 0xbea7e480
     [c6xdsp ]  9510: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  9511: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  9511: SYSTEM: ListElem Shared Addr = 0xbea9de80
     [c6xdsp ]  9512: SYSTEM: Creating ListMP [DSP_IPC_OUT_28] in region 0 ...
     [c6xdsp ]  9512: SYSTEM: Creating ListMP [DSP_IPC_IN_28] in region 0 ...
     [c6xdsp ]  9512: SYSTEM: ListElem Shared Addr = 0xbeabd880
     [c6xdsp ]  9513: SYSTEM: Creating ListMP [DSP_IPC_OUT_29] in region 0 ...
     [c6xdsp ]  9513: SYSTEM: Creating ListMP [DSP_IPC_IN_29] in region 0 ...
     [c6xdsp ]  9513: SYSTEM: ListElem Shared Addr = 0xbead7500
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  9274: SYSTEM  : Initializing Links !!! 
     [c6xdsp ]  9514: SYSTEM  : FREE SPACE : System Heap      = 6393632 B, Mbx = 10240 msgs) 
     [c6xdsp ]  9289: SYSTEM  : Initializing Links ... DONE !!! 
     [c6xdsp ]  9290: SYSTEM  : System DSP Init Done !!!
     [m3vpss ]  6960: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ]  6988: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  6988: UTILS: DMA: HWI Create for INT62 !!!
     [m3vpss ]  6988: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  6988: SYSTEM  : FREE SPACE : System Heap      = 1718904 B, Mbx = 10240 msgs) 
     [m3vpss ]  6988: SYSTEM  : FREE SPACE : SR0 Heap         = 14742656 B (14 MB) 
     [m3vpss ]  6989: SYSTEM  : FREE SPACE : Frame Buffer     = 172899200 B (164 MB) 
     [m3vpss ]  6989: SYSTEM  : FREE SPACE : Bitstream Buffer = 58720128 B (55 MB) 
     [m3vpss ]  6989: SYSTEM  : FREE SPACE : Tiler Buffer     = 63 B (0 MB)  - TILER OFF 
     [m3vpss ]  7126: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Received character 's'
    DMA: Module install successful, device major num = 248 
    DRV: Module install successful
    DRV: Module built on Sep 30 2014 15:40:52 
    /opt/ipnc
    /dev/mem opened.
    Memory mapped at address 0x402ed000.
    Read at address  0x48180F04 (0x402edf04): 0x00000001
    Write at address 0x48180F04 (0x402edf04): 0x00000000, readback 0x00000000
    /dev/mem opened.
    Memory mapped at address 0x402d0000.
    Read at address  0x48180900 (0x402d0900): 0x00000001
    Write at address 0x48180900 (0x402d0900): 0x00000002, readback 0x00000002
    /dev/mem opened.
    Memory mapped at address 0x400d5000.
    Read aHDMI W1 rev 4.0
    t address  0x481HDMI CEC Spec version 1.2
    80920 (0x400d5920): 0x00070000
    Write at address 0x48180920 (0x400d5920): 0x00000002, readback 0x00000002
    hello ====
    I2C No Ack
    
    hello ====
    
     [host]  
    
     [host]  ORG 0x46c00524: 0
    
     [host]  NEW 0x46c00524: 2
    
     [host]  
    Creat queue id:0
    queue id:0
    FileMngThread created
    Creat queue id:32769
    queue id:32769
    AlramThread created
    Share memory init success
    IPNC_3.50.00 (root@afa-VirtualBox) (gcc version 4.5.3 20110311 (prerele 
    Creat queue id:65538
    queue id:65538
    queue id:65538
    Creat queue id:98307
    queue id:98307
    queue id:32769
    
    CPU is TI812x
    Error: SemWait: Invalid Semaphore handler
    Error: SemRelease: Invalid Semaphore handler
    
    *****************************************************************
    
        IPNC BUILD VERSION: DM8127 IPNC RDK VERSION 03.50.00.08
    
    *****************************************************************
    
    ./bin/ipnc_rdk_mcfw.out   VNF_QUALITY SINGLESTREAM SINGLE_H264 AUDIO AAC 48000 128000 TI2A AEWB 1080P_D1 H264 HIGH_SPEED1 &
    write sysenv.cfg
    Ready
    Go to sleep:0
    
     [host] gUI_mcfw_config.audioCfg.sampleRate = 48000 
    
     [host] gUI_mcfw_config.audioCfg.codecType = 1 
    
     [host] gUI_mcfw_config.audioCfg.bitrate = 128000 
    write sysenv.cfg
    
     [host]  0: SYSTEM: System Common Init in progress !!!
    
     [host]  1: SYSTEM: IPC init in progress !!!
    
     [host]  12: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
    
     [host]  12: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
    
     [host]  12: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
    
     [host]  12: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
    
     [host]  12: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
    
     [host]  14: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
    
     [host]  16: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
    
     [host] DMA: ChannelID allocated:4
     17: SYSTEM: OpeDMA: ChannelID allocated:10
    ning MsgQ [DSP_MSGQ] ...
    
     [host]  18: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    
     [host]  18: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    
     [host]  19: SYSTEM: Notify register to [DSP] line 0, event 12 ... 
    
     [host]  20: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ... 
    
     [host]  21: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ... 
    
     [host]  21: SYSTEM: IPC init DONE !!!
    
     [host]  22: SYSTEM: Creating ListMP [HOST_IPC_OUT_28] in region 0 ...
    
     [host]  24: SYSTEM: Creating ListMP [HOST_IPC_IN_28] in region 0 ...
    
     [host]  26: SYSTEM: ListElem Shared Addr = 0x40599180
    
     [host]  27: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...
    
     [host]  29: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...
    
     [host]  30: SYSTEM: ListElem Shared Addr = 0x405b2e00
    
     [host]  32: SYSTEM: Creating ListMP [HOST_IPC_OUT_23] in region 0 ...
    
     [host]  34: SYSTEM: Creating ListMP [HOST_IPC_IN_23] in region 0 ...
    
     [host]  36: SYSTEM: ListElem Shared Addr = 0x405cca80
    
     [host]  36: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
    
     [host]  38: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
    
     [host]  40: SYSTEM: ListElem Shared Addr = 0x405ec480
    
     [host]  41: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
    
     [host]  43: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
    
     [host]  44: SYSTEM: ListElem Shared Addr = 0x4060be80
    
     [host]  45: SYSTEM: System Common Init Done !!!
    
     [host] Vsys_allocBuf - addr = 0x4cb8d000,size = 65011712
    
     [host] MCFW_IPCBITS:App_streamSysInit:virt addr of 85000000 cir buffer  is 4cb8d000
    ##########pInfo->totalsize 63897600
    
     [host] MemMng_memcpy_open:OSA_dmaOpen passed with ch id = 4
    
     [host] CacheMng_MemCpy_open:OSA_dmaOpen passed with ch id = 10
    Creat queue id:131076
    queue id:131076
    queue id:65538
    
     [host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:Entered...
     [host] MCFW_IPCFRAMES:App_ipcFramesSendRecvFxn:Entered...
     [host] Before System_linkControl SYSTEM_M3VPSS_CMD_GET_DISPLAYCTRL_INIT
     [m3vpss ] VPS_DCTRL_INST_0
     [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_DVO2
     [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_HDMI
    
     [host] 
    ********** FULL FEATURE USECASE ********
    
     [host] ********* Entered  usecase - vcap + dis +venc  ********
    
    
     [host]  193: MCFW  : CPU Revision [ES2.1] !!! 
    
     [host]  193: MCFW  : Detected [UNKNOWN] Board !!! 
    
     [host]  193: MCFW  : Base Board Revision [REV A] !!! 
    
     [host] Config SWMSLink Params!!!
     [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_SD
     [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_CLK_SRC VPS_DC_VENC_HDMI | VPS_DC_VENC_DVO2
     [m3vpss ]  9385: CAPTURE: Create in progress !!!
     [m3vpss ]  9422: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! 
     [m3vpss ] CAPTURE:Create args numBufsPerCh[2] < min[6]Overriding create args
     [m3vpss ]  9543: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! 
    Gio: Error
    write device error !! gio = 104
     [m3vpss ] CAPTURE::HEAPID:0    USED:512
     [m3vpss ]  9786: CAPTURE: Create Done !!!
     [m3vpss ]  9792: DUP   : Create Done !!!
     [m3vpss ]  9798: DUP   : Create Done !!!
     [m3vpss ]  9799: DISPLAY: Create in progress !!!
     [m3vpss ] DisplayId = 4,DataFormat = 7
     [m3vpss ] SD displayInstId = 2
     [m3vpss ]  9800: DISPLAY: Create Done !!!
     [m3vpss ]  9801: MERGE   : Create Done !!!
     [m3vpss ]  9801: SWMS: Create in progress !!!
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 36 (36)
     [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 15
     [m3vpss ]  9996: SWMS    : Loading Up-scaling Co-effs ... 
     [m3vpss ]  9996: SWMS    : Co-effs Loading ... DONE !!!
     [m3vpss ]  9996: SWMS    : ******* Configuring clock 15 secs... 
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 60
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  |
     [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format|
     [m3vpss ]  --------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |   0 |    0,    0 |  1920 x   1080 |  1920 /  1920 | NON-TILED   |    0,    0 |   960 x    540 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |
     [m3vpss ]    1 |   1 |    0,    0 |  1920 x   1080 |  1920 /  1920 | NON-TILED   |  960,    0 |   960 x    540 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |
     [m3vpss ]    2 |   2 |    0,    0 |  1920 x   1080 |  1920 /  1920 | NON-TILED   |    0,  540 |   960 x    540 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |
     [m3vpss ]    3 |   3 |    0,    0 |  1920 x   1080 |  1920 /  1920 | NON-TILED   |  960,  540 |   960 x    540 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |
     [m3vpss ]  
     [m3vpss ]  9999: SWMS: Create Done !!!
     [m3vpss ]  9999: NSF: Create in progress !!!
     [m3vpss ]  
     [m3vpss ]  *** UTILS: DM_TIMER[2] KHz = 27000 Khz ***
     [m3vpss ]  
     [m3video]  10172: IPC_IN_M3   : Create in progress !!!
     [m3vpss ] NSF::HEAPID:0        USED:128
     [m3video]  10172: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ] NSF::HEAPID:1        USED:4928
     [m3video]  10173: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3vpss ]  10163: NSF: Create Done !!!
     [m3video]  10175: IPC_IN_M3   : Create Done !!!
     [m3vpss ]  10169: DUP   : Create Done !!!
     [m3vpss ]  10169: DISPLAY: Create in progress !!!
     [m3vpss ] DisplayId = 1,DataFormat = 7
     [m3vpss ] SC2 displayInstId = 6
     [m3vpss ]  10170: DISPLAY: Create Done !!!
     [m3vpss ]  10171: IPC_OUT_M3   : Create in progress !!!
     [m3vpss ]  10172: IPC_OUT_M3   : Create Done !!!
     [m3video]  10175: ENCODE: Create in progress ... !!!
     [m3video]  10205: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
     [m3video] =====minOutBufSize[i].bytes -1924693532 1400
     [m3video] =====minOutBufSize[i].bytes -1924693524 1401
     [m3video] =====minOutBufSize[i].bytes -1924693532 1409  EncLinkH264_algCreate
     [m3video] =====minOutBufSize[i].bytes -1924693524 1410  EncLinkH264_algCreate 
     [m3video] =====minOutBufSize[0].bytes 3110400 778
     [m3video] =====minOutBufSize[1].bytes 148172 778
     [m3video] =====minOutBufSize[1].bytes 148172 792
     [m3video] =====algCreateParams->mvDataSize 194400
     [m3video] =====minOutBufSize[i].bytes -1924693532 1415  EncLinkH264_algCreate
     [m3video] =====minOutBufSize[i].bytes -1924693524 1416  EncLinkH264_algCreate 
    
     [host] IpcBitsInLink_tskMain:Entered
     [host]  2060: IPC_BITS_IN   : Create in progress !!!
    
     [host]  2060: IPC_BITS_IN   : ListMPOpen start !!!
    
     [host]  2060: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_28] ...
    
     [host]  2062: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_28] ...
    
     [host]  2064: IPC_BITS_IN   : ListMPOpen done !!!
    
     [host]  2065: IPC_BITS_IN   : System_linkGetInfo done !!!
    
     [host]  2065: IPC_BITS_IN   : Create Done !!!
    
     [host] USECASE SETUP DONE
     [m3vpss ]  10321: DISPLAY: Start in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:13808
     [m3video]  10312: ENCODE: All CH Create ... DONE !!!
     [m3video] ==============DM81XX_MD_Create==============
     [m3video] ENCLINK:HEAPID:0     USED:14048
     [m3video]  10315: ENCODE: Create ... DONE !!!
     [m3video]  10315: IPC_BITS_OUT   : Create in progress !!!
     [m3video]  10318: IPC_BITS_OUT   : Create Done !!!
     [m3vpss ]  10351: DISPLAY: Start Done !!!
     [m3vpss ]  10351: DISPLAY: AUX PATH: 66 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!! 
     [m3vpss ]  10351: DISPLAY: Start in progress !!!
     [m3vpss ]  10373: DISPLAY: Start Done !!!
     [m3vpss ]  10373: DISPLAY: SDDAC(SEC1): 47 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!! 
     [m3vpss ]  10373: SWMS: Start in Progress !!!
     [m3vpss ]  10373: SWMS: Start Done !!!
     [m3vpss ]  10375: CAPTURE: Start in progress !!!
     [m3vpss ]  10375: CAPTURE: Start Done !!!
     [m3video]  Channel:0 inputframerate:60 targetfps:60
    
     [host] MCFW_IPCBITS: Callback function:App_ipcBitsInCbFxn
     [host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:INFO: periodic print..
     [host] aencParams.bitRate = 128000...........
    
     [host] aencParams.encoderType = 1...........
    
     [host] aencParams.numberOfChannels = 1...........
    
     [host] aencParams.sampleRate = 48000...........
    
     [host] ..............................
    
     [host] 
     Rpe_control (ctx->encControlCallDesc) status = 0
     [host] 
     AUDIO: Enc creation <malloc> starting 
     [host] 
     AUDIO: Enc creation <malloc> successfully 
     [host] 
     [host] AUDIO: ENC Handle 2C1AB0, Int Handle 2C1ABC
    
     [host] 
     [host] AUDIO: ENC -> bitrate - 128000 inputBitsPerSample - 16, sampleRate - 48000, numberOfChannels - 1...
    
     [host] 
     Audio capture task created
     [host] 
     Rpe_create starting status = 0
     [host] 
     [host] AUDIO: ENC -> Rpe_create(AAC_ENC) done....
    
     [host] 
     Rpe_acquireCallDescriptor starting status = 0
     [host] 
     Rpe_control (ctx->encControlCallDesc) status = 0
     [host] AAC_LC ENC Create done...........
     [m3vpss ]  10501: CAPTURE: Fields = 0 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)
    
     [host] AUDIO : set the buffer time
    
     [host] AUDIO : period size = 512 frames, dir = 1
    
     [host] AUDIO : period time = 10666 us, dir = 1
    
     [host] 
    Application Run Completed
    

  • Hi ,

    For SATA speed issues, an eye diagram test is always preferred to do.

  • i solved my problem.

    i apply this patch:http://arago-project.org/git/projects/?p=linux-omap3.git;a=commit;h=135128bdbebb86f7a69554b99de596a22531affb

    in PSP 04.04.00.02 has included this path except in ti81xx_init_pcie(void)