Raspberry pi 3b+ は Cortex-A53 なので 64bit CPU なのだが、残念なことに raspbian は 32bit版しか提供されていない。
そこで、Raspberry pi 3b+ に 32bit版と64bit版の ubuntu MATE(18.04.2) をそれぞれインストールしてみる.
リンク先ページ名は18.04.4 だがファイル名は18.04.2
ファイル名のarmhfは32bitのhard float版だから。arm64はもちろん64bit版
$ wget https://ubuntu-mate.org/raspberry-pi/ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz $ sha256sum ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz bb74b607da2f4d417851e006fadd5de1304f84681db9c4bd8f17ff1b1d410995 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
$ wget https://ubuntu-mate.org/raspberry-pi/ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz $ sha256sum ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz bb4f6f722b41aa4c40b710b3cb81936127ecf799236ccbaa3b6b5455d8bf2b39 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
32bit版
$ ls -l ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz -rw-r--r-- 1 developer developer 1265649512 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz $ xz -dv ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz (1/1) 100 % 1,207.0 MiB / 4,768.4 MiB = 0.253 60 MiB/s 1:19 $ ls -l ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img -rw-r--r-- 1 developer developer 5000000000 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img $ sudo dd bs=4M if=ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img of=/dev/sdb status=progress conv=fsync 5000000000 bytes (5.0 GB, 4.7 GiB) copied, 537 s, 9.3 MB/s 1192+1 レコード入力 1192+1 レコード出力 5000000000 bytes (5.0 GB, 4.7 GiB) copied, 624.387 s, 8.0 MB/s
64bit版
$ ls -l ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz -rw-r--r-- 1 developer developer 1251038932 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz $ xz -dv ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz (1/1) 100 % 1,193.1 MiB / 4,768.4 MiB = 0.250 83 MiB/s 0:57 $ ls -l ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img -rw-r--r-- 1 developer developer 5000000000 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img $ sudo dd bs=4M if=ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img of=/dev/sdb status=progress conv=fsync 5000000000 bytes (5.0 GB, 4.7 GiB) copied, 420 s, 11.9 MB/s 1192+1 レコード入力 1192+1 レコード出力 5000000000 bytes (5.0 GB, 4.7 GiB) copied, 483.559 s, 10.3 MB/s
※ssh-keygen が必要なので注意!
$ sudo apt update $ sudo apt upgrade $ sudo apt install ssh $ sudo ssh-keygen -A $ sudo systemctl start ssh $ sudo systemctl enable ssh
※Raspberry PiはRaspberry Pi財団の登録商標です。