1 Reply Latest reply on Mar 5, 2015 10:45 PM by c.sze

    Can't flash image to Edison

    c.sze

      Hi,

       

      I have been trying everything I can to unbrick the Edison.

      Please see below of my attempt to flash the default image to Edison (flashall.sh).

       

      sudo ./flashall.sh --recovery

      Starting Recovery mode

      Please plug and reboot the board

      Flashing IFWI

       

       

      XFSTK Downloader Solo 0.0.0

      Copyright (c) 2015 Intel Corporation

      Build date and time: Mar  6 2015 09:18:53

       

       

      Intel SoC Device Detection Failed: Attempt #0

      Intel SoC Device Detection Failed: Attempt #1

      Intel SoC Device Detection Failed: Attempt #2

      Intel SoC Device Detection Failed: Attempt #3

      .Intel SoC Device Detection Found

      Parsing Commandline....

      Registering Status Callback....

      .Initiating Download Process....

      .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XFSTK-STATUS--Reconnecting to device - Attempt #1

      .................................................................................................................Xfstk tool error

      DEBUG: lsusb

      Bus 002 Device 003: ID 0cf3:3004 Atheros Communications, Inc.

      Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

      Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      Bus 001 Device 003: ID 2232:1045 

      Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

      Bus 003 Device 016: ID 14cd:121f Super Top

      Bus 003 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller

      Bus 003 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

      Bus 003 Device 028: ID 8086:e005 Intel Corp.

      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      DEBUG: dfu-util -l

      dfu-util 0.8

       

       

      Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

      Copyright 2010-2014 Tormod Volden and Stefan Schmidt

      This program is Free Software and has ABSOLUTELY NO WARRANTY

      Please report bugs to dfu-util@lists.gnumonks.org

       

      There is Xfstk tool error but Xfstk tool is already installed.

      Also, dfu-util used is version 0.8.

       

      Unfortunately, I bricked the Edison while 'dd'-ing a faulty img to mmcblk0.

      Executing flashall.sh (sudo ./flashall.sh) in normal mode also does not work.

       

      Also, please see below for serial output of bricked Edison.

      Serial boot

      ******************************

      PSH KERNEL VERSION: b0182929

                      WR: 20104000

      ******************************

       

       

      SCU IPC: 0x800000d0  0xfffce92c

       

       

      PSH miaHOB version: TNG.B0.VVBD.0000000c

       

       

      microkernel built 10:14:01 Jan 13 2015

       

       

      ******* PSH loader *******

      PCM page cache size = 192 KB

      Cache Constraint = 0 Pages

      Arming IPC driver ..

      Adding page store pool ..

      PagestoreAddr(IMR Start Address) = 0x04899000

      pageStoreSize(IMR Size)          = 0x00080000

       

       

      *** Ready to receive application ***

       

      That is the only thing that appears. It does not go further so I cannot interrupt auto-boot and also cannot do reboot ota through terminal.

       

      Please help me as I am clueless as to what else to do.

        • 1. Re: Can't flash image to Edison
          c.sze

          Fixed:

           

          After a bit more tinkering with flashall.sh file, changing some parameters (changing USB_VID and USB_PID to match values read by linux), I was able to do recovery successful.

           

          Finally, I am now able to interrupt auto-boot and execute run do_flash to put Edison in flashing state. Then, I am now able to flash through flashall.sh.

           

          For reflashing, I used this thread for reference: Recovering form a bad linux image.