Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Docooler M9S PRO no boot, uboot access

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Docooler M9S PRO no boot, uboot access

    Hey there. A week ago my M9s Pro 2G/16G suddenly dead. I tried to recover him with USB Burning tool and SD card recovery methods, but no success.
    I connected via JTAG and i tried to burn a SD image with toothpick method, but it doesnt work. I only have access to console



    Here is the log of putty. Any help will be apreciated



    Code:
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.05.25 21:51:37 =~=~=~=~=~=~=~=~=~=~=~=
     GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
    TE: 1852115
    no sdio debug board detected
    
    BL2 Built : 13:29:22, May 19 2016.
    gxb g4fcf8d0 - xiaobo.gu@droid05
    
    Board ID = 2
    set vcck to 1100 mv
    set vddee to 1000 mv
    CPU clk: 1536MHz
    LPDDR3 use R13_C9
    STICKY_REG0: 0x00000000
    STICKY_REG1: 0x00000000
    LPDDR chl: Rank0+1 diff @ 528MHz
    DDR0: 1024MB(auto)-1T-49
    DDR1: 1024MB(auto)-1T-49
    DataBus test pass!
    AddrBus test pass!
    Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000
    Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x0000a9b0
    Sending bl30...........................................OK.
    Run bl30...
    Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x00001f60
    Wait bl30...Done
    Sending bl301........OK.
    Run bl301...
    Load bl31 from SD, src: 0x0002020
    , des: 0x10100000, size: 0x00011130
    
    
    
    --- UART initialized after reboot ---
    
    [Reset cause: unknown]
    
    [Image: unknown, amlogic_v1.1.3048-cfe1053 2015-12-04 16:31:11 xing.xu@droid05]
    
    bl30: check_permit, count is 1
    
    
    bl30: check_permit: ok!
    
    
    chipid: ef be ad de d fLoad bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x0009e500
    0 ad ba ef be ad de not ES chip
    
    efuse init ops = 13
    
    
    efuse init hdcp = c, cf9=7
    
    
    [1.988493 Inits done]
    
    secure task start!
    SARADC channel is 01
    SARADC val is 0000010dNOTICE:  BL3-1: v1.0(debug):02cce1e
    NOTICE:  BL3-1: Built : 15:47:40, Nov  6 2015
    INFO:    BL3-1: Initializing runtime services
    INFO:    BL3-1: Preparing for EL3 exit to normal world
    INFO:    BL3-1: Next image address = 0x1000000
    INFO:    BL3-1: Next image spsr = 0x3c9
    
    
    U-Boot 2015.01-g685bb0b-dirty (Sep 20 2016 - 16:23:28)
    
    DRAM:  2 GiB
    Relocation Offset is: 76ed5000
    register usb cfg[0][1] = 0000000077f629b8
    register usb cfg[0][2] = 0000000077f629d8
    register usb cfg[2][0] = 0000000077f629f8
    vpu detect type: 5
    vpu clk_level = 7
    set vpu clk: 666667000Hz, readback: 666660000Hz(0x300)
    boot_device_flag : 1
    Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
    init bus_cycle=6, bus_timing=8, system=5.0ns
    reset failed
    get_chip_type and ret:fffffffe
    get_chip_type and ret:fffffffe
    chip detect failed and ret:fffffffe
    nandphy_init failed and ret=0xfffffff1
    MMC:   aml_priv->desc_buf = 0x0000000073ec5770
    aml_priv->desc_buf = 0x0000000073ec7900
    SDIO Port B: 0, SDIO Port C: 1
    MMC init failed
    Using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    [store]To run cmd[emmc dtb_read 0x1000000 0x40000]
    read emmc dtb
    mmc init failed
    board_late_init(): [store dtb read $dtb_mem_addr] fail
    load dtb to 1000000
    [store]To run cmd[emmc dtb_read 1000000 0x40000]
    read emmc dtb
    mmc init failed
    board_late_init(): store dtb read 1000000 fail
    ret = 1 .[mmc_init] mmc init success
    Device: SDIO Port B
    Manufacturer ID: 3
    OEM: 5344
    Name: SU08G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: Yes
    Capacity: 7.4 GiB
    Bus Width: 4-bit
    [MSG]ini sz 0x25eB
    [fat]Filesize is 0x25eB[0M]
    [fat]0x:leftSz 25e < BPS 1000, gotSz 25e
    
    =========sdc_burn_paras=====>>>
    [common]
    erase_bootloader = 1
    erase_flash      = 1
    reboot           = 0x1
    key_overwrite    = 0x0
    
    [burn_ex]
    package          = hx_s905_2g_3g_20160920_1648.img
    media            =
    
    [burn_parts]
    burn_num         = 0
    
    <<<<=====sdc_burn_paras======
    
    [fat]Filesize is 0x2fbbe000B[763M]
    [fat]0x:leftSz c40 < BPS 1000, gotSz 6c40
    [MSG]image version [0x00000002]
    [fat]Seek 0xd38a24 from 0x6c40
    [MSG]itemSizeNotAligned 0x5dc
    [MSG]align 4 mmc read...    [fat]0x:leftSz 952 < BPS 1000, gotSz 7f2e
    [MSG]Down(mem) part(dtb) sz(0x7f2e) fmt(normal)
    [MSG]Burn Start...
    [MSG]load dt.img to 0x0000000001000000, sz=0x7f2e
    [MSG]Burn complete
    Err imgread(L433):Logo header err.
    Cannot find dev.
    amlmmc cmd <NULL> failed
    
    store - STORE sub-system
    
    Usage:
    store store init flag
    store read name addr off|partition size
        read 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store write name addr off|partition size
        write 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store rom_write add off size.
        write uboot to the boot device
    store erase boot/data:
        erase the area which is uboot or data
    store erase dtb
    store erase key
    store rom_protect on/off
    store scrub off|partition size
        scrub the area from offset and size
    store dtb iread/read/write addr <size>
        read/write dtb, size is optional
    store key read/write addr <size>
        read/write key, size is optional
    
    cmd store failed
    Err imgread(L246):Fail to read 0x100000B from part[logo] at offset 0
    [MSG]Use upgrade res in pkg
    [WRN]Can't find item [logo, aml_sdc_burn]
    [MSG]logo for sdc UPGRADE[PARTITION]
    [MSG]itemSizeNotAligned 0x4c4
    [MSG]align 4 mmc read...    [fat]0x:leftSz fc < BPS 1000, gotSz 11b5c0
    [MSG]echo video prepare for upgrade
    hpd_state=1
    [CANVAS]addr=0x3f800000 width=3840, height=2160
    
    [1080p60hz] is invalid for cvbs.
    set hdmitx VIC = 16
    config HPLL = 2970
    HPLL: 0xc800023d
    config HPLL done
    set_hpll_od3_clk_div[216] div = 6
    j = 8  vid_clk_div = 1
    hdmitx phy setting done
    hdmitx: set enc for VIC: 16
    enc_vpu_bridge_reset[977]
    [MSG]dw,dh[1920, 1080]
    [MSG]w,h[4,14]
    [MSG]Exit before re-init
    command:    store  exit
    start dts,buffer=0000000001000000,dt_addr=0000000001000000
    parts: 11
    00:      logo    0000000002000000 1
    01:  recovery    0000000002000000 1
    02:       rsv    0000000000800000 1
    03:       tee    0000000000800000 1
    04:     crypt    0000000002000000 1
    05:      misc    0000000002000000 1
    06: instaboot    0000000020000000 1
    07:      boot    0000000002000000 1
    08:    system    0000000040000000 1
    09:     cache    0000000020000000 2
    10:      data    ffffffffffffffff 4
    Device: SDIO Port B
    Manufacturer ID: 3
    OEM: 5344
    Name: SU08G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: Yes
    Capacity: 7.4 GiB
    Bus Width: 4-bit
    [store]amlmmc erase 1emmckey_is_protected : protect
     cmd [store] init failed
    ERR(../drivers/usb/gadget/v2_burning/v2_sdc_burn/optimus_sdc_burn.c)L648:Fail to init stoarge for sdc burn
    Net:   Meson_Ethernet
    wipe_data=successful
    wipe_cache=successful
    upgrade_step=0
    reboot_mode=cold_boot
    hpd_state=1
    [1080p60hz] is invalid for cvbs.
    set hdmitx VIC = 16
    config HPLL = 2970
    HPLL: 0xc800023d
    config HPLL done
    set_hpll_od3_clk_div[216] div = 6
    j = 8  vid_clk_div = 1
    hdmitx phy setting done
    hdmitx: set enc for VIC: 16
    enc_vpu_bridge_reset[977]
    Cannot find dev.
    amlmmc cmd <NULL> failed
    
    store - STORE sub-system
    
    Usage:
    store store init flag
    store read name addr off|partition size
        read 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store write name addr off|partition size
        write 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store rom_write add off size.
        write uboot to the boot device
    store erase boot/data:
        erase the area which is uboot or data
    store erase dtb
    store erase key
    store rom_protect on/off
    store scrub off|partition size
        scrub the area from offset and size
    store dtb iread/read/write addr <size>
        read/write dtb, size is optional
    store key read/write addr <size>
        read/write key, size is optional
    
    cmd store failed
    Err imgread(L313):Fail to read 0x2000B from part[logo] at offset 0
    amlkey_init() enter!
    MMC: block number 0x12220 exceeds max(0x0)
    [mmc_key_read] 1659, mmc_bread error
    [EFUSE_MSG]keynum is 4
    [KM]Error:f[key_manage_query_size]L504:key[usid] not programed yet
    [KM]Error:f[key_manage_query_size]L504:key[mac] not programed yet
    [KM]Error:f[key_manage_query_size]L504:key[deviceid] not programed yet
    gpio: pin GPIOAO_3 (gpio 122) value is 1
    saradc - saradc sub-system
    
    Usage:
    saradc saradc open <channel>        - open a SARADC channel
    saradc close    - close the SARADC
    saradc getval    - get the value in current channel
    saradc get_in_range <min> <max>    - return 0 if current value in the range of current channel
    
    Enter USB burn
    Try connect time out 701, 700, 13086
    Hit any key to stop autoboot:  1  0
    Cannot find dev.
    amlmmc cmd <NULL> failed
    
    store - STORE sub-system
    
    Usage:
    store store init flag
    store read name addr off|partition size
        read 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store write name addr off|partition size
        write 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store rom_write add off size.
        write uboot to the boot device
    store erase boot/data:
        erase the area which is uboot or data
    store erase dtb
    store erase key
    store rom_protect on/off
    store scrub off|partition size
        scrub the area from offset and size
    store dtb iread/read/write addr <size>
        read/write dtb, size is optional
    store key read/write addr <size>
        read/write key, size is optional
    
    cmd store failed
    Err imgread(L130):Fail to read 0x100000B from part[boot] at offset 0
    Enter USB burn
    Try connect time out 1001, 1000, 13989
    Device: SDIO Port B
    Manufacturer ID: 3
    OEM: 5344
    Name: SU08G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: Yes
    Capacity: 7.4 GiB
    Bus Width: 4-bit
    [MSG]ini sz 0x25eB
    [fat]Filesize is 0x25eB[0M]
    [fat]0x:leftSz 25e < BPS 1000, gotSz 25e
    
    =========sdc_burn_paras=====>>>
    [common]
    erase_bootloader = 1
    erase_flash      = 1
    reboot           = 0x1
    key_overwrite    = 0x0
    
    [burn_ex]
    package          = hx_s905_2g_3g_20160920_1648.img
    media            =
    
    [burn_parts]
    burn_num         = 0
    
    <<<<=====sdc_burn_paras======
    
    [fat]Filesize is 0x2fbbe000B[763M]
    [fat]0x:leftSz c40 < BPS 1000, gotSz 6c40
    [MSG]image version [0x00000002]
    [fat]Seek 0xd38a24 from 0x6c40
    [MSG]itemSizeNotAligned 0x5dc
    [MSG]align 4 mmc read...    [fat]0x:leftSz 952 < BPS 1000, gotSz 7f2e
    [MSG]Down(mem) part(dtb) sz(0x7f2e) fmt(normal)
    [MSG]Burn Start...
    [MSG]load dt.img to 0x0000000001000000, sz=0x7f2e
    [MSG]Burn complete
    [MSG]echo video prepare for upgrade
    hpd_state=1
    [1080p60hz] is invalid for cvbs.
    set hdmitx VIC = 16
    config HPLL = 2970
    HPLL: 0xc800023d
    config HPLL done
    set_hpll_od3_clk_div[216] div = 6
    j = 8  vid_clk_div = 1
    hdmitx phy setting done
    hdmitx: set enc for VIC: 16
    enc_vpu_bridge_reset[977]
    [MSG]dw,dh[1920, 1080]
    [MSG]w,h[4,14]
    [MSG]Exit before re-init
    command:    store  exit
    start dts,buffer=0000000001000000,dt_addr=0000000001000000
    parts: 11
    00:      logo    0000000002000000 1
    01:  recovery    0000000002000000 1
    02:       rsv    0000000000800000 1
    03:       tee    0000000000800000 1
    04:     crypt    0000000002000000 1
    05:      misc    0000000002000000 1
    06: instaboot    0000000020000000 1
    07:      boot    0000000002000000 1
    08:    system    0000000040000000 1
    09:     cache    0000000020000000 2
    10:      data    ffffffffffffffff 4
    Device: SDIO Port B
    Manufacturer ID: 3
    OEM: 5344
    Name: SU08G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: Yes
    Capacity: 7.4 GiB
    Bus Width: 4-bit
    [store]amlmmc erase 1emmckey_is_protected : protect
     cmd [store] init failed
    ERR(../drivers/usb/gadget/v2_burning/v2_sdc_burn/optimus_sdc_burn.c)L648:Fail to init stoarge for sdc burn
    Device: SDIO Port B
    Manufacturer ID: 3
    OEM: 5344
    Name: SU08G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: Yes
    Capacity: 7.4 GiB
    Bus Width: 4-bit
    reading aml_autoscript
    ** Unable to read file aml_autoscript **
    reading recovery.img
    ** Unable to read file recovery.img **
    (Re)start USB...
    USB0:   dwc_usb driver version: 2.94 6-June-2012
    USB (0) peri reg base: c0000000
    USB (0) use clock source: XTAL input, div: 1
    USB (0) base addr: 0xc9000000
    Force id mode: Host
    dwc_otg: No USB device found !
    lowlevel init failed
    USB1:   dwc_usb driver version: 2.94 6-June-2012
    USB (1) peri reg base: c0000020
    USB (1) use clock source: XTAL input, div: 1
    USB (1) base addr: 0xc9100000
    Force id mode: Host
    dwc_otg: Highspeed device found !
    
    scanning bus 1 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    Cannot find dev.
    amlmmc cmd <NULL> failed
    
    store - STORE sub-system
    
    Usage:
    store store init flag
    store read name addr off|partition size
        read 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store write name addr off|partition size
        write 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    store rom_write add off size.
        write uboot to the boot device
    store erase boot/data:
        erase the area which is uboot or data
    store erase dtb
    store erase key
    store rom_protect on/off
    store scrub off|partition size
        scrub the area from offset and size
    store dtb iread/read/write addr <size>
        read/write dtb, size is optional
    store key read/write addr <size>
        read/write key, size is optional
    
    cmd store failed
    Err imgread(L130):Fail to read 0x100000B from part[recovery] at offset 0
Working...
X