ODROID-N2+
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[ODROID-N2]]
#contents
|SoC|Amlogic S922X|
|CPU|Arm Cortex A73 2.2Ghz Quad-core+Cortex A53 1.9GHz Du...
|GPU|Mali G52|
|Memory|DDR4 4GB|
|Storage|64GB eMMC|
[[Arm]][[:Arm Cortex A53]][[:Arm Cortex A73]]
*スペック [#ca748874]
-CPU: Cortex-A73+A53
-kernel
$ uname -a
Linux odroid 4.9.230-89 #1 SMP PREEMPT Tue Jul 14 13:08:...
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
-cpuinfo
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
processor : 3
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
processor : 4
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
processor : 5
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
CPU info : 290c400001121a00000239314e315350
Serial : f48f513c-8aa4-4b9a-be39-001e064250c9
Hardware : Hardkernel ODROID-N2Plus
Revision : 0400
-lscpu
$ lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Thread(s) per core: 1
Core(s) per socket: 3
Socket(s): 2
Vendor ID: ARM
Model: 4
Model name: Cortex-A53
Stepping: r0p4
CPU max MHz: 2208.0000
CPU min MHz: 500.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha...
-auxv
$ LD_SHOW_AUXV=1 ls
AT_SYSINFO_EHDR: 0x7fabbae000
AT_HWCAP: ff
AT_PAGESZ: 4096
AT_CLKTCK: 100
AT_PHDR: 0x5565867040
AT_PHENT: 56
AT_PHNUM: 9
AT_BASE: 0x7fabb7e000
AT_FLAGS: 0x0
AT_ENTRY: 0x556586c940
AT_UID: 1000
AT_EUID: 1000
AT_GID: 1000
AT_EGID: 1000
AT_SECURE: 0
AT_RANDOM: 0x7fef8276e8
AT_EXECFN: /bin/ls
AT_PLATFORM: aarch64
-cpufreq 1.9GHz
$ cat /sys/bus/cpu/devices/cpu?/cpufreq/cpuinfo_max_freq
1908000
1908000
2208000
2208000
2208000
2208000
-gcc
$ gcc --version
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying condit...
warranty; not even for MERCHANTABILITY or FITNESS FOR A ...
-cmake
$ cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware...
-ccache 初期状態では未インストール
$ ccache --version
ccache version 3.7.7
Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2020 Joel Rosdahl
This program is free software; you can redistribute it a...
the terms of the GNU General Public License as published...
Foundation; either version 3 of the License, or (at your...
version.
-clinfo
--恒例の[[ここ>https://forum.odroid.com/viewtopic.php?t=3...
$ sudo apt install mali-fbdev
$ sudo mkdir -p /etc/OpenCL/vendors/
$ sudo vim /etc/OpenCL/vendors/mali.icd
$ sudo cat /etc/OpenCL/vendors/mali.icd
libOpenCL.so
$ cd /usr/lib/aarch64-linux-gnu/
$ sudo ln -s libMali.so libOpenCL.so
$ clinfo
Number of platforms 1
Platform Name ARM Pl...
Platform Vendor ARM
Platform Version OpenCL...
Platform Profile FULL_P...
Platform Extensions cl_khr...
cl_khr_int64_base_atomics cl_khr_int64_extended_atomics ...
cl_arm_non_uniform_work_group_size cl_arm_import_memory ...
Platform Extensions function suffix ARM
Platform Name ARM Pl...
Number of devices 1
Device Name Mali-G52
Device Vendor ARM
Device Vendor ID 0x7212...
Device Version OpenCL...
Driver Version 2.0
Device OpenCL C Version OpenCL...
Device Type GPU
Device Profile FULL_P...
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 2
Max clock frequency 750MHz
Device Partition (core)
Max number of sub-devices 0
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 384x38...
Max work group size 384
Preferred work group size multiple 8
Preferred / native vector sizes
char ...
short ...
int ...
long ...
half ...
float ...
double ...
Half-precision Floating-point support (cl_kh...
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (n/a)
Address bits 64, Li...
Global memory size 388764...
Error Correction support No
Max memory allocation 971912...
Unified memory for Host and Device Yes
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing No
Fine-grained system sharing No
Atomics No
Shared Virtual Memory (SVM) capabilities (ARM)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing No
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 by...
Alignment of base address 1024 b...
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 65536 ...
Preferred total size of global vars 0
Global Memory cache type Read/W...
Global Memory cache size 131072...
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 65536 ...
Max 1D or 2D image array size 2048 i...
Base address alignment for 2D image buffers 32 bytes
Pitch alignment for 2D image buffers 64 pix...
Max 2D image size 65536x...
Max 3D image size 65536x...
Max number of read image args 128
Max number of write image args 64
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 1
Max pipe packet size 1024
Local memory type Global
Local memory size 32768 ...
Max number of constant args 8
Max constant buffer size 65536 ...
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution Yes
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 209715...
Max size 167772...
Max queues on device 1
Max events on device 1024
Prefer user sync for interop No
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
printf() buffer size 104857...
Built-in kernels (n/a)
Device Extensions cl_khr...
cl_khr_int64_base_atomics cl_khr_int64_extended_atomics ...
cl_arm_non_uniform_work_group_size cl_arm_import_memory ...
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) ARM Pl...
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Succes...
clCreateContext(NULL, ...) [default] Succes...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) ...
Platform Name ARM Pl...
Device Name Mali-G52
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No ...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Suc...
Platform Name ARM Pl...
Device Name Mali-G52
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERAT...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) ...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Suc...
Platform Name ARM Pl...
Device Name Mali-G52
ICD loader properties
ICD loader Name OpenCL...
ICD loader Vendor OCL Ic...
ICD loader Version 2.2.11
ICD loader Profile OpenCL...
*購入品 [#r3e0ec19]
-64GB eMMC
-ODROID-N2+ 4GB
--公式のeMMCに入ってきたのはN2(not N2+)用のイメージだった...
*セットアップ [#ucec071e]
-初期セットアップ
$ sudo apt update
$ sudo apt full-upgrade
-パッケージインストール
$ time sudo apt install git clinfo tmux ccache libgtk-3-...
終了行:
[[ODROID-N2]]
#contents
|SoC|Amlogic S922X|
|CPU|Arm Cortex A73 2.2Ghz Quad-core+Cortex A53 1.9GHz Du...
|GPU|Mali G52|
|Memory|DDR4 4GB|
|Storage|64GB eMMC|
[[Arm]][[:Arm Cortex A53]][[:Arm Cortex A73]]
*スペック [#ca748874]
-CPU: Cortex-A73+A53
-kernel
$ uname -a
Linux odroid 4.9.230-89 #1 SMP PREEMPT Tue Jul 14 13:08:...
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
-cpuinfo
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
processor : 3
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
processor : 4
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
processor : 5
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 c...
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd09
CPU revision : 2
CPU info : 290c400001121a00000239314e315350
Serial : f48f513c-8aa4-4b9a-be39-001e064250c9
Hardware : Hardkernel ODROID-N2Plus
Revision : 0400
-lscpu
$ lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Thread(s) per core: 1
Core(s) per socket: 3
Socket(s): 2
Vendor ID: ARM
Model: 4
Model name: Cortex-A53
Stepping: r0p4
CPU max MHz: 2208.0000
CPU min MHz: 500.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha...
-auxv
$ LD_SHOW_AUXV=1 ls
AT_SYSINFO_EHDR: 0x7fabbae000
AT_HWCAP: ff
AT_PAGESZ: 4096
AT_CLKTCK: 100
AT_PHDR: 0x5565867040
AT_PHENT: 56
AT_PHNUM: 9
AT_BASE: 0x7fabb7e000
AT_FLAGS: 0x0
AT_ENTRY: 0x556586c940
AT_UID: 1000
AT_EUID: 1000
AT_GID: 1000
AT_EGID: 1000
AT_SECURE: 0
AT_RANDOM: 0x7fef8276e8
AT_EXECFN: /bin/ls
AT_PLATFORM: aarch64
-cpufreq 1.9GHz
$ cat /sys/bus/cpu/devices/cpu?/cpufreq/cpuinfo_max_freq
1908000
1908000
2208000
2208000
2208000
2208000
-gcc
$ gcc --version
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying condit...
warranty; not even for MERCHANTABILITY or FITNESS FOR A ...
-cmake
$ cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware...
-ccache 初期状態では未インストール
$ ccache --version
ccache version 3.7.7
Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2020 Joel Rosdahl
This program is free software; you can redistribute it a...
the terms of the GNU General Public License as published...
Foundation; either version 3 of the License, or (at your...
version.
-clinfo
--恒例の[[ここ>https://forum.odroid.com/viewtopic.php?t=3...
$ sudo apt install mali-fbdev
$ sudo mkdir -p /etc/OpenCL/vendors/
$ sudo vim /etc/OpenCL/vendors/mali.icd
$ sudo cat /etc/OpenCL/vendors/mali.icd
libOpenCL.so
$ cd /usr/lib/aarch64-linux-gnu/
$ sudo ln -s libMali.so libOpenCL.so
$ clinfo
Number of platforms 1
Platform Name ARM Pl...
Platform Vendor ARM
Platform Version OpenCL...
Platform Profile FULL_P...
Platform Extensions cl_khr...
cl_khr_int64_base_atomics cl_khr_int64_extended_atomics ...
cl_arm_non_uniform_work_group_size cl_arm_import_memory ...
Platform Extensions function suffix ARM
Platform Name ARM Pl...
Number of devices 1
Device Name Mali-G52
Device Vendor ARM
Device Vendor ID 0x7212...
Device Version OpenCL...
Driver Version 2.0
Device OpenCL C Version OpenCL...
Device Type GPU
Device Profile FULL_P...
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 2
Max clock frequency 750MHz
Device Partition (core)
Max number of sub-devices 0
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 384x38...
Max work group size 384
Preferred work group size multiple 8
Preferred / native vector sizes
char ...
short ...
int ...
long ...
half ...
float ...
double ...
Half-precision Floating-point support (cl_kh...
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (n/a)
Address bits 64, Li...
Global memory size 388764...
Error Correction support No
Max memory allocation 971912...
Unified memory for Host and Device Yes
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing No
Fine-grained system sharing No
Atomics No
Shared Virtual Memory (SVM) capabilities (ARM)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing No
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 by...
Alignment of base address 1024 b...
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 65536 ...
Preferred total size of global vars 0
Global Memory cache type Read/W...
Global Memory cache size 131072...
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 65536 ...
Max 1D or 2D image array size 2048 i...
Base address alignment for 2D image buffers 32 bytes
Pitch alignment for 2D image buffers 64 pix...
Max 2D image size 65536x...
Max 3D image size 65536x...
Max number of read image args 128
Max number of write image args 64
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 1
Max pipe packet size 1024
Local memory type Global
Local memory size 32768 ...
Max number of constant args 8
Max constant buffer size 65536 ...
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution Yes
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 209715...
Max size 167772...
Max queues on device 1
Max events on device 1024
Prefer user sync for interop No
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
printf() buffer size 104857...
Built-in kernels (n/a)
Device Extensions cl_khr...
cl_khr_int64_base_atomics cl_khr_int64_extended_atomics ...
cl_arm_non_uniform_work_group_size cl_arm_import_memory ...
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) ARM Pl...
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Succes...
clCreateContext(NULL, ...) [default] Succes...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) ...
Platform Name ARM Pl...
Device Name Mali-G52
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No ...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Suc...
Platform Name ARM Pl...
Device Name Mali-G52
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERAT...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) ...
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Suc...
Platform Name ARM Pl...
Device Name Mali-G52
ICD loader properties
ICD loader Name OpenCL...
ICD loader Vendor OCL Ic...
ICD loader Version 2.2.11
ICD loader Profile OpenCL...
*購入品 [#r3e0ec19]
-64GB eMMC
-ODROID-N2+ 4GB
--公式のeMMCに入ってきたのはN2(not N2+)用のイメージだった...
*セットアップ [#ucec071e]
-初期セットアップ
$ sudo apt update
$ sudo apt full-upgrade
-パッケージインストール
$ time sudo apt install git clinfo tmux ccache libgtk-3-...
ページ名: