<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 17.01.2013 um 20:09 schrieb Orest Tarasiuk:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">All right, dmesg on Debian says
      "Machine: GTA04 (3019)". Is this the line you meant?<br></div></div></blockquote><div><br></div>No, this is just the machine identifier (ARM).</div><div><br></div><div>Should look like this:</div><div><br></div><div>[    0.000000] Revision GTA04A4</div><div><br></div><div>I don't know if it is only printed on the hw-validation kernel.</div><div><br><blockquote type="cite"><div text="#000000" bgcolor="#FFFFFF"><div class="moz-cite-prefix">
      <div class="moz-signature"><br>
        <i> </i></div>
      <div class="moz-signature"><br>
        <i> </i></div>
      On 17/01/13 19:50, Orest Tarasiuk wrote:<br>
    </div>
    <blockquote cite="mid:50F847F0.4010308@tum.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
      <div class="moz-cite-prefix">OK, thank you for the fast and
        thorough answer! :)<br>
        <br>
        <br>
        <div class="moz-signature"><br>
          <i> </i></div>
        On 17/01/13 18:17, Dr. H. Nikolaus Schaller wrote:<br>
      </div>
      <blockquote cite="mid:B552266E-BCDD-4736-B980-5472068C6E9F@goldelico.com" type="cite">
        <pre wrap="">Hi Orest,

Am 17.01.2013 um 17:59 schrieb Orest Tarasiuk:

</pre>
        <blockquote type="cite">
          <pre wrap="">Hi!

Just a short question: does anyone know a quick way to check the hardware revision of a gta04?
</pre>
        </blockquote>
        <pre wrap="">Short question usually lead to long answers :)

The easiest way is to directly look at the board.

It is intentionally not made easy to directly read the hardware version... Because it is too
tempting to base user space code on that.

The better solution is to base user space code on existence of features, i.e. the
hw-revision is hidden by the kernel and indirectly shown.

And, there may be board revisions with different components installed/not installed.
They all have the same revision code. So it is more a PCB layout version code which
indicates different wiring options. Not necessarily what the board has or does not
have installed.

I am not sure which kernel you use, but the set of GPIOs presented in /sys differs
between A3 and A4. Especially the one to control the UMTS modem.

That said, there is code in the hw-validation kernel that prints the board version
to the initial lines of dmesg. So you can boot and then just dmesg | more.

BR,
Nikolaus

_______________________________________________
Gta04-owner mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gta04-owner@goldelico.com">Gta04-owner@goldelico.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.goldelico.com/mailman/listinfo/gta04-owner">http://lists.goldelico.com/mailman/listinfo/gta04-owner</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></body></html>