Difference between revisions of "Template:FriendlyCoreAllwinner-CHIPID"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
对于全志H3/H5芯片,CPU里内置了16 Byte的CHIP ID,在Linux-4.14下可以使用下列命令读取:
+
As for Allwinner H2+/H3/H5/ SoCs each of these CPUs has an internal 16-btye CHIP ID which can be read by running the following commands in the Linux-4.14 kernel:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
$ apt-get install bsdmainutils
 
$ apt-get install bsdmainutils
Line 9: Line 9:
 
0000040 0000 0000 0000 0000 0000 0000 0000 0000
 
0000040 0000 0000 0000 0000 0000 0000 0000 0000
 
</syntaxhighlight>
 
</syntaxhighlight>
"8082 0447 0064 04c3 3650 ce0a 1e28 2202"即为16 Byte的CHIP ID。
+
"8082 0447 0064 04c3 3650 ce0a 1e28 2202" is the 16-byte CHIP ID.

Latest revision as of 05:54, 16 October 2018

As for Allwinner H2+/H3/H5/ SoCs each of these CPUs has an internal 16-btye CHIP ID which can be read by running the following commands in the Linux-4.14 kernel:

$ apt-get install bsdmainutils
$ hexdump /sys/bus/nvmem/devices/sunxi-sid0/nvmem 
0000000 8082 0447 0064 04c3 3650 ce0a 1e28 2202
0000010 0002 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
0000030 0000 0008 0508 0000 0000 0000 0000 0000
0000040 0000 0000 0000 0000 0000 0000 0000 0000

"8082 0447 0064 04c3 3650 ce0a 1e28 2202" is the 16-byte CHIP ID.