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. How do I verify that I'm running latest-n-greatest?

How do I verify that I'm running latest-n-greatest?

Scheduled Pinned Locked Moved Ask your questions right here!
20 Posts 3 Posters 2.5k Views 2 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.
  • tomT Offline
    tomT Offline
    tom
    admin
    wrote on last edited by
    #7

    @Ed-Sutter I see what you're saying. In order to add the VID/PID then we would have to patch qmi_wwan which we've done for other modems and integrate it into https://gitlab.com/voxl-public/system-image-build/meta-voxl.

    If you look through meta-voxl you'll see some other modem related patches we've done in the past, e.g.: https://gitlab.com/voxl-public/system-image-build/meta-voxl/-/blob/master/recipes-kernel/linux-quic/files/qmi_wwan2.patch

    What I would do is run through voxl-build without making any changes. Once it gets past the patching step you should now be able to see the post-patched qmi_wwan.c file and can create another patch based off of that file to then add to meta-voxl.

    Ed SutterE 1 Reply Last reply
    0
    • tomT tom

      @Ed-Sutter I see what you're saying. In order to add the VID/PID then we would have to patch qmi_wwan which we've done for other modems and integrate it into https://gitlab.com/voxl-public/system-image-build/meta-voxl.

      If you look through meta-voxl you'll see some other modem related patches we've done in the past, e.g.: https://gitlab.com/voxl-public/system-image-build/meta-voxl/-/blob/master/recipes-kernel/linux-quic/files/qmi_wwan2.patch

      What I would do is run through voxl-build without making any changes. Once it gets past the patching step you should now be able to see the post-patched qmi_wwan.c file and can create another patch based off of that file to then add to meta-voxl.

      Ed SutterE Offline
      Ed SutterE Offline
      Ed Sutter
      Regular
      wrote on last edited by
      #8

      @tom I was able to look at the post-patched qmi_wwan.c file and it does have the VID/PID in there. I just don't know for sure if that patch is in the platform build that I just installed (actually, I'm hoping its not because the latest build doesn't fix my problem).
      This is what is running on my machine now...

      / # voxl-version
      --------------------------------------------------------------------------------
      system-image: 3.8.0
      kernel:       #1 SMP PREEMPT Tue Apr 26 18:08:39 UTC 2022 3.18.71-perf
      --------------------------------------------------------------------------------
      hw version:   VOXL
      --------------------------------------------------------------------------------
      voxl-suite:   0.7.0
      --------------------------------------------------------------------------------
      

      If that patch is not part of this package (which appears to be 6 months old), then I'd like to know how I can pull that patch in.
      If on the other hand, its already in this package, then I don't have a clue what to do about my modem issue.

      1 Reply Last reply
      0
      • tomT Offline
        tomT Offline
        tom
        admin
        wrote on last edited by
        #9

        @Ed-Sutter Okay cool, well in that case I would recommend building the kernel using voxl-build, flashing the kernel, and seeing if there is a difference in performance.

        Ed SutterE 1 Reply Last reply
        0
        • tomT tom

          @Ed-Sutter Okay cool, well in that case I would recommend building the kernel using voxl-build, flashing the kernel, and seeing if there is a difference in performance.

          Ed SutterE Offline
          Ed SutterE Offline
          Ed Sutter
          Regular
          wrote on last edited by
          #10

          @tom Ok I did that but now I'm scared...
          I had built the kernel yesterday, so I ran through the steps in "Testing the Kernel Before Flashing" and everything checked out (the timestamp changed).
          I then followed the steps in "Flashing the Kernel", got this output:

          $: fastboot flash boot /opt/data/workspace/poky/build/tmp-glibc/deploy/images/apq8096-drone/apq8096-boot.
          img
          target reported max download size of 536870912 bytes
          sending 'boot' (56096 KB)...
          OKAY [  1.551s]
          writing 'boot'...
          OKAY [  0.429s]
          finished. total time: 1.980s
          

          but then typed adb devices and got this output:

          $: adb devices
          List of devices attached
          
          $:
          

          I have not reset or power-cycled anything yet. Should I do that?

          1 Reply Last reply
          0
          • tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #11

            @Ed-Sutter Yeah you have to reboot or run fastboot reboot, it's still in fastboot mode. For example it'll probably show up with fastboot devices

            Ed SutterE 1 Reply Last reply
            0
            • tomT tom

              @Ed-Sutter Yeah you have to reboot or run fastboot reboot, it's still in fastboot mode. For example it'll probably show up with fastboot devices

              Ed SutterE Offline
              Ed SutterE Offline
              Ed Sutter
              Regular
              wrote on last edited by
              #12

              @tom PHEW! Ok, good... It did reboot with the recent kernel image. Now I have to run my tests to see if that helped my modem issue.
              Thanks much for the help, I'll post back here to let you know if it fixed my problem.

              1 Reply Last reply
              0
              • tomT Offline
                tomT Offline
                tom
                admin
                wrote on last edited by
                #13

                @Ed-Sutter Great! I updated the README to make that step more clear.

                Ed SutterE 1 Reply Last reply
                0
                • tomT tom

                  @Ed-Sutter Great! I updated the README to make that step more clear.

                  Ed SutterE Offline
                  Ed SutterE Offline
                  Ed Sutter
                  Regular
                  wrote on last edited by
                  #14

                  @tom Well, bummer... It didn't help. My test already locked up.

                  1 Reply Last reply
                  0
                  • tomT Offline
                    tomT Offline
                    tom
                    admin
                    wrote on last edited by
                    #15

                    @Ed-Sutter Hmm not too sure where to go from here other than contact Sierra for ideas.

                    In the past we've used scripts that run in the background that monitor a network connection and re-enables the connection if it drops off, that might be the route to go.

                    It would be a modified version of something like this: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/modallink_relink.py

                    Ed SutterE 2 Replies Last reply
                    0
                    • tomT tom

                      @Ed-Sutter Hmm not too sure where to go from here other than contact Sierra for ideas.

                      In the past we've used scripts that run in the background that monitor a network connection and re-enables the connection if it drops off, that might be the route to go.

                      It would be a modified version of something like this: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/modallink_relink.py

                      Ed SutterE Offline
                      Ed SutterE Offline
                      Ed Sutter
                      Regular
                      wrote on last edited by
                      #16

                      @tom Thanks!

                      1 Reply Last reply
                      0
                      • tomT tom

                        @Ed-Sutter Hmm not too sure where to go from here other than contact Sierra for ideas.

                        In the past we've used scripts that run in the background that monitor a network connection and re-enables the connection if it drops off, that might be the route to go.

                        It would be a modified version of something like this: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/modallink_relink.py

                        Ed SutterE Offline
                        Ed SutterE Offline
                        Ed Sutter
                        Regular
                        wrote on last edited by
                        #17

                        @tom I just noticed something... When sierra.py runs, the very last thing it does is write 'Y' into /sys/class/net/wwan0/qmi/raw_ip. That write is successful, but then a few seconds later, I can cat that file and see 'N'.
                        What is running after sierra.py that would do that?

                        1 Reply Last reply
                        0
                        • tomT Offline
                          tomT Offline
                          tom
                          admin
                          wrote on last edited by
                          #18

                          @Ed-Sutter I'm not sure, I think you'd have to dig through the qmi_wwan driver

                          1 Reply Last reply
                          0
                          • Steve TurnerS Offline
                            Steve TurnerS Offline
                            Steve Turner
                            wrote on last edited by
                            #19

                            Apologies for highjacking the thread and being a noob, but @Ed-Sutter are you able to build a system image from https://gitlab.com/voxl-public/system-image-build/meta-voxl ?

                            Or is this the kernel only that you then install ontop of an existing system image?

                            1 Reply Last reply
                            0
                            • tomT Offline
                              tomT Offline
                              tom
                              admin
                              wrote on last edited by
                              #20

                              @Steve-Turner voxl-build allows you to build the kernel only which you can then flash on top of an existing system. Qualcomm licenses are required in order to build a full system image.

                              1 Reply Last reply
                              1

                              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