<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Shyamjith!<br>
      <br>
      24.06.2015 14:33, Shyamjith K V пишет:<br>
    </div>
    <blockquote
cite="mid:CABL4uh8-8SdN2ottKvmAgUUSuE4UsuAxudxoswYbem9i_PA7yQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>We would like to get following details about LDV</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <blockquote
cite="mid:CABL4uh8-8SdN2ottKvmAgUUSuE4UsuAxudxoswYbem9i_PA7yQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>1. How to add some kernel rules made by us along with the
          existing? What will be the effort in doing that?</div>
      </div>
    </blockquote>
    Here is a page that has some notes on development of kernel rules<br>
    <blockquote><a class="moz-txt-link-freetext" href="http://forge.ispras.ru/projects/ldv/wiki/Formalizing_Safety_Rules_2">http://forge.ispras.ru/projects/ldv/wiki/Formalizing_Safety_Rules_2</a><br>
    </blockquote>
    For example, you can see already developed rule models in
    model-db.xml, like 08_1a (kernel-rules/models/0008.aspect)<br>
    <blockquote
cite="mid:CABL4uh8-8SdN2ottKvmAgUUSuE4UsuAxudxoswYbem9i_PA7yQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>2.I am not able to build LDV without using Docker Image
          since many of LDV minimal prerequisites are already upgraded
           their version.so we found some difficulty in finding the
          exactly mentioned versions to solve the dependency.It will be
          great if you can provide the updated software dependency list,
          else if i need to downgrade the OS,Please tell me the exact
          version of Ubuntu that will support all the listed
          prerequisites.</div>
      </div>
    </blockquote>
    The version of Ubuntu which works fine is 12.04.<br>
    <br>
    For developing your own rules you don't need to reinstall LDV, you
    can still use Docker. For that purpose<br>
    1. Create a template of your model in a separate folder (by copying
    kernel-rules). <br>
    2. ldv-manager is able to use this copy of RuleDB using environment
    variable LDV_KERNEL_RULES=/path/to/folder. <br>
    <br>
    <blockquote
cite="mid:CABL4uh8-8SdN2ottKvmAgUUSuE4UsuAxudxoswYbem9i_PA7yQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>3.Is it possible to test driver source for ARM architecture
          using LDV by running test on x86 pc?<br>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    Yes it is possible. There is old instruction for building
    cross-compiling tools for LDV here:<br>
    <a class="moz-txt-link-freetext"
      href="http://forge.ispras.ru/issues/6040">http://forge.ispras.ru/issues/6040</a><br>
    <br>
    For that purpose you need to build LDV from sources.<br>
    <br>
    By the way we can provide you with a Docker image with both sources
    and installation to run LDV without any dependencies installation.
    You can download it from there: <a moz-do-not-send="true"
      href="http://linuxtesting.org/downloads/ldv-src-docker-0.8.tar.gz"
      target="_blank">http://linuxtesting.org/downloads/ldv-src-docker-0.8.tar.gz</a> 
    and learn how to deal with it here: <a moz-do-not-send="true"
      href="http://forge.ispras.ru/projects/ldv/wiki/LDV_Tools_in_Docker"
      target="_blank">http://forge.ispras.ru/projects/ldv/wiki/LDV_Tools_in_Docker</a><br>
    The sources are located at  /ldv/src/ <br>
    The following command may be used as an example of reinstallation:<br>
    <blockquote>export
      LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH
      <br>
      export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
      <br>
      export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
      <br>
      make console-tools && \
      <br>
         prefix=/ldv/inst make install-console-tools<br>
    </blockquote>
    <br>
    Before the verification export PATH variable<br>
    <blockquote> export
      PATH=$JAVA_HOME/bin:/ldv/inst/bin:/ldv/scripts:$PATH
      <br>
      cd /work <br>
    </blockquote>
    then follow regular instructions.<br>
    <br>
    Best,<br>
    Vadim<br>
    <blockquote
cite="mid:CABL4uh8-8SdN2ottKvmAgUUSuE4UsuAxudxoswYbem9i_PA7yQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>-- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">Regards,
                  <div>Shyamjith KV</div>
                  <div>Mob:9895612433<br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ldv-project mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ldv-project@linuxtesting.org">ldv-project@linuxtesting.org</a>
<a class="moz-txt-link-freetext" href="http://linuxtesting.org/cgi-bin/mailman/listinfo/ldv-project">http://linuxtesting.org/cgi-bin/mailman/listinfo/ldv-project</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>