ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable to flash VOXL2 image after installing QDL image

    Ask your questions right here!
    voxl2
    2
    2
    210
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MartinP
      last edited by

      Hi,

      I tried to flash the voxl2_platform_0.9.tar.gz platform release onto a VOXL2. This failed and device was no longer visible with adb devices, even after resets of device and restarting adb. I followed https://docs.modalai.com/voxl2-qdl/ instructions to recover the device using QDL. Installing the QDL image succeeded.

      However multiple attempts to reinstall the voxl platform release failed (including when forcing fastboot). I varied usb cable used; deploying from Mac vs Ubuntu; forcing fastboot; re-imaging the QDL image. Ultimately I was able to redeploy (retrying the forcing fastboot instructions, using an Ubuntu machine) but I am concerned that many attempts failed.

      Below are the various errors I saw. Please can you give an indication of possible causes for them so I try to avoid in future? Any help much appreciated.

      1) Failure to boot to fastmode:

      ./install.sh   
      [INFO] adb installed
      [INFO] fastboot installed
      ----Starting System Image Flash----
      Detected OS: Linux
      
      Installer Version: 0.8
      Image Version:     1.4.1
      [INFO] Found adb device, rebooting to fastboot
      [ERROR] Failed to reboot to fastboot
      [INFO] Failed to put device in fastboot mode, exiting
      

      Do you know what causes this?

      2) Unable to write to partition

      Multiple times I saw

      voxl2-platform % ./install.sh
      [INFO] adb installed
      [INFO] fastboot installed
      ----Starting System Image Flash----
      Detected OS: OSX
      
      Installer Version: 0.8
      Image Version:     1.4.1
      [INFO] Found adb device, rebooting to fastboot
      [INFO] Found fastboot device
      [WARNING] This system image flash is intended only for the following
                platform: VOXL2 (m0054) 
      
                Make sure that the device that will be flashed is correct.
                Flashing a device with an incorrect system image will lead
                the device to be stuck in fastboot.
      
      Would you like to continue with the VOXL2 (m0054) system image flash?
      1) Yes
      2) No
      #? 1
      [INFO] {system::0xD3B5D7000} partition returned size {0x1A435F3000}, expected {0xD3B5D7000}
      [WARNING] Partition layout was found to be incorrect, this requires
                flashing the full partition table. Flashing the partition
                table will also flash every partition causing all data on
                the device to be lost.
      
      When doing a full flash, make sure to backup any important files
      
      Would you like to continue with the full wipe/flash now?
      1) Yes
      2) No
      #? 1
      [INFO] Found all required files
      
      
      [ERROR] Failed to flash partition: partition:0
      
      Sending 'partition:0' (0 KB)                       OKAY [  0.006s]
      Writing 'partition:0'                              FAILED (remote: 'Error Updating partition Table
      ')
      fastboot: error: Command failed
      

      3) Low power warning

      On one instance I saw the following. We were using the power supply that came with dev kit though with a US->UK adapter.

      ...
      
      [ERROR] Failed to flash partition: partition:0
      
      target reported max download size of 805306368 bytes
      sending 'partition:0' (44 KB)...
      OKAY [  0.007s]
      writing 'partition:0'...
      FAILED (remote: Warning: battery's capacity is very low
      )
      finished. total time: 0.020s
      1 Reply Last reply Reply Quote 0
      • tomT
        tom admin
        last edited by tom

        @MartinP This is a bug that we have since fixed but requires flashing that the image you're trying to flash in order to fix...

        However, a work-around is to do the following when forcing the board into fastboot:

        • disconnect power and USB
        • press and hold fastboot button
        • attach power
        • attach usb
        • wait a few seconds
        • now release fastboot button
        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Powered by NodeBB | Contributors