6 Replies Latest reply on Mar 12, 2015 8:40 AM by X_Y

    Can't flash the Linux image

    X_Y

      Hi, I'm using Windows 8. While following the getting started guide, I encountered the following message and the system doesn't seem to be updated. It happens after I typed "reboot ota" in the terminal. How may I get over the first steps?

       

      U-Boot 2014.04 (Oct 14 2014 - 15:19:04)

       

       

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

      reading ota_update.scr

      ** Unable to read file ota_update.scr **

      Saving Environment to MMC...

      Writing to MMC(0)... done

      resetting ...

        • 1. Re: Can't flash the Linux image
          CMata_Intel

          Hi X_Y

           

          Do you have the needed files in the Mass Storage Device of the Edison?

          Also, take a look at this thread: Recovering form a bad linux image

           

          And try with stopping the boot process when you get:

          Hit any key to stop autoboot:  0
          

          and type

          boot > run do_ota
          

           

          Regards;

          CMata

          • 2. Re: Can't flash the Linux image
            X_Y

            Hi CMata_Intel,

            I have the files, especially ota_update.src

            And below is the result of me running the "run do_ota" approach

             

                   Watchdog enabled

            DRAM:  980.6 MiB

            MMC:   tangier_sdhci: 0

            In:    serial

            Out:   serial

            Err:   serial

            Hit any key to stop autoboot:  0

            boot > run do_ota

            reading ota_update.scr

            ** Unable to read file ota_update.scr **

            Saving Environment to MMC...

            Writing to redundant MMC(0)... done

            resetting ...

            • 3. Re: Can't flash the Linux image
              onzverge

              Solved.

              Windows 8.1

              I have 3 brand new Edisons with Arduino breakout board. The firmware was factory default from Aug 2014. So, I tried to flash updated firmware (ver 120) and was not able to do it, getting same error :

              "Unable to read file ota_update.scr"

              I tried Edison Windows installer (which has this process automated), it was released today, but result was the same  - "Unable to read file ota_update.scr"

              It came out that all it takes is to format Edison drive to FAT32 (full format) and then copy image to it again. After that flash was successful.

              I think that from factory Edison storage has some weird formatting and image can not be read from it.

              1 of 1 people found this helpful
              • 4. Re: Can't flash the Linux image
                onzverge

                Sorry, forgot to mention, I was flashing the image with standard Intel procedure : reboot ota executed from serial console.

                • 5. Re: Can't flash the Linux image
                  CMata_Intel

                  Hi X_Y

                   

                  Did you try with the onzverge's suggestion?

                  Have you tried to use the  Windows64 Integrated Installer from Intel® Edison Boards and Compute Modules — Software Downloads

                   

                  Also there is another method that you can try:

                  1) Download this file and put it inside the folder where you have the files for the image in your PC. https://dl.dropboxusercontent.com/u/54378433/dfu-util/dfu-util.exe

                  2) Use cmd.exe and go to the folder where you have the files and run the flashall.bat file.

                  C:\Users\Myself\Edison\edison-image-ww05-15>flashall.bat
                  

                  3) Plug your board and wait for the process to be done.

                  4) Start a session with Putty and log-in into you board.

                   

                  Let us know if this or the onzverge's suggestion work for you.

                   

                  Regards;

                  CMata

                  • 6. Re: Can't flash the Linux image
                    X_Y

                    Formatting as FAT32 does solve the problem. For once it didn't work, but I couldn't reproduce the problem anymore. Will keep an eye on it.

                    However, if I run configure_edison --upgrade, it still has the same problem. My version is 16 and latest is 17.

                     

                    Hi CMata_Intel thanks for the tip! I don't need it right now, but hopefully it'll be helpful for others.