- 追加された行はこの色です。
- 削除された行はこの色です。
- HiKey へ行く。
[[Arm]]
-LeMaker版のHiKeyを[[SwitchScience経由で購入>https://www.switch-science.com/catalog/2569/]]¬e{switch-science-hikey:[[HiKey (LeMaker version) 2GB - スイッチサイエンス>https://www.switch-science.com/catalog/2569/]], 2016-01-18公開, 2016-10-26閲覧};
-https://www.switch-science.com/catalog/2569/
-Android のリファレンスボードとして[[選ばれている>https://source.android.com/source/devices.html]]¬e{android-reference-selecting devices:[[Selecting Devices | Android Open Source Project>https://source.android.com/source/devices.html]], 2016-10-26閲覧};
-まLinuxをインストールするんだけれど。
-[[HiKey (LeMaker version) Hardware User Manual>https://www.96boards.org/wp-content/uploads/2015/02/HiKey_User_Guide_Rev0.2.pdf]]¬e{hikey-official-hardware-user-manual:[[HiKey (LeMaker version) Hardware User Manual>https://www.96boards.org/wp-content/uploads/2015/02/HiKey_User_Guide_Rev0.2.pdf]], Version 0.1, December 2015};
|SOC|Kirin 620|
|CPU|Cortex A53 8コア 1.2GHz|
|GPU|Mali-450MP4|
|Memory|2GB 800MHz LPDDR3|
|Storage|8GB eMMC|
*スペック [#hb9a1c1d]
**HiSillicon Kirin 620 [#pa14e49b]
-CPU:Cortex-A53 (1.2GHZ ¬e{hikey-96boards-official:[[HiKey - 96Boards>http://www.96boards.org/product/hikey/]], 2016-10-26閲覧};)
-cpuinfo
$ cat /proc/cpuinfo
Processor : AArch64 Processor rev 3 (aarch64)
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: AArch64
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 3
Hardware : HiKey Development Board
-lscpu
$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 2
CPU max MHz: 1200.0000
CPU min MHz: 208.0000
-kernel
$ uname -a
Linux linaro-alip 3.18.0-linaro-hikey #1 SMP PREEMPT Mon Nov 30 00:11:03 UTC 2015 aarch64 GNU/Linux
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.10 (jessie)
Release: 8.10
Codename: jessie
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
-auxv
$ xxd -g8 /proc/self/auxv
0000000: 2100000000000000 00a028897f000000 !.........(.....
0000010: 1000000000000000 ff00000000000000 ................
0000020: 0600000000000000 0010000000000000 ................
0000030: 1100000000000000 6400000000000000 ........d.......
0000040: 0300000000000000 40e028897f000000 ........@.(.....
0000050: 0400000000000000 3800000000000000 ........8.......
0000060: 0500000000000000 0800000000000000 ................
0000070: 0700000000000000 000026897f000000 ..........&.....
0000080: 0800000000000000 0000000000000000 ................
0000090: 0900000000000000 a00129897f000000 ..........).....
00000a0: 0b00000000000000 e803000000000000 ................
00000b0: 0c00000000000000 e803000000000000 ................
00000c0: 0d00000000000000 e803000000000000 ................
00000d0: 0e00000000000000 e803000000000000 ................
00000e0: 1700000000000000 0000000000000000 ................
00000f0: 1900000000000000 8894b5d07f000000 ................
0000100: 1f00000000000000 eb9fb5d07f000000 ................
0000110: 0f00000000000000 9894b5d07f000000 ................
0000120: 0000000000000000 0000000000000000 ................
-cpufreq (1.2GHz)
$ cat /sys/bus/cpu/devices/cpu*/cpufreq/cpuinfo_max_freq
1200000
1200000
1200000
1200000
1200000
1200000
1200000
1200000
-cmakeは3.6.2
$ cmake --version
cmake version 3.6.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
-gccは4.9.2
$ gcc --version
gcc (Debian/Linaro 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-UART Debug console
--[[UART Serial - 96Boards>https://www.96boards.org/product/uartserial/]]
--[[1.8V 115200 8N1>http://wiki.lemaker.org/HiKey(LeMaker_version):UART]]¬e{hikey-lemaker-wiki>[[http://wiki.lemaker.org/HiKey(LeMaker_version):UART]], 2019-07-08閲覧};
*Debianのダウンロード [#cad54f6c]
sudo apt-get -y install ccache git cmake vim ssh openjdk-8-jre-headless libavcodec-dev libavformat-dev libswscale-dev gtk+-3.0