[Gta04-owner] gta04 hardware revision -- how to check?

Dr. H. Nikolaus Schaller hns at goldelico.com
Thu Jan 17 20:19:16 CET 2013


Am 17.01.2013 um 20:09 schrieb Orest Tarasiuk:

> All right, dmesg on Debian says "Machine: GTA04 (3019)". Is this the line you meant?

No, this is just the machine identifier (ARM).

Should look like this:

[    0.000000] Revision GTA04A4

I don't know if it is only printed on the hw-validation kernel.

> 
> 
> On 17/01/13 19:50, Orest Tarasiuk wrote:
>> OK, thank you for the fast and thorough answer! :)
>> 
>> 
>> 
>> On 17/01/13 18:17, Dr. H. Nikolaus Schaller wrote:
>>> Hi Orest,
>>> 
>>> Am 17.01.2013 um 17:59 schrieb Orest Tarasiuk:
>>> 
>>>> Hi!
>>>> 
>>>> Just a short question: does anyone know a quick way to check the hardware revision of a gta04?
>>> 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
>>> Gta04-owner at goldelico.com
>>> http://lists.goldelico.com/mailman/listinfo/gta04-owner
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20130117/b0b91eba/attachment.html>


More information about the Gta04-owner mailing list