리눅스 정보 확인

CPU 정보 확인

$ cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 54.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
 
... 생략 ...

nstruction set architecture (ISA)

$ uname -i
aarch64

커널에 대한 정보

$ uname -a
Linux bpi-iot-ros-ai 4.9.119-BPI-M4-Kernel #1 SMP PREEMPT Mon May 18 10:41:36 HKT 2020 aarch64 aarch64 aarch64 GNU/Linux

OS버전에 대한 정보

$ cat /etc/issue
Ubuntu 18.04.4 LTS \n \l

논리 코어 수 확인

$ grep -c processor /proc/cpuinfo
4

메모리, swap 사이즈 확인

$ free -h
'              total        used        free      shared  buff/cache   available
Mem:           679M        273M        161M         21M        245M        270M
Swap:          255M          0B        255M

Tensorflow 설치된 Linux 이미지 eMMC에 설치

$ sudo bpi-copy 2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip 
SRC=2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip
DST=
COPYMODE=imagetodisk
imagetodisk
bpi-copy(v1.3.4(github)), bananapi image & disk tools

Usage: bpi-copy [OPTIONS]...
       bpi-copy [ --help | -v | --version ]
       bpi-copy IMGFILE
       bpi-copy IMGDIR
       bpi-copy IMGFILE DEVICE
       bpi-copy DEVICE IMGFILE

Warning: Try to write 2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip to BOOTDISK /dev/mmcblk1
==============================================================
Sat Jun  6 22:43:02 CST 2020
*** start COPY (blue led on ) .....
INFO: /dev/mmcblk1 : SD/eMMC !!
umount device: /dev/mmcblk1
umount /dev/mmcblk1p2
umount /dev/mmcblk1p1
==============================================================
IMGFILE=2020-05-18-ubuntu-18.04-mate-desktop-bpi-m4-aarch64-sd-emmc_tensorflow-2.2.0.img.zip
==============================================================
zip
7.28GiB 0:06:07 [20.3MiB/s] [                                                         <=>                                 ]
0+108268 records in
0+108268 records out
***  end  COPY (blue led off) .....
Sat Jun  6 22:49:11 CST 2020
==============================================================
RUNTIME 6:9
OK!! You can remove the BOOTDISK /dev/mmcblk1 now!!

Python, pip 버전확인

$ python3 --version
Python 3.7.7
$ pip3 --version
pip 20.1.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)

Tensorflow 버전확인

$ python3
Python 3.7.7 (default, Jun  6 2020, 12:24:50) 
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'2.2.0'


댓글을 달아 주세요