[[FrontPage]]

#contents
-[[公式ページ>http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825]]&note{odroid-xu4-harkernel-official:[[ODROID | Hardkernel>http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825]], 2018-03-30閲覧};
-スペック(抜粋)
|SoC|Samsung Exynos5422|
|CPU|Cortex-A15 Quad Core 2.0Ghz + Cortex-A7 Quad Core 1.4GHz|
|Memory|2GB LP-DDR3|
|GPU|Mali-T628 MP6|

*スペック [#lc892a80]
**Samsung Exynos5422 [#tf850f42]
-CPU:Cortex-A15x4 + Cortex-A7x4
-architecture:Arm v7-A
-cpuinfo
 $ cat /proc/cpuinfo
 processor       : 0
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 84.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x0
 CPU part        : 0xc07
 CPU revision    : 3
 
 processor       : 1
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 84.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x0
 CPU part        : 0xc07
 CPU revision    : 3
 
 processor       : 2
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 84.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x0
 CPU part        : 0xc07
 CPU revision    : 3
 
 processor       : 3
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 84.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x0
 CPU part        : 0xc07
 CPU revision    : 3
 
 processor       : 4
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 120.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x2
 CPU part        : 0xc0f
 CPU revision    : 3
 
 processor       : 5
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 120.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x2
 CPU part        : 0xc0f
 CPU revision    : 3
 
 processor       : 6
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 120.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x2
 CPU part        : 0xc0f
 CPU revision    : 3
 
 processor       : 7
 model name      : ARMv7 Processor rev 3 (v7l)
 BogoMIPS        : 120.00
 Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
 CPU implementer : 0x41
 CPU architecture: 7
 CPU variant     : 0x2
 CPU part        : 0xc0f
 CPU revision    : 3
 
 Hardware        : ODROID-XU4
 Revision        : 0100
 Serial          : 0000000000000000
-auxv
 odroid@odroid:~$ xxd -e -g4  /proc/self/auxv
 00000000: 00000021 beb20000 00000010 001fb0d6  !...............
 00000010: 00000006 00001000 00000011 00000064  ............d...
 00000020: 00000003 0048a034 00000004 00000020  ....4.H..... ...
 00000030: 00000005 00000009 00000007 b6fd4000  .............@..
 00000040: 00000008 00000000 00000009 0048bb11  ..............H.
 00000050: 0000000b 000003e8 0000000c 000003e8  ................
 00000060: 0000000d 000003e8 0000000e 000003e8  ................
 00000070: 00000017 00000000 00000019 be846dd7  .............m..
 00000080: 0000001a 00000000 0000001f be846fef  .............o..
 00000090: 0000000f be846de7 00000000 00000000  .....m..........
 -
 00000021 beb20000
 00000010 001fb0d6
 00000006 00001000
 00000011 00000064
 00000003 0048a034
 00000004 00000020
 00000005 00000009
 00000007 b6fd4000
 00000008 00000000
 00000009 0048bb11
 0000000b 000003e8
 0000000c 000003e8
 0000000d 000003e8
 0000000e 000003e8
 00000017 00000000
 00000019 be846dd7
 0000001a 00000000
 0000001f be846fef
 0000000f be846de7
 00000000 00000000
-lscpu
 $ lscpu
 Architecture:          armv7l
 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
 Model name:            ARMv7 Processor rev 3 (v7l)
 CPU max MHz:           1400.0000
 CPU min MHz:           200.0000
 Hypervisor vendor:     (null)
 Virtualization type:   full
-OS
 $ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:    Ubuntu 16.04.3 LTS
 Release:        16.04
 Codename:       xenial
 $ cat /etc/os-release
 NAME="Ubuntu"
 VERSION="16.04.3 LTS (Xenial Xerus)"
 ID=ubuntu
 ID_LIKE=debian
 PRETTY_NAME="Ubuntu 16.04.3 LTS"
 VERSION_ID="16.04"
 HOME_URL="http://www.ubuntu.com/"
 SUPPORT_URL="http://help.ubuntu.com/"
 BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
 VERSION_CODENAME=xenial
 UBUNTU_CODENAME=xenial
-cpufreq
 $ cat /sys/bus/cpu/devices/cpu*/cpufreq/cpuinfo_max_freq
 1400000
 1400000
 1400000
 1400000
 2000000
 2000000
 2000000
 2000000
-gcc
 $ gcc --version
 gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
 Copyright (C) 2015 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.
-ODROID-XU4
-UART Debug console
--[[accessory:development:usb_uart_kit [ODROID Wiki]>https://wiki.odroid.com/accessory/development/usb_uart_kit]]&note{ref-debug-uart:[[accessory:development:usb_uart_kit [ODROID Wiki]>https://wiki.odroid.com/accessory/development/usb_uart_kit]]};
--1.8V
--115200 8N1
--Raspberry Pi みたいにGPIOピンと共用''ではない''ので注意が必要

*セットアップ [#u1fe1856]
**OS [#k755afe3]
-公式のUbuntuのイメージを利用
-アカウントはodroid
**アップデート [#pd39219d]
-だいたい20分ぐらい
 $ time sudo apt-get update && time sudo apt-get upgrade
 
 real    22m30.161s
 user    3m8.099s
 sys     2m36.277s
**タイムゾーンのアップデート [#gfa04a5e]
-dpkg-reconfigureを使う
 $ sudo dpkg-reconfigure tzdata
**パッケージのインストール [#vaf1349a]
-もろもろ入れる
 $ time sudo apt-get install ssh cmake git build-essential vim libgtk-3-dev openjdk-8-jre-headless libavcodec-dev libavformat-dev libswscale-dev libswresample-dev libavutil-dev libavresample-dev ccache strace
 
 real    0m49.074s
 user    0m16.913s
 sys     0m13.683s
**Gitのコンフィグ [#j362cebd]
-忘れないうちに
 $ git config --global user.name "Tomoaki Teshima"
 $ git config --global user.email tomoaki.teshima@gmail.com
 $ git config --global push.default simple
**SSH鍵 [#o55581c3]
-JenkinsとGithub用に
 $ ssh-keygen -t ecdsa
 $ ssh-keygen -f hoge
 $ cat hoge.pub >> .ssh/authorized_keys
**OpenCVのclone [#bb05f5c8]
-OpenCVとOpenCV のデータセット
 $ time git clone git@github.com:tomoaki0705/opencv.git opencv-fork && pushd opencv-fork && git remote add upstream git@github.com:opencv/opencv.git && popd && time git clone git@github.com:opencv/opencv_extra.git

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS