Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. unbrick proceedure not finding flat build

unbrick proceedure not finding flat build

Scheduled Pinned Locked Moved Ask your questions right here!
11 Posts 3 Posters 1.9k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    Nathan Raras
    ModalAI Team
    wrote on last edited by
    #2

    @claw After downloading the flat build zip file from our downloads page here, extract them into the following directory:

    /modal-qdl/qdl/qfil_app/modalai
    

    When running the QDL application, the downloaded flat build will populate in the drop down menu where you'll select the flat build, click "Select Build", and then click "Flash Flat Build". Let me know if you have any other issues. Screenshot from 2025-02-27 15-56-41.png Screenshot from 2025-02-27 15-57-19.png

    C 1 Reply Last reply
    0
    • N Nathan Raras

      @claw After downloading the flat build zip file from our downloads page here, extract them into the following directory:

      /modal-qdl/qdl/qfil_app/modalai
      

      When running the QDL application, the downloaded flat build will populate in the drop down menu where you'll select the flat build, click "Select Build", and then click "Flash Flat Build". Let me know if you have any other issues. Screenshot from 2025-02-27 15-56-41.png Screenshot from 2025-02-27 15-57-19.png

      C Offline
      C Offline
      claw
      wrote on last edited by
      #3

      @Nathan-Raras Thank you for the replay. As I mentioned, that IS where I put the image.

      I reinstalled qdl using snap and now it finds the image.

      It still does not work though. I get the following error I'm trying to unbrick the older model voxl2 board from a Starling.

      1f97ec09-8fb2-4a16-b068-e3bbc588fef6-image.png

      N 1 Reply Last reply
      0
      • C claw

        @Nathan-Raras Thank you for the replay. As I mentioned, that IS where I put the image.

        I reinstalled qdl using snap and now it finds the image.

        It still does not work though. I get the following error I'm trying to unbrick the older model voxl2 board from a Starling.

        1f97ec09-8fb2-4a16-b068-e3bbc588fef6-image.png

        N Offline
        N Offline
        Nathan Raras
        ModalAI Team
        wrote on last edited by
        #4

        @claw I see, when you open the flat build folder, are the following contents displayed as such:
        Screenshot from 2025-02-28 11-08-23.png

        I've seen some occurrences after downloading the zip where the flat build folder gets extracted inside another folder. If that is the case, move the actual flat build folder to look like the image above.

        If not, inside the ufs folder of the flat build image, you can run this command manually for a more detailed output:

        sudo qdl --debug --storage ufs --include . prog_firehose_ddr.elf rawprogram_unsparse0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
        
        1 Reply Last reply
        0
        • C Offline
          C Offline
          claw
          wrote on last edited by
          #5

          Thank you for that. You're correct that it unarchived with an extra level of folders. I corrected that and retried the process. This time it ran "flash flat build" for several minutes before returning the failure message. I tried starting from the first step, different cables etc but it failed each time - it runs for 10 minutes or so and then prints the fail message. Is there a log file that gives more information to troubleshoot why it fails?
          872e24da-e8d7-4b1d-bda2-3f729dfb411d-image.png

          C 1 Reply Last reply
          0
          • C claw

            Thank you for that. You're correct that it unarchived with an extra level of folders. I corrected that and retried the process. This time it ran "flash flat build" for several minutes before returning the failure message. I tried starting from the first step, different cables etc but it failed each time - it runs for 10 minutes or so and then prints the fail message. Is there a log file that gives more information to troubleshoot why it fails?
            872e24da-e8d7-4b1d-bda2-3f729dfb411d-image.png

            C Offline
            C Offline
            claw
            wrote on last edited by
            #6

            @Nathan-Raras BTW, the terminal window displays a "500 internal server error"

            N 1 Reply Last reply
            0
            • N Offline
              N Offline
              Nathan Raras
              ModalAI Team
              wrote on last edited by
              #7

              I added some changes to output the data in the log, if you were to do a "git pull", you'll be able to see log data for Provision/CDT/Flat Build. There is a timeout implemented to avoid any issues that can cause the the process to hang indefinitely. Through testing we've noticed a significant difference in using a high speed USB-C cable which cuts the flat build flash roughly in half. If you do not have that available, you can run the following command inside /modal-qdl/qdl/qfil_app/modalai/2024-06-17-1.7.4-M0054-1/ufs to flash the flat build manually (no timeout):

              sudo qdl --debug --storage ufs --include . prog_firehose_ddr.elf rawprogram_unsparse0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
              
              1 Reply Last reply
              0
              • C claw

                @Nathan-Raras BTW, the terminal window displays a "500 internal server error"

                N Offline
                N Offline
                Nathan Raras
                ModalAI Team
                wrote on last edited by
                #8

                @claw When finished, the terminal will display "partition 1 is now bootable" which signifies that the flat build was successfully flashedScreenshot from 2025-03-03 13-48-20.png

                C 1 Reply Last reply
                0
                • N Nathan Raras

                  @claw When finished, the terminal will display "partition 1 is now bootable" which signifies that the flat build was successfully flashedScreenshot from 2025-03-03 13-48-20.png

                  C Offline
                  C Offline
                  claw
                  wrote on last edited by
                  #9

                  @Nathan-Raras That's fantastic! Thank you. I will try it tomorrow when I'm back in the lab and let you know how it goes.

                  C 1 Reply Last reply
                  0
                  • C claw

                    @Nathan-Raras That's fantastic! Thank you. I will try it tomorrow when I'm back in the lab and let you know how it goes.

                    C Offline
                    C Offline
                    claw
                    wrote on last edited by
                    #10

                    @claw said in unbrick proceedure not finding flat build:

                    @Nathan-Raras

                    I bought a high-speed cable and the flat build passed. Thank you for your help. I need to install both the SDK now and migrate to ROS2. Are there plans to update the SDK with ROS2 as the default so that the extra step isn't required?

                    tomT 1 Reply Last reply
                    0
                    • C claw

                      @claw said in unbrick proceedure not finding flat build:

                      @Nathan-Raras

                      I bought a high-speed cable and the flat build passed. Thank you for your help. I need to install both the SDK now and migrate to ROS2. Are there plans to update the SDK with ROS2 as the default so that the extra step isn't required?

                      tomT Online
                      tomT Online
                      tom
                      admin
                      wrote on last edited by
                      #11

                      @claw Not at this time as ROS2 takes up a lot of space so we don't include it by default

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups