oga/ogs 보드 버젼 확인할 수 있는 방법?

Post Reply
trngaje
Posts: 15
Joined: Tue Mar 10, 2020 8:38 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 0
Been thanked: 1 time
Contact:

oga/ogs 보드 버젼 확인할 수 있는 방법?

Post by trngaje »

boot.ini 에는 보드 버젼을 확인할 수 있는 환경 변수 값이 존재 하여 부팅시 해당 dtb 를 선택하도록 하고 있습니다. 시스템 부팅 후 콘솔에서 보드 버젼을 읽을 수 있는 방법이 있는지요?

joy
Posts: 1584
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 179 times
Been thanked: 210 times
Contact:

Re: oga/ogs 보드 버젼 확인할 수 있는 방법?

Post by joy »

안녕하세요.

[1] joypad UUID

odroid-joypad의 UUID를 활용하시면 보드 버전을 구분하실 수 있습니다.
아래의 node에서 OGA/OGA-BE/OGS 각 보드별로 버전 정보를 얻으실 수 있습니다.

Code: Select all

[ vendor, product, revision, name ]
OGA : 0x484B, 0x1000, 0x0100, "GO-Advance Gamepad"
OGA-BE : 0x484B, 0x1000, 0x0101, "GO-Advance Gamepad (rev 1.1)"
OGS : 0x484B, 0x1100, 0x0100, "GO-Super Gamepad"
Next model : 0x484B, 0x1200, 0x0100, "GO-Next Gamepad"
OGA

Code: Select all

odroid@goadvance:~$ cat /sys/class/input/js0/device/name 
GO-Advance Gamepad
odroid@goadvance:~$ cat /sys/class/input/js0/device/id/vendor 
484b
odroid@goadvance:~$ cat /sys/class/input/js0/device/id/product 
1000
odroid@goadvance:~$ cat /sys/class/input/js0/device/id/version 
0100
OGA-BE

Code: Select all

odroid@goadvance:~$ cat /sys/class/input/js0/device/name 
GO-Advance Gamepad (rev 1.1)
odroid@goadvance:~$ cat /sys/class/input/js0/device/id/vendor 
484b
odroid@goadvance:~$ cat /sys/class/input/js0/device/id/product 
1000
odroid@goadvance:~$ cat /sys/class/input/js0/device/id/version 
0101
OGS

Code: Select all

root@goadvance:~# cat /sys/class/input/js0/device/name 
GO-Super Gamepad
root@goadvance:~# cat /sys/class/input/js0/device/id/vendor 
484b
root@goadvance:~# cat /sys/class/input/js0/device/id/product 
1100
root@goadvance:~# cat /sys/class/input/js0/device/id/version 
0100
viewtopic.php?p=317219#p317219
viewtopic.php?p=317429#p317429

[2] cpu info의 Hardware Name

또는 아래의 정보에서도 각 보드의 이름으로 구분하실 수 있습니다.
그러나 이 이름은 OGA와 OGS만 구분 가능하고, OGA/OGA-BE는 GO2로 동일하게 사용됩니다.

Code: Select all

root@goadvance:~# cat /proc/cpuinfo | grep Hardware
Hardware        : Hardkernel ODROID-GO3

Code: Select all

root@goadvance:~# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd04
CPU revision    : 2

processor       : 1
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd04
CPU revision    : 2

processor       : 2
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd04
CPU revision    : 2

processor       : 3
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd04
CPU revision    : 2

Hardware        : Hardkernel ODROID-GO3
Revision        : 0000
Serial          : 12345678abcd

Code: Select all

Hardkernel ODROID-GO2
Hardkernel ODROID-GO3

Post Reply

Return to “오드로이드고/어드밴스/수퍼”

Who is online

Users browsing this forum: No registered users and 2 guests