Raspberry Pi 4
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#contents
-[[ある日突然届いた>https://www.switch-science.com/catalo...
|SoC|Broadcom BCM2711|
|CPU|Arm Cortex A72 1.5GHz Quad-core|
|GPU|VideoCore VI|
|Memory|8GB|
[[Arm]][[:Arm]][[:Arm Cortex A72]]
*スペック [#wd651471]
-CPU:Cortex A72 quad core
-cpuinfo
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM835
Revision : d03114
Serial : 10000000afb3582a7
Model : Raspberry Pi 4 Model B Rev 1.4
-auxv
$ cat /proc/self/auxv | xxd -e -g 8
00000000: 0000000000000021 0000007fa8fe9000 !.............
00000010: 0000000000000033 0000000000001270 3.......p.....
00000020: 0000000000000010 0000000000000887 ..............
00000030: 0000000000000006 0000000000001000 ..............
00000040: 0000000000000011 0000000000000064 ........d.....
00000050: 0000000000000003 000000556f2b4040 ........@@+...
00000060: 0000000000000004 0000000000000038 ........8.....
00000070: 0000000000000005 0000000000000009 ..............
00000080: 0000000000000007 0000007fa8fbb000 ..............
00000090: 0000000000000008 0000000000000000 ..............
000000a0: 0000000000000009 000000556f2b6570 ........pe+...
000000b0: 000000000000000b 00000000000003e8 ..............
000000c0: 000000000000000c 00000000000003e8 ..............
000000d0: 000000000000000d 00000000000003e8 ..............
000000e0: 000000000000000e 00000000000003e8 ..............
000000f0: 0000000000000017 0000000000000000 ..............
00000100: 0000000000000019 0000007fe2413c08 .........<A...
00000110: 000000000000001a 0000000000000000 ..............
00000120: 000000000000001f 0000007fe2414fef .........OA...
00000130: 000000000000000f 0000007fe2413c18 .........<A...
00000140: 0000000000000000 0000000000000000 ..............
-lscpu
$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: fp asimd evtstrm crc32 cpuid
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ cat /etc/debian_version
10.4
--ベースのイメージはDebian 10.4
-kernel
$ uname -a
Linux raspberrypi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 2...
--64bit版が提供されている
-meminfo
$ cat /proc/meminfo
MemTotal: 8003796 kB
MemFree: 7392420 kB
MemAvailable: 7494096 kB
Buffers: 10336 kB
Cached: 321616 kB
SwapCached: 0 kB
Active: 233244 kB
Inactive: 128112 kB
Active(anon): 169184 kB
Inactive(anon): 388 kB
Active(file): 64060 kB
Inactive(file): 127724 kB
Unevictable: 139372 kB
Mlocked: 16 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 168848 kB
Mapped: 160636 kB
Shmem: 140172 kB
KReclaimable: 20392 kB
Slab: 44420 kB
SReclaimable: 20392 kB
SUnreclaim: 24028 kB
KernelStack: 3104 kB
PageTables: 3616 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4104292 kB
Committed_AS: 974420 kB
VmallocTotal: 262930368 kB
VmallocUsed: 8784 kB
VmallocChunk: 0 kB
Percpu: 688 kB
CmaTotal: 262144 kB
CmaFree: 219264 kB
--先頭行がたしかに8GB分の容量を示している
-gcc
$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 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.13.4
CMake suite maintained and supported by Kitware (kitware...
--cmakeはデフォルトのイメージには入ってないのでaptでイン...
-ccache
$ ccache --version
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 a...
the terms of the GNU General Public License as published...
Foundation; either version 3 of the License, or (at your...
version.
--ccacheもデフォルトのイメージには入ってないので、aptでイ...
-UART Debug console
--3.3V 115200 8N1
--[[The Raspberry Pi UARTs - Raspberry Pi Documentation>h...
*FlashするImage [#q9333434]
-2020-05-27-raspios-buster-arm64
-8GB版がリリースされると同時に
--Raspbian OS という名称は廃止され、Raspberry Pi OS とい...
--同時に64bit版のRaspberry Pi OSが試験的に提供されるよう...
-Windows から EtcherでFlash
*初期設定 [#bb7e368c]
-GUIでログイン
-HDMI0につなぐ
-microHDMI
-GUIで地域や言語などの設定
-パッケージの更新
-piのパスワード設定
-raspbi-config
--Interface -> SSH でSSHを有効
-[[参考>https://www.raspberrypi.org/documentation/remote-...
-sshのPasswordAuthorizeがデフォルトnoになってるので、yes...
-インストール
$ sudo apt-get -y install vim ccache cmake openjdk-11-jr...
-ssh鍵の生成
$ ssh-keygen -t ecdsa -C pi@raspberrypi-4-8gb
-Gitのコンフィグ
$ git config --global user.name "Tomoaki Teshima"
$ git config --global user.email tomoaki.teshima@gmail.com
終了行:
#contents
-[[ある日突然届いた>https://www.switch-science.com/catalo...
|SoC|Broadcom BCM2711|
|CPU|Arm Cortex A72 1.5GHz Quad-core|
|GPU|VideoCore VI|
|Memory|8GB|
[[Arm]][[:Arm]][[:Arm Cortex A72]]
*スペック [#wd651471]
-CPU:Cortex A72 quad core
-cpuinfo
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM835
Revision : d03114
Serial : 10000000afb3582a7
Model : Raspberry Pi 4 Model B Rev 1.4
-auxv
$ cat /proc/self/auxv | xxd -e -g 8
00000000: 0000000000000021 0000007fa8fe9000 !.............
00000010: 0000000000000033 0000000000001270 3.......p.....
00000020: 0000000000000010 0000000000000887 ..............
00000030: 0000000000000006 0000000000001000 ..............
00000040: 0000000000000011 0000000000000064 ........d.....
00000050: 0000000000000003 000000556f2b4040 ........@@+...
00000060: 0000000000000004 0000000000000038 ........8.....
00000070: 0000000000000005 0000000000000009 ..............
00000080: 0000000000000007 0000007fa8fbb000 ..............
00000090: 0000000000000008 0000000000000000 ..............
000000a0: 0000000000000009 000000556f2b6570 ........pe+...
000000b0: 000000000000000b 00000000000003e8 ..............
000000c0: 000000000000000c 00000000000003e8 ..............
000000d0: 000000000000000d 00000000000003e8 ..............
000000e0: 000000000000000e 00000000000003e8 ..............
000000f0: 0000000000000017 0000000000000000 ..............
00000100: 0000000000000019 0000007fe2413c08 .........<A...
00000110: 000000000000001a 0000000000000000 ..............
00000120: 000000000000001f 0000007fe2414fef .........OA...
00000130: 000000000000000f 0000007fe2413c18 .........<A...
00000140: 0000000000000000 0000000000000000 ..............
-lscpu
$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: fp asimd evtstrm crc32 cpuid
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ cat /etc/debian_version
10.4
--ベースのイメージはDebian 10.4
-kernel
$ uname -a
Linux raspberrypi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 2...
--64bit版が提供されている
-meminfo
$ cat /proc/meminfo
MemTotal: 8003796 kB
MemFree: 7392420 kB
MemAvailable: 7494096 kB
Buffers: 10336 kB
Cached: 321616 kB
SwapCached: 0 kB
Active: 233244 kB
Inactive: 128112 kB
Active(anon): 169184 kB
Inactive(anon): 388 kB
Active(file): 64060 kB
Inactive(file): 127724 kB
Unevictable: 139372 kB
Mlocked: 16 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 168848 kB
Mapped: 160636 kB
Shmem: 140172 kB
KReclaimable: 20392 kB
Slab: 44420 kB
SReclaimable: 20392 kB
SUnreclaim: 24028 kB
KernelStack: 3104 kB
PageTables: 3616 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4104292 kB
Committed_AS: 974420 kB
VmallocTotal: 262930368 kB
VmallocUsed: 8784 kB
VmallocChunk: 0 kB
Percpu: 688 kB
CmaTotal: 262144 kB
CmaFree: 219264 kB
--先頭行がたしかに8GB分の容量を示している
-gcc
$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 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.13.4
CMake suite maintained and supported by Kitware (kitware...
--cmakeはデフォルトのイメージには入ってないのでaptでイン...
-ccache
$ ccache --version
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 a...
the terms of the GNU General Public License as published...
Foundation; either version 3 of the License, or (at your...
version.
--ccacheもデフォルトのイメージには入ってないので、aptでイ...
-UART Debug console
--3.3V 115200 8N1
--[[The Raspberry Pi UARTs - Raspberry Pi Documentation>h...
*FlashするImage [#q9333434]
-2020-05-27-raspios-buster-arm64
-8GB版がリリースされると同時に
--Raspbian OS という名称は廃止され、Raspberry Pi OS とい...
--同時に64bit版のRaspberry Pi OSが試験的に提供されるよう...
-Windows から EtcherでFlash
*初期設定 [#bb7e368c]
-GUIでログイン
-HDMI0につなぐ
-microHDMI
-GUIで地域や言語などの設定
-パッケージの更新
-piのパスワード設定
-raspbi-config
--Interface -> SSH でSSHを有効
-[[参考>https://www.raspberrypi.org/documentation/remote-...
-sshのPasswordAuthorizeがデフォルトnoになってるので、yes...
-インストール
$ sudo apt-get -y install vim ccache cmake openjdk-11-jr...
-ssh鍵の生成
$ ssh-keygen -t ecdsa -C pi@raspberrypi-4-8gb
-Gitのコンフィグ
$ git config --global user.name "Tomoaki Teshima"
$ git config --global user.email tomoaki.teshima@gmail.com
ページ名: