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

    VOXL2 bricking itself randomly

    Ask your questions right here!
    4
    11
    737
    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.
    • R
      rohitpillai
      last edited by

      Hi,

      I have had the VOXL2 brick multiple times on three different VOXL2 boards. 2 Stand alone VOXL2 boards powered using the LiPo battery (suggested for the Sentinel) and wall-connector and one VOXL2 board on the Sentinel. The VOXL2 fails to boot-up after running voxl-configure-docker-support. Once docker is running and I load my docker container in, I power off the drone and VOXL2 boards by disconnecting the XT60 plug. When I try to power it on again, by plugging it back in, the VOXL2 does not boot up on either the Sentinel and the stand alone boards. If I do lsusb I can see that there is a Qualcomm device connected to the system. But I am not able to adb shell into the VOXL nor can I SSH in. I seem to have to fastboot and reflash the system image for it to start working again and then I would have reconfigure everything again.

      This process has happened 3 times now after starting the docker daemon and downloading the necessary docker files when running voxl-configure-docker-support. I thought to myself maybe I have to do poweroff -f to safely turn off the VOXL2. I tried this and I ran into the same problem. But I shouldn't need to do this since when you turn off a drone, I usually been just unplugging the cable. Any advice and suggestions on this would be great!

      Thanks in advance,

      Rohit

      1 Reply Last reply Reply Quote 0
      • Chad SweetC
        Chad Sweet ModalAI Team
        last edited by

        VOXL 2, like all embedded systems, get bricked when power is removed while flash is still open in the write state. It's likely configuring the docker setup is performing a lot of writes to the flash. poweroff should help, calling sync should help as well. As long as you make sure flash has flushed before pulling the plug, you should be fine

        You can see a writeup on the topic here, as it is common in all of this type of single board computers

        1 Reply Last reply Reply Quote 0
        • R
          rohitpillai
          last edited by

          I am unplugging the drone and VOXL2 boards after I exit/close the docker container and after the configuration process is complete. I then tried both typing in poweroff and unplugging the power. After both times, VOXL2 does not boot up properly.

          How does one check if flash has flushed?

          Thanks!

          1 Reply Last reply Reply Quote 0
          • R
            rohitpillai
            last edited by

            After reflashing the VOXL2 once again, I ran voxl-configure-docker-support, but I did not load any docker images. I setup docker daemon and docker-autorun. Then I followed your advice on using sync and poweroff. I entered sync waited a minute or two and then ran poweroff. Then I unplugged the VOXL2. I tried powering it on again and no adb devices are shown and I cannot adb shell in. It has bricked itself once again.

            Any other suggestions?

            1 Reply Last reply Reply Quote 0
            • R
              rohitpillai
              last edited by

              Any update on this?

              1 Reply Last reply Reply Quote 0
              • Chad SweetC
                Chad Sweet ModalAI Team
                last edited by

                No, we will have to look at this in more detail internally. No ETA at this point.

                1 Reply Last reply Reply Quote 1
                • R
                  rohitpillai
                  last edited by

                  Okay sounds good! Will be waiting for any suggestions!

                  1 Reply Last reply Reply Quote 0
                  • modaltbM
                    modaltb ModalAI Team
                    last edited by modaltb

                    @rohitpillai Thanks for bringing this issue up.

                    The voxl-configure-docker-support script is mainly for the VOXL1 platform and I believe is causing issues on 865 really required at this time for the VOXL2. Because the VOXL1 platform has a somewhat more custom built OS, it needed some tweaks....

                    On VOXL2, we have Ubuntu 18 natively, and you can just install using apt: https://docs.docker.com/engine/install/ubuntu/

                    We will address this in the next release, but in general for right now, you should be able to just install Docker following instructions above.

                    To manually start docker images on bootup, you can refer to the older package as reference and this: https://docs.modalai.com/docker-on-voxl/#configuring-a-program-to-run-automatically-inside-a-docker-on-boot

                    1 Reply Last reply Reply Quote 0
                    • R
                      rohitpillai
                      last edited by

                      Thanks! This has solved the problem.

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nishkala
                        last edited by

                        @rohitpillai
                        How did you unbrick voxl2?

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rohitpillai @Nishkala
                          last edited by

                          @Nishkala I used this link - https://docs.modalai.com/voxl2-system-image/#force-voxl-2-into-fastboot

                          You will need the latest platform release which can be found here - https://developer.modalai.com/asset/2

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Powered by NodeBB | Contributors