SoCParker
CPUCortex A57 4 core + Denver 2.0 2 core
GPUPascal 256 Core
Memory8GB 128bit LPDDR4
Storage32GB eMMC

スペック

  • CPU:Denver2 Dual cores + Cortex-A57 Quad cores 2.0GHz
  • cpuinfo
    nvidia@tegra-ubuntu:~$ cat /proc/cpuinfo
    processor       : 0
    model name      : ARMv8 Processor rev 3 (v8l)
    BogoMIPS        : 62.50
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x41
    CPU architecture: 8
    CPU variant     : 0x1
    CPU part        : 0xd07
    CPU revision    : 3
    
    processor       : 1
    model name      : ARMv8 Processor rev 0 (v8l)
    BogoMIPS        : 62.50
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x4e
    CPU architecture: 8
    CPU variant     : 0x0
    CPU part        : 0x003
    CPU revision    : 0
    MTS version     : 37620520
    
    processor       : 2
    model name      : ARMv8 Processor rev 0 (v8l)
    BogoMIPS        : 62.50
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x4e
    CPU architecture: 8
    CPU variant     : 0x0
    CPU part        : 0x003
    CPU revision    : 0
    MTS version     : 37620520
    
    processor       : 3
    model name      : ARMv8 Processor rev 3 (v8l)
    BogoMIPS        : 62.50
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x41
    CPU architecture: 8
    CPU variant     : 0x1
    CPU part        : 0xd07
    CPU revision    : 3
    
    processor       : 4
    model name      : ARMv8 Processor rev 3 (v8l)
    BogoMIPS        : 62.50
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x41
    CPU architecture: 8
    CPU variant     : 0x1
    CPU part        : 0xd07
    CPU revision    : 3
    
    processor       : 5
    model name      : ARMv8 Processor rev 3 (v8l)
    BogoMIPS        : 62.50
    Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
    CPU implementer : 0x41
    CPU architecture: 8
    CPU variant     : 0x1
    CPU part        : 0xd07
    CPU revision    : 3
  • lscpu
    $ lscpu
    Architecture:          aarch64
    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
    Model name:            ARMv8 Processor rev 3 (v8l)
    CPU max MHz:           2035.2000
    CPU min MHz:           345.6000
    Hypervisor vendor:     (null)
    Virtualization type:   full
    L1d cache:             32K
    L1i cache:             48K
    L2 cache:              2048K
  • cpufreq
    $ cat /sys/bus/cpu/devices/cpu?/cpufreq/cpuinfo_max_freq
    2035200
    2035200
    2035200
    2035200
    2035200
    2035200
  • kernel (Jetpack 3.0 インストール後)
    nvidia@tegra-ubuntu:~$ uname -a
    Linux tegra-ubuntu 4.4.15-tegra #1 SMP PREEMPT Wed Mar 1 21:09:29 PST 2017 aarch64 aarch64 aarch64 GNU/Linux
  • OS
    nvidia@tegra-ubuntu:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 16.04 LTS
    Release:        16.04
    Codename:       xenial
  • auxv
    nvidia@tegra-ubuntu:~$ xxd -e -g8 /proc/self/auxv
    00000000: 0000000000000021 0000007fa8d8c000  !...............
    00000010: 0000000000000010 00000000000000ff  ................
    00000020: 0000000000000006 0000000000001000  ................
    00000030: 0000000000000011 0000000000000064  ........d.......
    00000040: 0000000000000003 000000558af14040  ........@@..U...
    00000050: 0000000000000004 0000000000000038  ........8.......
    00000060: 0000000000000005 0000000000000008  ................
    00000070: 0000000000000007 0000007fa8d61000  ................
    00000080: 0000000000000008 0000000000000000  ................
    00000090: 0000000000000009 000000558af163d8  .........c..U...
    000000a0: 000000000000000b 00000000000003e9  ................
    000000b0: 000000000000000c 00000000000003e9  ................
    000000c0: 000000000000000d 00000000000003e9  ................
    000000d0: 000000000000000e 00000000000003e9  ................
    000000e0: 0000000000000017 0000000000000000  ................
    000000f0: 0000000000000019 0000007fc01507c8  ................
    00000100: 000000000000001f 0000007fc0150feb  ................
    00000110: 000000000000000f 0000007fc01507d8  ................
    00000120: 0000000000000000 0000000000000000  ................
  • gcc は5.4.0 (Jetpack 3.0 インストール前は5.3.1)
    nvidia@tegra-ubuntu:~$ gcc --version
    gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 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.
  • nvcc
    $ nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2016 NVIDIA Corporation
    Built on Mon_Jan_23_12:28:25_CST_2017
    Cuda compilation tools, release 8.0, V8.0.62
  • ccacheはnvccサポートが入った3.4以降のものを入れる
  • 3.6のdebファイルでマニュアルでインストールした
    $ sudo dpkg -i ccache_3.6-1_arm64.deb
    (Reading database ... 164479 files and directories currently installed.)
    Preparing to unpack ccache_3.6-1_arm64.deb ...
    Unpacking ccache (3.6-1) over (3.2.4-1) ...
    Setting up ccache (3.6-1) ...
    Updating symlinks in /usr/lib/ccache ...
    Processing triggers for doc-base (0.10.7) ...
    Processing 1 changed doc-base file...
    Processing triggers for man-db (2.7.5-1) ...
    
    $ ccache -V
    ccache version 3.6
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2019 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
  • cmake 3.15.1 をソースからビルドしてインストール
    $ cmake --version
    cmake version 3.15.1
    
    CMake suite maintained and supported by Kitware (kitware.com/cmake).
  • UART Debug console

Jetpack 3.0

CPUを全部オンラインにする

  • 参考サイト*11にかかれてあるが、インストールしただけだと、Cortex A57 の4core しか見えていない
  • 以下のコマンドを叩いて、1番と2番をオンラインにしないと、6個のコア全部を使うことはできない
    sudo su
    echo 1 > /sys/devices/system/cpu/cpu1/online
    echo 1 > /sys/devices/system/cpu/cpu2/online
  • NVIDIA提供のnvpmodelコマンドでも設定できる
    sudo nvpmodel -m 2
  • 3がMAXP_ARM、2がMAXP_CORE_ALL、1がMAXQ、0がMAXN
  • suのcrontabに書いてしまったほうが便利
    $ sudo crontab -l | tail -1
    @reboot nvpmodel -m 2
    $ sudo crontab -e

ファンを回す

  • とりあえず全力で回しておく
    $ sudo echo 255 > /sys/kernel/debug/tegra_fan/target_pwm
  • こちらもcrontabに書いておくと便利
    $ sudo crontab -l | tail -1
    @reboot echo 255 > /sys/kernel/debug/tegra_fan/target_pwm

TBW


*1  Embedded Systems Developer Kits & Modules | NVIDIA Jetson | NVIDIA, 2017-03-24閲覧
*2  Jetson TX2 Module | NVIDIA Developer, 2017-03-24閲覧
*3  笠原一輝, NVIDIA、Pascal GPUを採用した新型「Jetson TX2」を、AIエッジ向けに投入 - Car Watch, 2017-03-08公開(日本時間), 2017-03-24閲覧
*4  後藤弘茂, 【後藤弘茂のWeekly海外ニュース】NVIDIAのTegraを採用する任天堂の新ゲーム機「Nintendo Switch」 - PC Watch, 2016-10-26, 2017-03-24閲覧
*5  塩田紳二, NVIDIA,Pascal世代の新SoC「Tegra X2」を採用する組み込み向け開発キット「Jetson TX2」発表 - 4Gamer.net, 2017-03-08公開, 2017-03-24閲覧
*6  Jetson TX2 – わっぜか株式会社, 2017-03-31公開, 2017-04-03閲覧
*7  菱洋エレクトロ株式会社|_SEO_DESCRIPTION, 2017-04-17閲覧
*8  Jetson/TX1 Serial Console - eLinux.org, 2019-07-08閲覧
*9  Serial Console - NVIDIA Jetson TX2 - JetsonHacks, 2019-07-08閲覧
*10  JetPack for L4T | NVIDIA Developer, Jetpack 3.0, 2017-04-24閲覧
*11  Two cores disabled. - NVIDIA Developer Forums, 2017-04-24閲覧

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-07-29 (月) 06:45:58 (132d)