6 Replies Latest reply on Oct 9, 2015 8:56 AM by Ramith

    EDISON BRICKED ! MMC 2nd Partition with FWI erased, can this be fixed ?

    JTilghman

      Somehow the reflash partition got nuked. So when I try to reflash I get this:

       

      boot > run do_flash

      Saving Environment to MMC...

      Writing to redundant MMC(0)... done

      dfu_fill_entity_mmc: could not find partition #2 on mmc device #0!

      ERROR: DFU entities configuration failed!

       

       

      at drivers/dfu/dfu.c:71/dfu_init_env_entities()

      dfu - Device Firmware Upgrade

       

       

      Usage:

      dfu <USB_controller> <interface> <dev> [list|timeout]

        - device firmware upgrade via <USB_controller>

          on device <dev>, attached to interface

          <interface>

          [list] - list available alt settings

          [timeout] - specify inactivity timeout in sec, doesn't work whit list

      boot >

       

      Is there anyway to fix this or is this module toast ?

       

      Thanks,

      JT

        • 1. Re: MMC FWI erased, can this be fixed ?
          PabloM_Intel

          Hi JTilghman,

           

          Have you tried with the Flash Tool Lite? You can download it along with the Setup Guide following this link Intel® Edison Board Download | Intel® Developer Zone.

           

          Regards,

          PabloM_Intel

          • 2. Re: MMC FWI erased, can this be fixed ?
            JTilghman

            FLASH Lite fails, it doesn't see the device come ready.

             

            FlashLITE LOG:

             

            06/23/15 17:24:31.489 INFO : [Port -1] Starting flash ...

            06/23/15 17:24:31.489 INFO : [Port -1] Running `Notify 'G:\EDISON RECOVERY\edison-image-ww18-15\helper\helper.html'` command

            06/23/15 17:24:31.781 INFO : Displaying 'file:///G:/EDISON RECOVERY/edison-image-ww18-15/helper/helper.html' during 42000 ms

            06/23/15 17:24:31.781 INFO : [Port -1] Command `Notify 'G:\EDISON RECOVERY\edison-image-ww18-15\helper\helper.html'` succeed

            06/23/15 17:24:31.781 INFO : [Port -1] Running `Wait for device with status dnx_fw on port -1` command

            06/23/15 17:25:13.781 ERROR : [Port -1] Command `Wait for device with status dnx_fw on port -1` failed

            06/23/15 17:25:13.781 ERROR : [Port -1] Flash failed (Command type: Device enumeration)

            06/23/15 17:25:13.782 TRACE : Sending system tray notification: "Flash failed"

            06/23/15 17:26:07.472 INFO : [Port -1] Starting flash ...

            06/23/15 17:26:07.472 INFO : [Port -1] Running `Notify 'G:\EDISON RECOVERY\edison-image-ww18-15\helper\helper.html'` command

            06/23/15 17:26:07.772 INFO : Displaying 'file:///G:/EDISON RECOVERY/edison-image-ww18-15/helper/helper.html' during 42000 ms

            06/23/15 17:26:07.782 INFO : [Port -1] Command `Notify 'G:\EDISON RECOVERY\edison-image-ww18-15\helper\helper.html'` succeed

            06/23/15 17:26:07.782 INFO : [Port -1] Running `Wait for device with status dnx_fw on port -1` command

            06/23/15 17:26:49.782 ERROR : [Port -1] Command `Wait for device with status dnx_fw on port -1` failed

            06/23/15 17:26:49.782 ERROR : [Port -1] Flash failed (Command type: Device enumeration)

            06/23/15 17:26:49.856 TRACE : Sending system tray notification: "Flash failed"

             

            If i have a serial terminal open I can see that gives the autoboot prompt and that I could drop to the boot prompt.

             

            Here is the serial console:

             

            U-Boot 2014.04 (Jun 22 2015 - 18:37:06)

             

             

                   Watchdog enabled

            DRAM:  980.6 MiB

            MMC:   tangier_sdhci: 0

            In:    serial

            Out:   serial

            Err:   serial

            Hit any key to stop autoboot:  0

            Target:blank

            Partitioning already done...

            Flashing already done...

            dfu_fill_entity_mmc: could not find partition #2 on mmc device #0!

            ERROR: DFU entities configuration failed!

             

             

            at drivers/dfu/dfu.c:71/dfu_init_env_entities()

            dfu - Device Firmware Upgrade

             

             

            Usage:

            dfu <USB_controller> <interface> <dev> [list|timeout]

              - device firmware upgrade via <USB_controller>

                on device <dev>, attached to interface

                <interface>

                [list] - list available alt settings

                [timeout] - specify inactivity timeout in sec, doesn't work whit list

            ** Invalid partition 7 **

            Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

            ## Kernel loading failed ...

            zboot - Boot bzImage

             

             

            Usage:

            zboot [addr] [size] [initrd addr] [initrd size]

                  addr -        The optional starting address of the bzimage.

                                If not set it defaults to the environment

                                variable "fileaddr".

                  size -        The optional size of the bzimage. Defaults to

                                zero.

                  initrd addr - The address of the initrd image to use, if any.

                  initrd size - The size of the initrd image to use, if any.

             

             

            Unknown boot mode: boot

            Saving Environment to MMC...

            Writing to redundant MMC(0)... done

            Resetting to default boot mode and reboot...

            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 ***

             

             

             

            JT

            • 3. Re: EDISON BRICKED ! MMC 2nd Partition with FWI erased, can this be fixed ?
              JTilghman

              FOUND my answer to fix this here: https://edison.internet-share.com/wiki/Intel_Edison_Research

               

              This command from the boot prompt allowed my to reflash back to working: do_flash_ifwi=run do_dfu_alt_info_ifwi ; dfu 0 mmc 0

               

              JT

              1 of 1 people found this helpful
              • 4. Re: EDISON BRICKED ! MMC 2nd Partition with FWI erased, can this be fixed ?
                Ramith

                I got a similar issue can you help ?

                the flash tool stopped at 38%. (prior to that the dev/root was 100% filled and the Edison partition or drive didn't show so I decided to flash it but falied )

                Please help.

                jij.PNG

                I have access to boot> is there a way to flash it using a sd card.? or any suggesions ?

                • 5. Re: EDISON BRICKED ! MMC 2nd Partition with FWI erased, can this be fixed ?
                  PabloM_Intel

                  Hi Ramith,

                   

                  Why don’t you try running the Flashall script method? Follow the next steps to complete the process.

                   

                  • Download the Edison image from the Makers website: https://software.intel.com/en-us/iot/hardware/edison/downloads
                  • Download dfu-util from here: http://dfu-util.sourceforge.net/releases/
                  • Put the dfu-util file in the folder of the Linux image previously downloaded
                  • Go to Control Panel > System > Advanced System Settings > Environment variables. Make sure that the value PATH is C:\Windows\System32.
                  • Go back to the folder with the Linux image and double click “flashall.bat”. A command prompt should appear. As soon as you open “flashall.bat”, connect your Edison with both cables.
                  • The flashing process should begin in a few moments. This can take up to 5 minutes, there may be some error but you can ignore it.

                   

                  Regards,

                  PabloM_Intel