4 Replies Latest reply on Jun 28, 2016 4:15 PM by Intel Corporation

    dfu-utils backup edison



      I trying to backup my edison using dfu-utils in a inverse way. I found that with -U option instead -D I can create images from edison to PC.

      The problem is that when I try the command:
      - dfu-util -d 8087:0a99 --alt rootfs -U "%BASE_DIR%edison-image-edison.ext4" -R


      I obtain an Upload of 0% and "Failed"


      Do you know why?



        • 1. Re: dfu-utils backup edison

          Hello arjdan,


          If what you need is to have a backup of your Edison, I would suggest you to take a look at Edison backup? and How to install a kernel from my repo onto Edison with the official image on the first part of the tutorial AlexT explains how to create a backup of your Edison's data.



          • 2. Re: dfu-utils backup edison

            Hi arjdan ;


            Were you able to backup your Edison?




            • 3. Re: dfu-utils backup edison

              Having an answer to this would be really helpful. The other methods of getting an image off of an edison aren't great (setting up and booting from an sd card is quite the process, and dd'ing a running filesystem isn't ideal), and just using the same tool that flashes an edison makes sense.


              When I try this, I run `run do_flash` in the U-Boot shell. Then on my computer:


              sudo dfu-util -v -d 8087:0a99 --alt rootfs -U edison.root -Z 1610612736


              which results in:


              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


              Opening DFU capable USB device...

              ID 8087:0a99

              Run-time device DFU version 0110

              Claiming USB DFU Interface...

              Setting Alternate Setting #7 ...

              Determining device status: state = dfuIDLE, status = 0

              dfuIDLE, continuing

              DFU mode device DFU version 0110

              Device returned transfer size 4096

              Copying data from DFU device to PC

              Upload    [                         ]   0%            0 bytes


              Received a total of 0 bytes

              dfu-util: Unexpected number of bytes uploaded from device


              My only guess is that `do_flash` is not the correct thing to run. Any thoughts on this?


              Also, sorry about the formatting. No matter what I seem to do in the editor it isn't reflected in the actual post...

              • 4. Re: dfu-utils backup edison
                Intel Corporation
                This message was posted on behalf of Intel Corporation

                Hi bradjc,


                I've been doing some research and as you mentioned do_flash won't help if you try to backup your Edison. Unfortunately I found that the method found in https://communities.intel.com/message/255608#255608 is currently the only way to backup the image.