On using qemu for automated testing in embedded systems

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm looking for any resources on how to use qemu as a platform for testing in embedded systems. Specifically, I'm interested in testing slightly obscure device drivers (CAN, SPI, etc). I've looked around for resources on how to stimulate specific IO events by, from the host-side, writing to the virtual hardware registers and triggering interrupts inside the qemu guest. I guess you could use GDB, but this feels slightly hacky...



Essentially, automated testing for embedded using qemu is an idea that I casually pitched, which attracted some attention in my company. But to pursue it, I'll need to present some form of proof of concept without spending too much time on it - which is why a tutorial-type resource would be great.







share|improve this question
























    up vote
    0
    down vote

    favorite












    I'm looking for any resources on how to use qemu as a platform for testing in embedded systems. Specifically, I'm interested in testing slightly obscure device drivers (CAN, SPI, etc). I've looked around for resources on how to stimulate specific IO events by, from the host-side, writing to the virtual hardware registers and triggering interrupts inside the qemu guest. I guess you could use GDB, but this feels slightly hacky...



    Essentially, automated testing for embedded using qemu is an idea that I casually pitched, which attracted some attention in my company. But to pursue it, I'll need to present some form of proof of concept without spending too much time on it - which is why a tutorial-type resource would be great.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm looking for any resources on how to use qemu as a platform for testing in embedded systems. Specifically, I'm interested in testing slightly obscure device drivers (CAN, SPI, etc). I've looked around for resources on how to stimulate specific IO events by, from the host-side, writing to the virtual hardware registers and triggering interrupts inside the qemu guest. I guess you could use GDB, but this feels slightly hacky...



      Essentially, automated testing for embedded using qemu is an idea that I casually pitched, which attracted some attention in my company. But to pursue it, I'll need to present some form of proof of concept without spending too much time on it - which is why a tutorial-type resource would be great.







      share|improve this question












      I'm looking for any resources on how to use qemu as a platform for testing in embedded systems. Specifically, I'm interested in testing slightly obscure device drivers (CAN, SPI, etc). I've looked around for resources on how to stimulate specific IO events by, from the host-side, writing to the virtual hardware registers and triggering interrupts inside the qemu guest. I guess you could use GDB, but this feels slightly hacky...



      Essentially, automated testing for embedded using qemu is an idea that I casually pitched, which attracted some attention in my company. But to pursue it, I'll need to present some form of proof of concept without spending too much time on it - which is why a tutorial-type resource would be great.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 24 at 13:01









      lirime

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419337%2fon-using-qemu-for-automated-testing-in-embedded-systems%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419337%2fon-using-qemu-for-automated-testing-in-embedded-systems%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)