3 Replies Latest reply on Dec 4, 2015 5:16 PM by CMata_Intel

    Unable to flash edison

    Adomas

      condition: Will not boot, will not mount as USB Drive.

       

      Then I tried the flash tool. it completes, however the device shows the following:


      software suggests:

      Edison board needs to reboot

      Please do not unplug it for 2 minutes

       

      On Arduino board, led will stop blinking at boot completed

       

      However it does not blink at all, only the ds1 is illuminated.

       

      if I reset the device eventually I get errors like:

      Starting kernel ...

       

       

      [    0.757540] pca953x 1-0020: failed reading register

      [    1.602497] snd_soc_sst_platform: Enter:sst_soc_probe

      [    2.006439] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

      [    2.024565] pmic_ccsm pmic_ccsm: Battery Over heat exception

       

       

      or something about panic

       

      Starting kernel ...

       

       

      [    0.757241] pca953x 1-0020: failed reading register

      [    1.602552] snd_soc_sst_platform: Enter:sst_soc_probe

      [    2.006387] pmic_ccsm pmic_ccsm: Error reading battery profile from battid fr         mwrk

      [    2.024584] pmic_ccsm pmic_ccsm: Battery Over heat exception

      [    2.115810] Kernel panic - not syncing: No init found.  Try passing init= opt         ion to kernel. See Linux Documentation/init.txt for guidance.

      [    2.115936] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.17-poky-edison+ #1

      [    2.115999] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542          2015.01.21:18.19.48

      [    2.116070]  00016fa6 c1bf3700 f6c89f84 c18d9eea f6c89f9c c18d7de4 00000088 c         1bf3700

      [    2.116186]  00016fa6 00000000 f6c89fac c18cb024 c1ac9678 f6c8bf88 f6c88000 c         18e4bf7

      [    2.116298]  c18caed0 00000000 00000000 00000000 00000000 00000000 00000000 0         000007b

      [    2.116409] Call Trace:

      [    2.116464]  [<c18d9eea>] dump_stack+0x16/0x18

      [    2.116518]  [<c18d7de4>] panic+0x81/0x178

      [    2.116572]  [<c18cb024>] kernel_init+0x154/0x160

      [    2.116627]  [<c18e4bf7>] ret_from_kernel_thread+0x1b/0x28

      [    2.116685]  [<c18caed0>] ? rest_init+0x80/0x80

      [    2.116800] emmc_ipanic: panic notified

      [    2.116839] emmc_ipanic: Crash partition in use!

       

      Please help.

       

       

       

      Additional Information and logs.

       

      Flash tool lite output:

      11/24/15 22:20:59.596 INFO : [Port -1] Starting flash ...

      11/24/15 22:20:59.596 INFO : [Port -1] Running `Notify` command

      11/24/15 22:20:59.678 INFO : Displaying notification during 42000 ms

      11/24/15 22:20:59.680 INFO : [Port -1] Command `Notify` succeed

      11/24/15 22:20:59.680 INFO : [Port -1] Running `Wait for device with status dnx_fw on port -1` command

      11/24/15 22:21:08.883 INFO : [Port 1/3] Command `Wait for device with status dnx_fw on port -1` succeed

      11/24/15 22:21:08.883 INFO : [Port 1/3] Running `Notify` command

      11/24/15 22:21:09.109 INFO : Displaying notification during 5000 ms

      11/24/15 22:21:09.129 INFO : [Port 1/3] Command `Notify` succeed

      11/24/15 22:21:09.129 INFO : [Port 1/3] Running `"xfstkFlashTool.exe" "-1" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_dnx_fwr.bin" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_ifwi-dbg-00.bin" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_dnx_osr.bin" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-edison.img" "0x80000007" "none" "none" "0"` command

      11/24/15 22:21:09.188 INFO : [Port 1/3] Disabling xFSTK Misc DnX

      11/24/15 22:21:09.188 INFO : [Port 1/3] Disabling xFSTK wipe out ifwi option

      11/24/15 22:21:09.188 INFO : [Port 1/3] Using xFSTK Solo interface (new API)

      11/24/15 22:21:09.188 INFO : [Port 1/3] xFSTK Soft Fuse not set

      11/24/15 22:21:09.188 INFO : [Port 1/3] XFSTK Downloader API 1.8.1

      11/24/15 22:21:09.188 INFO : [Port 1/3] Copyright (c) 2015 Intel Corporation

      11/24/15 22:21:09.188 INFO : [Port 1/3] fwdnx -- C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_dnx_fwr.bin

      11/24/15 22:21:09.188 INFO : [Port 1/3] fwimage -- C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_ifwi-dbg-00.bin

      11/24/15 22:21:09.188 INFO : [Port 1/3] osdnx -- C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_dnx_osr.bin

      11/24/15 22:21:09.188 INFO : [Port 1/3] osimage -- C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-edison.img

      11/24/15 22:21:09.188 INFO : [Port 1/3] gpflags -- 0x80000007

      11/24/15 22:21:09.188 INFO : [Port 1/3] softfuse --

      11/24/15 22:21:09.188 INFO : [Port 1/3] XFSTK-STATUS--Detecting Intel Device - Attempt #0

      11/24/15 22:21:09.188 INFO : [Port 1/3] Qt: Untested Windows version 6.3 detected!

      11/24/15 22:21:10.319 INFO : [Port 1/3] ....XFSTK-LOG--virtual bool MerrifieldDownloader::SetDevice(IGenericDevice*)

      11/24/15 22:21:10.319 INFO : [Port 1/3] Initiating download...

      11/24/15 22:21:10.320 INFO : [Port 1/3] XFSTK-STATUS--FW(Miscdnx) download is in progress ...

      11/24/15 22:21:10.321 INFO : [Port 1/3] XFSTK-STATUS--FW: Sending DnX DCFI00 ...

      11/24/15 22:21:13.218 INFO : [Port 1/3] XFSTK-STATUS--Error Code: 0 - Success

      11/24/15 22:21:13.218 INFO : [Port 1/3] XFSTK-STATUS--Firmware download completed. Continuing to OS...

      11/24/15 22:21:23.357 INFO : [Port 1/3] XFSTK-STATUS--Reconnecting to device - Attempt #1

      11/24/15 22:21:24.490 INFO : [Port 1/3] XFSTK-STATUS--POS download is in progress ...

      11/24/15 22:21:27.477 INFO : [Port 1/3] XFSTK-STATUS--Error Code: 0 - Success

      11/24/15 22:21:27.477 INFO : [Port 1/3] XFSTK-STATUS--Firmware and OS download completed.

      11/24/15 22:21:27.477 INFO : [Port 1/3] XFSTK: Transfer Completed Successfully.

      11/24/15 22:21:27.478 INFO : [Port 1/3] Success: Download of FW Completed.

      11/24/15 22:21:27.478 INFO : [Port 1/3] xfstkFlashTool exited with success

      11/24/15 22:21:27.478 INFO : [Port 1/3] Command `"xfstkFlashTool.exe" "-1" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_dnx_fwr.bin" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_ifwi-dbg-00.bin" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison_dnx_osr.bin" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-edison.img" "0x80000007" "none" "none" "0"` succeed

      11/24/15 22:21:27.478 INFO : [Port 1/3] Running `Wait for device with status pos on port 1/3` command

      11/24/15 22:21:40.647 INFO : [Port 1/3] Command `Wait for device with status pos on port 1/3` succeed

      11/24/15 22:21:40.647 INFO : [Port 1/3] Running `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "u-boot0" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-edison.bin" "-t" "4096" "-d" "8087:0a99"` command

      11/24/15 22:21:41.767 INFO : [Port 1/3] Command `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "u-boot0" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-edison.bin" "-t" "4096" "-d" "8087:0a99"` succeed

      11/24/15 22:21:41.767 INFO : [Port 1/3] Running `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "u-boot-env0" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-envs\edison-blankrndis.bin" "-t" "4096" "-d" "8087:0a99"` command

      11/24/15 22:21:42.914 INFO : [Port 1/3] Command `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "u-boot-env0" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-envs\edison-blankrndis.bin" "-t" "4096" "-d" "8087:0a99"` succeed

      11/24/15 22:21:42.914 INFO : [Port 1/3] Running `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "u-boot-env1" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-envs\edison-blankrndis.bin" "-t" "4096" "-R" "-d" "8087:0a99"` command

      11/24/15 22:21:44.097 INFO : [Port 1/3] Command `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "u-boot-env1" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\u-boot-envs\edison-blankrndis.bin" "-t" "4096" "-R" "-d" "8087:0a99"` succeed

      11/24/15 22:21:44.097 INFO : [Port 1/3] Running `Sleeping for 6 seconds` command

      11/24/15 22:21:50.097 INFO : [Port 1/3] Command `Sleeping for 6 seconds` succeed

      11/24/15 22:21:50.097 INFO : [Port 1/3] Running `Wait for device with status pos on port 1/3` command

      11/24/15 22:21:58.541 INFO : [Port 1/3] Command `Wait for device with status pos on port 1/3` succeed

      11/24/15 22:21:58.541 INFO : [Port 1/3] Running `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "boot" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison-image-edison.hddimg" "-t" "4096" "-d" "8087:0a99"` command

      11/24/15 22:21:58.834 INFO : [Port 1/3] Command `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "boot" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison-image-edison.hddimg" "-t" "4096" "-d" "8087:0a99"` succeed

      11/24/15 22:21:58.834 INFO : [Port 1/3] Running `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "rootfs" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison-image-edison.ext4" "-t" "4096" "-R" "-d" "8087:0a99"` command

      11/24/15 22:22:00.808 INFO : [Port 1/3] Command `"C:\Program Files (x86)\Intel\Phone Flash Tool Lite\dfu-util.exe" "--alt" "rootfs" "-D" "C:\Users\povil\Downloads\edison-image-ww25.5-15\edison-image-edison.ext4" "-t" "4096" "-R" "-d" "8087:0a99"` succeed

      11/24/15 22:22:00.808 INFO : [Port 1/3] Running `Notify` command

      11/24/15 22:22:00.917 INFO : Displaying notification during 60000 ms

      11/24/15 22:22:00.940 INFO : [Port 1/3] Command `Notify` succeed

      11/24/15 22:22:00.940 INFO : [Port 1/3] Flash success (duration=00:01:01.344)

       

      PuTTY output right after flash tool lite:

      Saving Environment to MMC...

      Writing to redundant MMC(0)... done

      GADGET DRIVER: usb_dnl_dfu

       

       

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

      PSH KERNEL VERSION: b0182b2b

                      WR: 20104000

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

       

       

      SCU IPC: 0x800000d0  0xfffce92c

       

       

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

       

       

      microkernel built 11:24:08 Feb  5 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 ***

       

       

       

       

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

      PSH KERNEL VERSION: b0182b2b

                      WR: 20104000

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

       

       

      SCU IPC: 0x800000d0  0xfffce92c

       

       

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

       

       

      microkernel built 11:24:08 Feb  5 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 ***

       

       

       

       

      U-Boot 2014.04 (Jun 19 2015 - 12:05:55)

       

       

             Watchdog enabled

      DRAM:  980.6 MiB

      MMC:   tangier_sdhci: 0

      In:    serial

      Out:   serial

      Err:   serial

      Writing to redundant MMC(0)... done

      Writing to MMC(0)... done

      Hit any key to stop autoboot:  0

      Target:ifwi

      Partitioning using GPT

      Writing GPT: success!

      Saving Environment to MMC...

      Writing to redundant MMC(0)... done

      Partitioning already done...

      Saving Environment to MMC...

      Writing to MMC(0)... done

      GADGET DRIVER: usb_dnl_dfu

      #

      DFU complete CRC32: 0x6ad212b0

      DOWNLOAD ... OK

      Ctrl+C to exit ...

      #

      DFU complete CRC32: 0x9cb56567

      DOWNLOAD ... OK

      Ctrl+C to exit ...

      #

      DFU complete CRC32: 0x9cb56567

      DOWNLOAD ... OK

      Ctrl+C to exit ...

      resetting ...

       

       

       

       

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

      PSH KERNEL VERSION: b0182b2b

                      WR: 20104000

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

       

       

      SCU IPC: 0x800000d0  0xfffce92c

       

       

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

       

       

      microkernel built 11:24:08 Feb  5 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 ***

       

       

       

       

      U-Boot 2014.04 (Jun 19 2015 - 12:05:55)

       

       

             Watchdog enabled

      DRAM:  980.6 MiB

      MMC:   tangier_sdhci: 0

      In:    serial

      Out:   serial

      Err:   serial

      Writing to redundant MMC(0)... done

      Writing to MMC(0)... done

      Hit any key to stop autoboot:  0

      Target:blank

      Partitioning using GPT

      Writing GPT: success!

      Saving Environment to MMC...

      Writing to redundant MMC(0)... done

      Flashing already done...

      GADGET DRIVER: usb_dnl_dfu

        • 1. Re: Unable to flash edison
          Adomas

          So I tried and tried again, and finally an old version flashed, the problem was that rootfs would not transfer all the way.. hang up, but the flashing utility see no problem with that.

          I am scared to flash the new firmware now.

          could it be a broken USB wire?

          • 2. Re: Unable to flash edison
            Intel_Alvarado

            Hi,

             

            How are you powering the board, are you using an external power supply in J1? To what old version did you flash?

            I noticed you received a “Battery Over heat exception” error. Was the Edison or any components heating up during the flash process?

             

            The Flash Tool lite usually takes a while transferring rootfs at around 88% of the flashing process, this is normal. If you need to re flash to a newer version make sure you are using a USB cable that works with the Edison and to power the board correctly. I use a 12V/2.5A power supply in J1 and have never seen any errors.

             

            Sergio

            • 3. Re: Unable to flash edison
              CMata_Intel

              Hi Adomas,

               

              Were you able to flash the board with a newer image?

               

              Regards,

              Charlie