Coral DevBoardをWindowsでセットアップを行う (Headlessセットアップ)

## 【内容】
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/f452205d-8de0-3f53-46e5-6a1cbe145d64.png)

昨年8月に発表されたGoogleのEdge TPU。
ずっと購入できる日を待っていました。
2019年の3月に販売が開始され、USB Acceleratorleratorを購入しましたが、Single Board ComputerであるDevBoardは技適の関係で日本への出荷は叶わず。

それをこの度、やっと入手することができましたので早速公式手順に従ってセットアップを試みました。
しかし、公式手順ではLinuxおよびMacでのセットアップが前提となっています。
VirtualBox上のUbuntu環境からセットアップしてみようかと思いましたが、せっかくなのでWindows単体でのセットアップに挑戦します。


## 【概要】
基本的には下記の公式手順をWindowsで動く形に置き換えています。

[【Get started with the Dev Board - Coral】](https://coral.withgoogle.com/docs/dev-board/get-started/#)

なお、操作にはWindows 10 Pro/Home (1903)で実施しています。


### 必要なHW
- WindowsのPC
- USB-microB ケーブル (PCとDevBoardのSerial Consoleをつなぐのに必要です)
- USB-C ケーブル (PC ト data portポートをつなぐのに必要です)
- 5V/2～3AのUSB Type-Cの電源 (DevBaordに電源を供給します。スマホの電源で代用できます)
- 有線LANケーブルまたはWi-Fi接続 (本手順ではWi-Fi接続のみ)

### 必要なSW
Android Platform Tools内に含まれている「fastboot」が必要になります。
事前に下記のURLからダウンロードして適当な場所に解凍しておきます。

[【Android Platform Tools - Android SDK】](https://developer.android.com/studio/releases/platform-tools.html#download)

またSerialコンソールに接続できるコンソールアプリが必要です。
私は「[TeraTerm](https://ttssh2.osdn.jp/index.html.ja)」を利用しました。


## 【DIPスイッチの設定】
ブートモードスイッチをeMMCモードに設定します。
設定する際にはDevBoardの電源やケーブル類が完全に抜いてある状態で行ってください。

|Boot mode	|Switch 1	|Switch 2	|Switch 3	|Switch 4	|
|---------------|---------------|---------------|---------------|---------------|
|eMMC		|ON		|OFF		|OFF		|OFF		|


## 【PCとの接続】
まずは、PCとDevBoardのSerial Consoleを接続します。
Serial Consoleは40PIN GPIOの隣にあるMicroUSB端子になります。
Serial ConsoleとPCのUSB端子を接続すると自動的にUART Bridge VCPドライバーがインストールされました。
デバイスマネージャを確認すると下記のように表示されます。
今回は「COM4」または「COM5」として認識したようです。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/6d3f7487-88ff-26bb-3ef3-a98c59b8abea.png)

次にコンソールアプリでDevBoardが接続されたVCPに接続します。
DevBoard接続時に「COM4」と「COM5」の2つのポートが認識されましたが、本手順の場合は「Silicon Labs Dual CP2105 USB to UART Bridge: __Enhanced__ COM Port」と表示されている「COM5」に接続しました。
また、その際に通信速度は「115200」に設定します。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/6676e372-5be3-1ddb-067e-44209db0beda.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/24c79dd2-b259-9747-3033-06fd3b7023c4.png)

この時点ではDevBoardには電源が供給されていないため、何も表示されません。


次にDevBoardに電源を供給するためにUSB-TypeCの端子に5V/2Aの電源を供給します。
DevBoardにはUSB-TypeCの端子が2つありますが、ヘッドフォンジャックの隣の端子が電源供給ポートになります。

DevBoardに電源を供給するとファンが勢いよく回りだし、Serial Consoleに以下が表示されます。

<details><summary>電源供給時の表示 (長いので折りたたみます)</summary><div>

```sh:起動ログ
U-Boot SPL 2017.03.1 (Mar 27 2019 - 22:21:16)
power_bd71837_init
pmic debug: name=BD71837
Board id: 2
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC1


U-Boot 2017.03.1 (Mar 27 2019 - 22:21:16 +0000)

CPU:   Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 33C
Reset cause: POR
Model: Freescale i.MX8MQ Phanbell
DRAM:  1 GiB
Board id: 2
Baseboard id: 1
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF
  - U-Boot 2017.03.1

flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Fastboot: Normal
Hit any key to stop autoboot:  0


**********************************************************************
Welcome to your new Coral EdgeTPU Development Board!
**********************************************************************

To get started, you need to download and flash the latest firmware.
Please follow the instructions at g.co/coral/setup.


Configured USB Switch for UFP
```
</div></details>

### VCPドライバが自動的にインストールされない場合 (2019/08/26 追記)
別のWindowes端末(Windows 10 Pro (1809))につないだ際に、VCPドライバが自動的にインストールされませんでした。
その際には以下よりドライバをダウンロードしてインストールすることで、VCPとして認識されました。
[【CP210x USB to UART Bridge VCP Drivers - Silicon Lab】](https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)



## 【fastbootの確認】
fastbootが動作するか、確認します。
DevBoardのDataポート(もう一つのUSB-TypeC端子)とPCを接続します。
正しく接続できると「USB Download Gadget」というデバイスが追加されますが、ドライバが正常に読み込まれていない状態になっています。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/d4d892a0-1cca-5a64-fcc5-6dc208a51831.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/8cc30fac-c5e4-0b91-020d-d459f0b8be11.png)

「ドライバーの更新」を実行し「コンピュータを参照してドライバソフトウェアを検索」＞「コンピュータ上の利用可能なドライバの一覧から選択します」を選択します。
表示された「ドライバー更新」ダイアログで「すべてのデバイスを表示」を指定し「次へ」を実行します。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/b85f3d71-9428-3945-a847-5a2ee365994b.png)

続いて表示されたダイアログの左ペインから「WinUsbデバイス」を指定し、右ペインで「ADBデバイス」を選択し「次へ」を実行します。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/6f6b056a-b9cc-60fe-0e07-5de183896622.png)

下記の警告が表示されますが、「はい」を押して次に進みます。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/e8519783-2bf5-050e-9402-4c1b24347dea.png)

下記のメッセージが表示されたら準備完了です。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/d37e9d3a-9dd8-4d23-c56f-0717c9440782.png)


続いてコマンドプロンプトかPowerShellを開き、下記コマンド実行します。
先の手順でAndroid Platform Toolsを展開したフォルダの `fastboot` コマンドを実行しています。
本手順では「C:\platform-tools」に展開した想定です。

```PowerShell:fastboot確認
C:\platform-tools\fastboot devices
```
下記のような結果が表示されたら動作確認は成功です。

```PowerShell:結果
182259d6f32ef62a        fastboot
```



## 【システムイメージのダウンロードと解凍】
公式手順に従い、以下のURLからシステムイメージをダウンロードします。
[【DevBoard システムイメージ】](https://dl.google.com/coral/mendel/enterprise/mendel-enterprise-chef-13.zip)

コマンドプロンプトから `curl` コマンドを使ってダウンロードすることも可能です。

```powershell:システムイメージのダウンロード
curl -O https://dl.google.com/coral/mendel/enterprise/mendel-enterprise-chef-13.zip
```

ダウンロードできたら適当な場所に解凍してください。


## 【システムイメージのFLASH】
公式手順では、このあと解凍したフォルダ内の `flash.sh` を実行して、イメージのフラッシュを行っていますが、Windowsではそのままでは実行できません。
`flash.sh` 内でイメージをフラッシュしている部分のみ抜き出し、コマンドプロンプト上で以下のコマンドを実行します。
`＜システムイメージ解凍フォルダ＞` および `＜fastbootがおいてあるフォルダ＞` は自分の環境に合わせて変更してください。
なお、timeoutが挿入されている部分はDevBoardの再起動待ちなので、連続実行しないようにしています。

```cmd:flash.cmd
pushd "＜システムイメージ解凍フォルダ＞"

SET FASTBOOT_CMD="＜fastbootがおいてあるフォルダ＞\fastboot"

rem Flash bootloader
%FASTBOOT_CMD% flash bootloader0 u-boot.imx
%FASTBOOT_CMD% reboot-bootloader
timeout 5

rem Flash partition table
%FASTBOOT_CMD% flash gpt partition-table-8gb.img
%FASTBOOT_CMD% reboot-bootloader
timeout 5

rem Flash filesystems
%FASTBOOT_CMD% erase misc
%FASTBOOT_CMD% flash boot boot_arm64.img
%FASTBOOT_CMD% flash rootfs rootfs_arm64.img
%FASTBOOT_CMD% reboot

popd
```

```cmd:実行ログ
Microsoft Windows [Version 10.0.18362.295]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\>pushd "C:\mendel-enterprise-chef-13"

C:\mendel-enterprise-chef-13>SET FASTBOOT_CMD="C:\download\platform-tools\fastboot"

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% devices
182259d6f32ef62a        fastboot

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% flash bootloader0 u-boot.imx
Sending 'bootloader0' (1006 KB)                    OKAY [  0.055s]
Writing 'bootloader0'                              OKAY [  0.233s]
Finished. Total time: 0.336s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% reboot-bootloader
Rebooting into bootloader                          OKAY [  0.025s]
Finished. Total time: 0.032s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% flash gpt partition-table-8gb.img
Sending 'gpt' (33 KB)                              OKAY [  0.018s]
Writing 'gpt'                                      OKAY [  0.364s]
Finished. Total time: 0.423s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% reboot-bootloader
Rebooting into bootloader                          OKAY [  0.023s]
Finished. Total time: 0.030s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% erase misc
Erasing 'misc'                                     OKAY [  0.071s]
Finished. Total time: 0.091s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% flash boot boot_arm64.img
Sending 'boot' (131072 KB)                         OKAY [  5.083s]
Writing 'boot'                                     OKAY [  4.040s]
Finished. Total time: 9.329s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% flash rootfs rootfs_arm64.img
Sending sparse 'rootfs' 1/3 (397265 KB)            OKAY [ 15.788s]
Writing 'rootfs'                                   OKAY [ 28.703s]
Sending sparse 'rootfs' 2/3 (408325 KB)            OKAY [ 16.083s]
Writing 'rootfs'                                   OKAY [ 55.744s]
Sending sparse 'rootfs' 3/3 (352960 KB)            OKAY [ 14.078s]
Writing 'rootfs'                                   OKAY [100.833s]
Finished. Total time: 233.660s

C:\mendel-enterprise-chef-13>%FASTBOOT_CMD% reboot
Rebooting                                          OKAY [  0.005s]
Finished. Total time: 0.011s

C:\mendel-enterprise-chef-13>popd

C:\>
```
<details><summary>コンソールログの表示(長いので折りたたみます)</summary><div>

```bash:コンソールログ
request 000000007bf354c0 was not queued to ep1in-bulk
request 000000007bf354c0 was not queued to ep1in-bulk
WARNING: unknown variable: is-logical:bootloader0
request 000000007bf354c0 was not queued to ep1in-bulk
Starting download of 1031108 bytes
request 000000007bf354c0 was not queued to ep1in-bulk
.......request 000000007bf354c0 was not queued to ep1in-bulk

downloading of 1031108 bytes finished
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
writing to partition 'bootloader0'
support sparse flash partition for bootloader0
Initializing 'bootloader0'
switch to partitions #1, OK
mmc0(part 1) is current device
Writing 'bootloader0'

MMC write: dev # 0, block # 66, count 2014 ... 2014 blocks written: OK
Writing 'bootloader0' DONE!
request 000000007bf354c0 was not queued to ep1in-bulk
request 000000007bf354c0 was not queued to ep1in-bulk
resetting ...

U-Boot SPL 2017.03.1 (Mar 27 2019 - 22:21:16)
power_bd71837_init
pmic debug: name=BD71837
Board id: 2
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC1


U-Boot 2017.03.1 (Mar 27 2019 - 22:21:16 +0000)

CPU:   Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 37C
Reset cause: POR
Model: Freescale i.MX8MQ Phanbell
DRAM:  1 GiB
Board id: 2
Baseboard id: 1
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF
  - U-Boot 2017.03.1

flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Fastboot: Got bootloader commands!
Configured USB Switch for UFP
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
WARNING: unknown variable: is-logical:gpt
request 000000007bf34880 was not queued to ep1in-bulk
Starting download of 34304 bytes
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk

downloading of 34304 bytes finished
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
writing to partition 'gpt'
support sparse flash partition for gpt
Initializing 'gpt'
switch to partitions #0, OK
mmc0(part 0) is current device
Writing 'gpt'

MMC write: dev # 0, block # 0, count 34 ... 34 blocks written: OK
Writing 'gpt' DONE!
flash backup gpt image successfully
switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
resetting ...

U-Boot SPL 2017.03.1 (Mar 27 2019 - 22:21:16)
power_bd71837_init
pmic debug: name=BD71837
Board id: 2
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC1


U-Boot 2017.03.1 (Mar 27 2019 - 22:21:16 +0000)

CPU:   Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 37C
Reset cause: POR
Model: Freescale i.MX8MQ Phanbell
DRAM:  1 GiB
Board id: 2
Baseboard id: 1
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF
  - U-Boot 2017.03.1

flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Fastboot: Got bootloader commands!
Configured USB Switch for UFP
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
erase target is MMC:0
Erasing blocks 278528 to 280576 due to alignment
........ erased 1048576 bytes from 'misc'
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
WARNING: unknown variable: is-logical:boot
request 000000007bf34880 was not queued to ep1in-bulk
Starting download of 134217728 bytes
request 000000007bf34880 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..............................................................request 000000007bf34880 was not queued to ep1in-bulk

downloading of 134217728 bytes finished
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
writing to partition 'boot'
Initializing 'boot'
switch to partitions #0, OK
mmc0(part 0) is current device
Writing 'boot'

MMC write: dev # 0, block # 16384, count 262144 ... 262144 blocks written: OK
Writing 'boot' DONE!
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
WARNING: unknown variable: is-logical:rootfs
request 000000007bf34880 was not queued to ep1in-bulk
Starting download of 406800300 bytes
request 000000007bf34880 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
.....................................................................request 000000007bf34880 was not queued to ep1in-bulk

downloading of 406800300 bytes finished
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
writing to partition 'rootfs'
sparse flash target is MMC:0
writing to partition 'rootfs' for sparse, buffer size 406800300
Flashing sparse image at offset 294912
Flashing Sparse Image
........ wrote 681488384 bytes to 'rootfs'
request 000000007bf34880 was not queued to ep1in-bulk
Starting download of 418124948 bytes
request 000000007bf34880 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
........request 000000007bf34880 was not queued to ep1in-bulk

downloading of 418124948 bytes finished
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
writing to partition 'rootfs'
sparse flash target is MMC:0
writing to partition 'rootfs' for sparse, buffer size 418124948
Flashing sparse image at offset 294912
Flashing Sparse Image
........ wrote 1340166144 bytes to 'rootfs'
request 000000007bf34880 was not queued to ep1in-bulk
Starting download of 361431524 bytes
request 000000007bf34880 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
...................request 000000007bf34880 was not queued to ep1in-bulk

downloading of 361431524 bytes finished
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='boot' start=16384 len=262144
idx 4, ptn 2 name='misc' start=278528 len=2048
idx 5, ptn 3 name='rootfs' start=294912 len=14958592
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
writing to partition 'rootfs'
sparse flash target is MMC:0
writing to partition 'rootfs' for sparse, buffer size 361431524
Flashing sparse image at offset 294912
Flashing Sparse Image
........ wrote 2273312768 bytes to 'rootfs'
request 000000007bf34880 was not queued to ep1in-bulk
request 000000007bf34880 was not queued to ep1in-bulk
resetting ...

U-Boot SPL 2017.03.1 (Mar 27 2019 - 22:21:16)
power_bd71837_init
pmic debug: name=BD71837
Board id: 2
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC1


U-Boot 2017.03.1 (Mar 27 2019 - 22:21:16 +0000)

CPU:   Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 37C
Reset cause: POR
Model: Freescale i.MX8MQ Phanbell
DRAM:  1 GiB
Board id: 2
Baseboard id: 1
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF
  - U-Boot 2017.03.1

flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Fastboot: Normal
Hit any key to stop autoboot:  0
1800 bytes read in 51 ms (34.2 KiB/s)
## Executing script at 40480000
22811136 bytes read in 886 ms (24.6 MiB/s)
43269 bytes read in 45 ms (938.5 KiB/s)
104 bytes read in 53 ms (1000 Bytes/s)
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   reserving fdt memory region: addr=43000000 size=b000
   Using Device Tree in place at 0000000043000000, end 000000004300dfff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.51-imx (pbuilder@ca09c886a445) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP PREEMPT Fri Apr 5 00:17:46 UTC 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
[    0.000000] bootconsole [ec_imx6q0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000006c000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffff80002bf68000 s48664 r8192 d29160 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttymxc0,115200 console=tty0 earlycon=ec_imx6q,0x30860000,115200 root=PARTUUID=70672ec3-5eee-49ff-b3b1-eb1fbd406bf5 rootfstype=ext4 rw rootwait init=/sbin/init net.ifnames=0 pci=pcie_bus_perf
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 678604K/1048576K available (13628K kernel code, 1604K rwdata, 5916K rodata, 1088K init, 1394K bss, 42292K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008dd0000   ( 13632 KB)
[    0.000000]     .rodata : 0xffff000008dd0000 - 0xffff0000093a0000   (  5952 KB)
[    0.000000]       .init : 0xffff0000093a0000 - 0xffff0000094b0000   (  1088 KB)
[    0.000000]       .data : 0xffff0000094b0000 - 0xffff000009641200   (  1605 KB)
[    0.000000]        .bss : 0xffff000009641200 - 0xffff00000979dcc4   (  1395 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0001000000   (    16 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff800040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] i.MX8MQ clock driver init done
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 8.33MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.008277] system counter timer init
[    0.011724] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.019709] clocksource: imx sysctr: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.030369] Console: colour dummy device 80x25
[    0.034454] console [tty0] enabled
[    0.037846] bootconsole [ec_imx6q0] disabled
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.51-imx (pbuilder@ca09c886a445) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP PREEMPT Fri Apr 5 00:17:46 UTC 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
[    0.000000] bootconsole [ec_imx6q0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000006c000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffff80002bf68000 s48664 r8192 d29160 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttymxc0,115200 console=tty0 earlycon=ec_imx6q,0x30860000,115200 root=PARTUUID=70672ec3-5eee-49ff-b3b1-eb1fbd406bf5 rootfstype=ext4 rw rootwait init=/sbin/init net.ifnames=0 pci=pcie_bus_perf
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 678604K/1048576K available (13628K kernel code, 1604K rwdata, 5916K rodata, 1088K init, 1394K bss, 42292K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008dd0000   ( 13632 KB)
[    0.000000]     .rodata : 0xffff000008dd0000 - 0xffff0000093a0000   (  5952 KB)
[    0.000000]       .init : 0xffff0000093a0000 - 0xffff0000094b0000   (  1088 KB)
[    0.000000]       .data : 0xffff0000094b0000 - 0xffff000009641200   (  1605 KB)
[    0.000000]        .bss : 0xffff000009641200 - 0xffff00000979dcc4   (  1395 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0001000000   (    16 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff800040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] i.MX8MQ clock driver init done
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 8.33MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.008277] system counter timer init
[    0.011724] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.019709] clocksource: imx sysctr: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.030369] Console: colour dummy device 80x25
[    0.034454] console [tty0] enabled
[    0.037846] bootconsole [ec_imx6q0] disabled
[    0.042138] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[    0.042159] pid_max: default: 32768 minimum: 301
[    0.042225] Security Framework initialized
[    0.042266] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.042281] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.042989] ASID allocator initialised with 65536 entries
[    0.075069] Cannot find MU entry in device tree
[    0.075206] CPU identified as i.MX8MQ, silicon rev 2.1
[    0.075301] EFI services will not be available.
[    0.122404] Detected VIPT I-cache on CPU1
[    0.122430] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.122461] CPU1: Booted secondary processor [410fd034]
[    0.154464] Detected VIPT I-cache on CPU2
[    0.154483] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.154509] CPU2: Booted secondary processor [410fd034]
[    0.186538] Detected VIPT I-cache on CPU3
[    0.186557] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.186583] CPU3: Booted secondary processor [410fd034]
[    0.186788] Brought up 4 CPUs
[    0.186871] SMP: Total of 4 processors activated.
[    0.186883] CPU features: detected feature: GIC system register CPU interface
[    0.186899] CPU features: detected feature: 32-bit EL0 Support
[    0.187245] CPU: All CPU(s) started at EL2
[    0.187427] alternatives: patching kernel code
[    0.188427] devtmpfs: initialized
[    0.195927] DMI not present or invalid.
[    0.196376] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.196413] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.204437] pinctrl core: initialized pinctrl subsystem
[    0.205855] NET: Registered protocol family 16
[    0.226626] cpuidle: using governor menu
[    0.227389] vdso: 2 pages (1 code @ ffff000008dd7000, 1 data @ ffff0000094b4000)
[    0.227423] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.231315] DMA: preallocated 256 KiB pool for atomic allocations
[    0.232533] Serial: AMBA PL011 UART driver
[    0.241085] imx8mq-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[    0.300193] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.309670] ACPI: Interpreter disabled.
[    0.312188] mxs-dma 33000000.dma-apbh: initialized
[    0.836648] vgaarb: loaded
[    0.837156] SCSI subsystem initialized
[    0.838431] usbcore: registered new interface driver usbfs
[    0.838542] usbcore: registered new interface driver hub
[    0.838971] usbcore: registered new device driver usb
[    0.847856] bd71837 0-004b: Device ID=0xA2
[    0.847877] bd71837 0-004b: gpio_intr = 3
[    0.847896] bd71837 0-004b: chip_irq=67
[    0.919877] bd71837-pmic bd71837-pmic: regulator register name 'buck1'
[    0.972169] bd71837-pmic bd71837-pmic: regulator register name 'buck2'
[    1.008246] bd71837-pmic bd71837-pmic: regulator register name 'buck3'
[    1.044285] bd71837-pmic bd71837-pmic: regulator register name 'buck4'
[    1.068331] bd71837-pmic bd71837-pmic: regulator register name 'buck5'
[    1.084356] bd71837-pmic bd71837-pmic: regulator register name 'buck6'
[    1.100394] bd71837-pmic bd71837-pmic: regulator register name 'buck7'
[    1.116435] bd71837-pmic bd71837-pmic: regulator register name 'buck8'
[    1.132472] bd71837-pmic bd71837-pmic: regulator register name 'ldo1'
[    1.148527] bd71837-pmic bd71837-pmic: regulator register name 'ldo2'
[    1.152548] bd71837-pmic bd71837-pmic: regulator register name 'ldo3'
[    1.168559] bd71837-pmic bd71837-pmic: regulator register name 'ldo4'
[    1.184602] bd71837-pmic bd71837-pmic: regulator register name 'ldo5'
[    1.200638] bd71837-pmic bd71837-pmic: regulator register name 'ldo6'
[    1.216677] bd71837-pmic bd71837-pmic: regulator register name 'ldo7'
[    1.220491] random: fast init done
[    1.232734] bd71837-pmic bd71837-pmic: Buck1: DVS Run-Idle-Susp[900000 - 900000 - 800000].
[    1.244590] bd71837-pmic bd71837-pmic: Buck2: DVS Run-Idle-Susp[1000000 - 900000 - 0].
[    1.252609] bd71837-pmic bd71837-pmic: Buck3: DVS Run-Idle-Susp[900000 - 0 - 0].
[    1.256619] bd71837-pmic bd71837-pmic: Buck4: DVS Run-Idle-Susp[900000 - 0 - 0].
[    1.272672] i2c i2c-0: IMX I2C adapter registered
[    1.272697] i2c i2c-0: can't use DMA, using PIO instead.
[    1.273419] i2c i2c-1: IMX I2C adapter registered
[    1.273441] i2c i2c-1: can't use DMA, using PIO instead.
[    1.273998] i2c i2c-2: IMX I2C adapter registered
[    1.274020] i2c i2c-2: can't use DMA, using PIO instead.
[    1.274618] media: Linux media interface: v0.10
[    1.274717] Linux video capture interface: v2.00
[    1.274869] pps_core: LinuxPPS API ver. 1 registered
[    1.274887] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.274982] PTP clock support registered
[    1.275469] dmi: Firmware registration failed.
[    1.275532] Linux cec interface: v0.10
[    1.276025] MU is ready for cross core communication!
[    1.277169] virtio_rpmsg_bus virtio0: rpmsg host is online
[    1.277308] imx rpmsg driver is registered.
[    1.277590] Advanced Linux Sound Architecture Driver Initialized.
[    1.278373] Bluetooth: Core ver 2.22
[    1.278465] NET: Registered protocol family 31
[    1.278483] Bluetooth: HCI device and connection manager initialized
[    1.278507] Bluetooth: HCI socket layer initialized
[    1.278529] Bluetooth: L2CAP socket layer initialized
[    1.278579] Bluetooth: SCO socket layer initialized
[    1.280645] clocksource: Switched to clocksource arch_sys_counter
[    1.280921] VFS: Disk quotas dquot_6.6.0
[    1.280976] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.281270] pnp: PnP ACPI: disabled
[    1.294755] NET: Registered protocol family 2
[    1.295162] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.295246] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    1.295395] TCP: Hash tables configured (established 8192 bind 8192)
[    1.295451] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.295492] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.295623] NET: Registered protocol family 1
[    1.296590] RPC: Registered named UNIX socket transport module.
[    1.296609] RPC: Registered udp transport module.
[    1.296626] RPC: Registered tcp transport module.
[    1.296658] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.297354] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.297908] kvm [1]: 8-bit VMID
[    1.297926] kvm [1]: IDMAP page: 40dc1000
[    1.297943] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    1.298915] kvm [1]: Hyp mode initialized successfully
[    1.298990] kvm [1]: GICv3: no GICV resource entry
[    1.299007] kvm [1]: disabling GICv2 emulation
[    1.299138] kvm [1]: GIC system register CPU interface enabled
[    1.299543] kvm [1]: vgic interrupt IRQ1
[    1.299570] kvm [1]: virtual timer IRQ4
[    1.305113] audit: initializing netlink subsys (disabled)
[    1.305156] audit: type=2000 audit(1.271:1): initialized
[    1.306433] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    1.315396] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.316897] NFS: Registering the id_resolver key type
[    1.316931] Key type id_resolver registered
[    1.316947] Key type id_legacy registered
[    1.316971] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.317008] jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
[    1.317664] 9p: Installing v9fs 9p2000 file system support
[    1.335551] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.335583] io scheduler noop registered
[    1.335619] io scheduler cfq registered (default)
[    1.338134] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    1.351176] imx-sdma 30bd0000.sdma: no iram assigned, using external mem
[    1.352594] imx-sdma 30bd0000.sdma: loaded firmware 4.2
[    1.357266] imx-sdma 302c0000.sdma: no iram assigned, using external mem
[    1.358329] imx-sdma 302c0000.sdma: loaded firmware 4.2
[    1.365382] Bus freq driver module loaded
[    1.366621] xenfs: not registering filesystem on non-xen platform
[    1.373808] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.376737] SuperH (H)SCI(F) driver initialized
[    1.377493] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 38, base_baud = 1562500) is a IMX
[    2.501219] console [ttymxc0] enabled
[    2.505587] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 39, base_baud = 5000000) is a IMX
[    2.515231] msm_serial: driver initialized
[    2.525772] [drm] Initialized
[    2.533932] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.540586] [drm] No driver support for vblank timestamp query.
[    2.546698] imx-drm display-subsystem: bound imx-dcss-crtc.0 (ops dcss_crtc_ops)
[    2.554218]  VIC 2, pixel clock 148500 kHz
[    2.558567] Pixel clock frequency: 148500 kHz, character clock frequency: 148500, color depth is 8-bit.
[    2.567995] VCO frequency is 5940000 kHz
[    2.574890] CDN_API_General_Write_Register_blocking LANES_CONFIG ret = 0
[    2.582361] [drm] hdmi-audio-codec driver bound to HDMI
[    2.587621] imx-drm display-subsystem: bound 32c00000.hdmi (ops imx_hdp_imx_ops)
[    2.595150] imx-drm display-subsystem: No connectors reported connected with modes
[    2.602760] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.622155] Console: switching to colour frame buffer device 128x48
[    2.639085] imx-drm display-subsystem: fb0:  frame buffer device
[    2.675255] loop: module loaded
[    2.680409] hisi_sas: driver version v1.6
[    2.687971] slram: not enough parameters.
[    2.693758] spi_imx 30820000.ecspi: dma setup error -19, use pio
[    2.700780] spi_imx 30820000.ecspi: probed
[    2.707308] libphy: Fixed MDIO Bus: probed
[    2.712939] tun: Universal TUN/TAP device driver, 1.6
[    2.718121] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.724874] CAN device driver interface
[    2.730914] 30be0000.ethernet supply phy not found, using dummy regulator
[    2.738549] pps pps0: new PPS source ptp0
[    2.745602] libphy: fec_enet_mii_bus: probed
[    2.751507] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.758615] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.764597] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.770848] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    2.777985] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.788260] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    2.800670] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.811312] sky2: driver version 1.30
[    2.826048] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.837245] ehci-pci: EHCI PCI platform driver
[    2.846313] ehci-platform: EHCI generic platform driver
[    2.856302] ehci-exynos: EHCI EXYNOS driver
[    2.865151] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    2.875454] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.886296] ohci-pci: OHCI PCI platform driver
[    2.895364] ohci-platform: OHCI generic platform driver
[    2.905216] ohci-exynos: OHCI EXYNOS driver
[    2.914412] Can't support > 32 bit dma.
[    2.922625] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.932518] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.946511] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x01010810
[    2.959666] xhci-hcd xhci-hcd.0.auto: irq 226, io mem 0x38200000
[    2.970868] hub 1-0:1.0: USB hub found
[    2.978907] hub 1-0:1.0: 1 port detected
[    2.987292] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.996955] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.009559] hub 2-0:1.0: USB hub found
[    3.017415] hub 2-0:1.0: 1 port detected
[    3.026237] usbcore: registered new interface driver usb-storage
[    3.036546] usbcore: registered new interface driver usbserial
[    3.046517] usbcore: registered new interface driver cp210x
[    3.056092] usbserial: USB Serial support registered for cp210x
[    3.066129] usbcore: registered new interface driver usb_ehset_test
[    3.079465] mousedev: PS/2 mouse device common for all mice
[    3.089469] input: 30370000.snvs:snvs-powerkey as /devices/platform/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    3.107934] snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs- as rtc0
[    3.121841] i2c /dev entries driver
[    3.133669] 1-003c supply DOVDD not found, using dummy regulator
[    3.144130] 1-003c supply DVDD not found, using dummy regulator
[    3.154403] 1-003c supply AVDD not found, using dummy regulator
[    3.232948] ov5645_read_reg:write reg error:reg=300a
[    3.242105] camera ov5645_mipi is not found
[    3.251374] mxc-mipi-csi2_yav 30a70000.mipi_csi1: mipi_csi2_probe
[    3.261780] CSI: Registered sensor subdevice: mxc-mipi-csi2.0
[    3.271818] mxc-mipi-csi2_yav 30a70000.mipi_csi: Remote device at /mipi_csi1@30a70000/port/endpoint1 XXX found
[    3.286232] mxc-mipi-csi2_yav 30a70000.mipi_csi1: lanes: 2, name: mxc-mipi-csi2.0
[    3.300064] gpio-fan gpio_fan: GPIO fan initialized
[    3.311503] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[    3.322413] Bluetooth: HCI UART driver ver 2.3
[    3.331105] Bluetooth: HCI UART protocol H4 registered
[    3.340506] Bluetooth: HCI UART protocol BCSP registered
[    3.349954] Bluetooth: HCI UART protocol ATH3K registered
[    3.359482] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.369952] Bluetooth: HCI UART protocol Broadcom registered
[    3.379710] Bluetooth: HCI UART protocol QCA registered
[    3.390298] sdhci: Secure Digital Host Controller Interface driver
[    3.400506] sdhci: Copyright(c) Pierre Ossman
[    3.409437] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.468717] mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
[    3.480832] sdhci-esdhc-imx 30b50000.usdhc: Got CD GPIO
[    3.542290] mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
[    3.559931] update hantro voltage from 900 mV to 1000 mV
[    3.569791] hantrodec: module inserted. Major = -1
[    3.583993] ledtrig-cpu: registered to indicate activity on CPUs
[    3.596901] caam 30900000.caam: ERA source: CCBVID.
[    3.606095] Can't support > 32 bit dma.
[    3.616330] caam 30900000.caam: device ID = 0x0a16040100000000 (Era 9)
[    3.616330] job rings = 3, qi = 0
[    3.630146] mmc0: new HS400 MMC card at address 0001
[    3.635218] mmcblk0: mmc0:0001 008G30 7.28 GiB
[    3.639736] mmcblk0boot0: mmc0:0001 008G30 partition 1 4.00 MiB
[    3.640389] mmcblk0boot1: mmc0:0001 008G30 partition 2 4.00 MiB
[    3.641046] mmcblk0rpmb: mmc0:0001 008G30 partition 3 4.00 MiB
[    3.643877]  mmcblk0: p1 p2 p3
[    3.690993] Can't support > 32 bit dma.
[    3.701144] caam_jr 30901000.jr0: Entropy delay = 3200
[    3.711144] Failed to run desc  RNG4 SH0 status (0xfffffff5)
[    3.721498] Failed to run desc  RNG4 SH1 status (0xfffffff5)
[    3.731073] caam_jr 30901000.jr0: Entropy delay = 3600
[    3.808260] caam_jr 30901000.jr0: Instantiated RNG4 SH0.
[    3.875888] caam_jr 30901000.jr0: Instantiated RNG4 SH1.
[    3.885534] Can't support > 32 bit dma.
[    3.895537] Can't support > 32 bit dma.
[    3.922762] caam algorithms registered in /proc/crypto
[    3.937040] caam_jr 30901000.jr0: registering rng-caam
[    3.946264] caam 30900000.caam: caam pkc algorithms registered in /proc/crypto
[    3.958415] platform caam_sm: blkkey_ex: 2 keystore units available
[    3.974246] caam-snvs 30370000.caam-snvs: can't get snvs clock
[    3.983780] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    3.997236] usbcore: registered new interface driver usbhid
[    4.006499] usbhid: USB HID core driver
[    4.028049] rt5645: Raising HP charge pump threshold to prevent jack event mis-detects.
[    4.039895] 2-001a supply avdd not found, using dummy regulator
[    4.049730] 2-001a supply cpvdd not found, using dummy regulator
[    4.087866] edgetpu-audio-card sound-rt5645: clock set to 24576000
[    4.108827] edgetpu-audio-card sound-rt5645: rt5645-aif1 <-> 308b0000.sai mapping ok
[    4.194181] input: edgetpu-audio-card Headphone Jack as /devices/platform/sound-rt5645/sound/card0/input1
[    4.209574] NET: Registered protocol family 26
[    4.218270] NET: Registered protocol family 17
[    4.226807] can: controller area network core (rev 20120528 abi 9)
[    4.237112] NET: Registered protocol family 29
[    4.245620] can: raw protocol (rev 20120528)
[    4.253840] can: broadcast manager protocol (rev 20161123 t)
[    4.263479] can: netlink gateway (rev 20130117) max_hops=1
[    4.273291] Bluetooth: RFCOMM TTY layer initialized
[    4.282105] Bluetooth: RFCOMM socket layer initialized
[    4.291086] Bluetooth: RFCOMM ver 1.11
[    4.298653] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.307743] Bluetooth: BNEP filters: protocol multicast
[    4.316755] Bluetooth: BNEP socket layer initialized
[    4.325399] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.335076] Bluetooth: HIDP socket layer initialized
[    4.343773] 9pnet: Installing 9P2000 support
[    4.351803] Key type dns_resolver registered
[    4.361356] registered taskstats version 1
[    4.382834] failed to disable 800MHz OPP!
[    4.390621] failed to disable 1.3GHz OPP!
[    4.400268] cpu cpu0: registered imx8mq-cpufreq
[    4.408006] imx-pcie 33800000.pcie: no reserved region node.
[    4.416192] 33800000.pcie supply epdev_on not found, using dummy regulator
[    4.425900] OF: PCI: host bridge /pcie@0x33800000 ranges:
[    4.433827] OF: PCI:   No bus range found for /pcie@0x33800000, using [bus 00-ff]
[    4.443911] OF: PCI:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    4.452457] OF: PCI:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    4.461855] imx-pcie 33800000.pcie: pcie phy pll is locked.
[    4.523457] imx-pcie 33800000.pcie: Link: Gen2 disabled
[    4.531303] imx-pcie 33800000.pcie: Link up, Gen1
[    4.539764] imx-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[    4.548522] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.556602] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    4.565288] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]
[    4.584820] pci 0000:00:00.0: BAR 14: assigned [mem 0x18000000-0x181fffff]
[    4.599111] pci 0000:00:00.0: BAR 0: assigned [mem 0x18200000-0x182fffff]
[    4.613194] pci 0000:00:00.0: BAR 6: assigned [mem 0x18300000-0x1830ffff pref]
[    4.627587] pci 0000:01:00.0: BAR 0: assigned [mem 0x18000000-0x181fffff 64bit]
[    4.641839] pci 0000:00:00.0: PCI bridge to [bus 01]
[    4.652469] pci 0000:00:00.0:   bridge window [mem 0x18000000-0x181fffff]
[    4.661557] pci 0000:00:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    4.672437] pci 0000:01:00.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    4.683367] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    4.692573] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    4.701887] imx-pcie 33c00000.pcie: no reserved region node.
[    4.709878] 33c00000.pcie supply epdev_on not found, using dummy regulator
[    4.719236] OF: PCI: host bridge /pcie@0x33c00000 ranges:
[    4.726969] OF: PCI:   No bus range found for /pcie@0x33c00000, using [bus 00-ff]
[    4.736788] OF: PCI:    IO 0x27f80000..0x27f8ffff -> 0x00000000
[    4.745080] OF: PCI:   MEM 0x20000000..0x27efffff -> 0x20000000
[    4.754119] imx-pcie 33c00000.pcie: pcie phy pll is locked.
[    4.817551] imx-pcie 33c00000.pcie: Link up, Gen2
[    4.825151] imx-pcie 33c00000.pcie: PCI host bridge to bus 0001:00
[    4.833647] pci_bus 0001:00: root bus resource [bus 00-ff]
[    4.841515] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    4.852871] pci_bus 0001:00: root bus resource [mem 0x20000000-0x27efffff]
[    4.873288] pci 0001:00:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    4.882532] pci 0001:00:00.0: BAR 15: assigned [mem 0x20100000-0x202fffff pref]
[    4.892240] pci 0001:00:00.0: BAR 6: assigned [mem 0x20300000-0x2030ffff pref]
[    4.901923] pci 0001:01:00.0: BAR 2: assigned [mem 0x20100000-0x201fffff 64bit pref]
[    4.912095] pci 0001:01:00.0: BAR 0: assigned [mem 0x20200000-0x20203fff 64bit pref]
[    4.922291] pci 0001:00:00.0: PCI bridge to [bus 01]
[    4.929647] pci 0001:00:00.0:   bridge window [mem 0x20100000-0x202fffff pref]
[    4.939362] pci 0001:00:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    4.950308] pci 0001:01:00.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    4.961389] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    4.970744] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    4.980003] apex 0001:01:00.0: enabling device (0000 -> 0002)
[    4.989064] Can't support > 32 bit dma.
[    4.995286] Can't support > 32 bit dma.
[    5.005496] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
[    5.018171] VSD_3V3: disabling
[    5.026140] buck3: disabling
[    5.034418] dhd_module_init in
[    5.040201] dhd_module_init out
[    5.045813] ALSA device list:
[    5.051348]   #0: edgetpu-audio-card
[    5.067153] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    5.079061] VFS: Mounted root (ext4 filesystem) on device 179:3.
[    5.091011] devtmpfs: mounted
[    5.098175] Freeing unused kernel memory: 1088K
[    5.186083] systemd[1]: System time before build time, advancing clock.
[    5.215790] NET: Registered protocol family 10
[    5.230512] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.253956] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    5.280903] systemd[1]: Detected architecture arm64.
[    5.308041] systemd[1]: No hostname configured.
[    5.315290] systemd[1]: Set hostname to <localhost>.
[    5.478438] systemd[1]: Created slice System Slice.
[    5.491849] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    5.503825] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.518823] systemd[1]: Mounting POSIX Message Queue File System...
[    5.531202] systemd[1]: Reached target Swap.
[    5.541519] systemd[1]: Listening on udev Kernel Socket.
[    5.608471] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    5.760462] systemd-journald[1737]: Received request to flush runtime journal from PID 1
[    6.031725] ina2xx 1-0040: error configuring the device: -6
[    6.041146] ina2xx 1-0041: error configuring the device: -6
[    6.090690] galcore: loading out-of-tree module taints kernel.
[    6.111904] galcore: clk_get 2d core clock failed, disable 2d/vg!
[    6.120926] Galcore version 6.2.4.163672
[    6.744905] EXT4-fs (mmcblk0p3): resizing filesystem from 1048576 to 1869824 blocks
[    6.940371] EXT4-fs (mmcblk0p3): resized filesystem to 1869824
[   11.640487] random: crng init done
[   38.735527] systemd[1]: apt-daily.timer: Adding 1h 11min 17.588760s random time.
[   38.917176] systemd[1]: apt-daily.timer: Adding 6h 6min 6.417496s random time.
[   39.040005] systemd[1]: apt-daily.timer: Adding 2h 5min 4.920291s random time.
[   39.196699] systemd[1]: apt-daily.timer: Adding 9h 18min 24.930115s random time.
[   39.364853] systemd[1]: apt-daily.timer: Adding 2h 48.750969s random time.
[   39.485594] systemd[1]: apt-daily.timer: Adding 3h 36min 27.080514s random time.
[   39.616070] systemd[1]: apt-daily.timer: Adding 11h 19min 26.314027s random time.
[   43.288182] systemd[1]: apt-daily.timer: Adding 10h 8min 30.583611s random time.
[   43.460915] systemd[1]: apt-daily.timer: Adding 7h 58min 56.461323s random time.
[   44.129411] systemd[1]: apt-daily.timer: Adding 7h 21min 44.575029s random time.
[   44.297622] systemd[1]: apt-daily.timer: Adding 11h 32min 25.452887s random time.
[   44.413141] systemd[1]: apt-daily.timer: Adding 10h 46min 32.082870s random time.
[   44.598242] systemd[1]: apt-daily.timer: Adding 3h 40min 53.224928s random time.
[   44.787659] systemd[1]: apt-daily.timer: Adding 6h 32min 16.722382s random time.
[   44.927607] systemd[1]: apt-daily.timer: Adding 1h 9min 59.197284s random time.
[   45.910857] fwpath_changed_handler : new_mode : /lib/firmware
[   45.910857] , present_mode :
[   45.928711] kickstart_driver: load: 1 wlan_hdd_inited: 0, mode_change: 1 caller: fwpath_changed_handler
[   45.940945] wlan: loading driver v4.5.23.1
[   45.948977] hif_pci_probe:, con_mode= 0x0
[   45.948986] PCI device id is 003e :003e
[   45.949007] hif_pci 0000:01:00.0: BAR 0: assigned [mem 0x18000000-0x181fffff 64bit]
[   45.949138] hif_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   45.950351]
[   45.950351]  hif_pci_configure : num_desired MSI set to 1
[   45.954682] using random self ethernet address
[   45.954685] using random host ethernet address
[   45.980374] hif_pci_probe: ramdump base 0xffff800024600000 size 2095136
[   45.994091] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   46.328706] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   46.337867] Generic PHY 30be0000.etherne:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=30be0000.etherne:00, irq=-1)
[   46.349854] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   46.720474] +HWT
[   46.733158] -HWT
[   46.735259] HTC Service:0x0300 ep:1 TX flow control disabled
[   46.748207] HTT: full reorder offload enabled
[   46.829187] Pkt log is disabled
[   46.832356] target uses HTT version 3.50; host uses 3.28
[   46.848412] Host SW:4.5.23.1, FW:2.0.1.1048, HW:QCA6174_REV3_2
[   46.861211] ol_pktlog_init: pktlogmod_init successfull
[   46.868279] wlan: driver loaded in 924000
[   46.880430] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   46.886784] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   46.986640] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   47.011187] usb0: HOST MAC 22:a7:06:35:e9:f9
[   47.015726] usb0: MAC 82:e9:d8:60:a4:42
[   47.491103] configfs-gadget gadget: high-speed config #1: c
[   50.341371] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   50.347577] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   50.356931] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   50.371702] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

Mendel GNU/Linux (chef) yellow-rabbit ttymxc0

yellow-rabbit login:
```

</div></details>


## 【ログイン】
FLASHが正常に行われ、起動に成功するとSerial Consoleには以下のように表示されます。

```
Mendel GNU/Linux (chef) yellow-rabbit ttymxc0

yellow-rabbit login:
```
ここでは `ユーザ名：mendel` 、 `パスワード：mendel` でログインすることが可能です。
このあとは通常のLinux操作が可能になります。


## 【Wifi設定 その1 (失敗)】
とにかくPCにつながっているケーブルを外したいので、DevBoardをWifiに接続します。

公式手順に沿ってSerial Consoleでログインした状態で、以下のコマンドを実行します。

```bash
nmtui
```

下記の画面が表示されるので、「Activate a connection」から接続したいSSIDを選択します。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/8d005563-2c31-9ff2-addf-d716a619a0a1.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/cd6ecbb7-892d-5fc7-4ade-6e5a9595d80f.png)

が、私の環境では対象となるSSIDが表示されませんでしたので、次に記すコマンドラインからの接続を試みました。

## 【Wifi設定 その2 (成功)】
私の環境ではSSIDがステルスになっているので、コマンドラインから直接SSIDを指定して接続を試みます。
まずはSSIDのrescanを行ってみます。

```bash:wifi確認
sudo nmcli device wifi rescan
sudo nmcli device wifi list
```

いつもなら大量に表示されるの周囲のSSIDがほとんど表示されません。
ダメもとで接続を試みます。

```bash:Wifi接続
sudo nmcli device wifi connect <YOUR SSID> password <password>
```

```bash:Wifi接続(失敗)
Error: No network with SSID '<YOUR SSID>' found.
```

やっぱりダメでした…
Jetson Nanoはこれでうまくいったんですがね。

```bash:device確認
$ nmcli d status
DEVICE  TYPE      STATE         CONNECTION
usb0    ethernet  connected     usb0
wlan0   wifi      disconnected  --
eth0    ethernet  unavailable   --
lo      loopback  unmanaged     --
p2p0    wifi      unmanaged     --
```

Wifiアダプタは認識しているようです。

手動で接続設定を追加して、Wifiへの接続を試みます。
`<YOUR SSID>` と `<password>` は環境に合わせて変更してください。

```bash:wifi設定の追加
# wifi設定の追加
$ sudo nmcli c add type wifi con-name <YOUR SSID> ifname wlan0 ssid <YOUR SSID>
Connection '<YOUR SSID>' (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) successfully added.
$ sudo nmcli con modify <YOUR SSID> wifi-sec.key-mgmt wpa-psk
$ sudo nmcli con modify <YOUR SSID> wifi-sec.psk <password>
```
```bash:wifiの接続
# wifiの接続
$ sudo nmcli con up <YOUR SSID>
[ 6490.897151] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
```

これでネットワークに繋がりました。

## 【ssh接続】
ネットワークに繋がったので、これでSerial Consoleからケーブルを抜いて快適なDevBoardライフが送れるはずです。
早速 `ip a` でDevBoardのIPを確認して、Wifi越しにsshで接続してみます。

```bash:ssh接続
ssh mendel@192.168.xx.yy
```
```bash:ssh接続結果
mendel@192.168.xx.yy: Permission denied (publickey).
```
公開キーエラーで弾かれてしまいました。
DevBoardのsshはパスワード認証を許可していないようです。
公開キーと秘密キー作れば良いのですが、手っ取り早く接続するためにパスワード認証を許可します。

再度Serial Consoleに接続して、sshdの設定を変更します。

```bash:sshdの設定変更
sudo vi /etc/ssh/sshd_config
```

```bash:/etc/ssh/sshd_config
PasswordAuthentication no
↓↓↓
PasswordAuthentication yes
```

```bash:sshdの再起動
sudo service sshd restart
```

```txt:ssh接続結果
ssh mendel@192.168.xx.yy

mendel@192.168.xx.yy's password:
Linux yellow-rabbit 4.9.51-imx #1 SMP PREEMPT Fri Apr 5 00:17:46 UTC 2019 aarch64

The programs included with the Mendel GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Mendel GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Aug 25 06:45:51 2019
Linux yellow-rabbit 4.9.51-imx #1 SMP PREEMPT Fri Apr 5 00:17:46 UTC 2019 aarch64

The programs included with the Mendel GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Mendel GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Aug 25 06:45:51 2019
mendel@yellow-rabbit:~$
```

接続に成功しました。
デフォルトユーザとパスワードは早めに変えておいたほうが良いでしょう。

とにかく、これでSerial Consoleを切り離せます。


## 【システムアップデート】
ネットワークに繋がったので最後にシステムアップデートを行います。
お決まりのaptコマンドを実行します。

```bash:システムアップデート
sudo apt update
sudo apt upgrade
```

公式手順に従ってMendel softwareもアップデートしておきます。

```bash:Mendel_softwareアップデート
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
sudo apt update
sudo apt dist-upgrade
```

空き容量を確認します。

```bash:空き容量確認
df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.0G  1.2G  5.5G  19% /
devtmpfs        332M     0  332M   0% /dev
tmpfs           492M     0  492M   0% /dev/shm
tmpfs           492M   17M  476M   4% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           492M     0  492M   0% /sys/fs/cgroup
tmpfs           492M  452K  492M   1% /var/log
/dev/mmcblk0p1  124M   29M   89M  25% /boot
tmpfs            99M  4.6M   94M   5% /run/user/1000
```

7GBのうち5.5GB空いています。
もっとカツカツかと思いましたが意外に空いてます。
エッジデバイスとして推論のみに使うだけなら余裕がありそうです。
SDカードを追加すれば、ある程度データも蓄積できるかな。


## 【TPUデバイスの確認】
```bash:TPUデバイスの確認
python3 -c "from edgetpu.basic import edgetpu_utils;print(edgetpu_utils.ListEdgeTpuPaths(edgetpu_utils.EDGE_TPU_STATE_NONE));"
```

```bash:結果
('/dev/apex_0',)
```

すでにTPUを使えるように環境になっているようで、ちゃんと結果が返ってきました。
TPUデバイスは `/dev/apex_0` として認識しているようです。
USB Acceleratorleratorと組み合わせてMulti TPUをやってみるつもりです。


## 【デモプログラムを動かす】
インストール済みのデモプログラム「Edge TPU Performance Demo」を動かします。
画面に表示する場合とHTTP越しにストリーミングする2通りのパターンが実行できます。

```bash:
# 画面出力
edgetpu_demo --device

# ストリーミング
edgetpu_demo --stream
```

今回はHeadlessセットアップのため、画面表示を行えませんのでストリーミングを実行してみました。
Webブラウザから `<DevboradのIP>:4664` にアクセスすると、下記画像のように表示されます。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/195a7cab-ae5f-c4be-6fd0-c7e98f41f0de.png)
なお、下部画像部分がリアルタイムに表示されます。

## 【最後に】
とりあえず使えるようにはなりました。
基本的にHeadlessでセットアップできるようになっているので非常に私好みです。
というか、HDMIにTVを接続すると何が表示されるのでしょうか?

一点気になるのは現時点ではファンが回らず、何もしていないのにヒートシンクがかなり熱を持っています。
システムイメージを書き込む前はウルサイぐらいの勢いで回っていたのですが…
負荷をかければちゃんと回ってくれるのでしょうか?


ちなみに、購入については以下より行いました。
[【Coral Dev Board - TELEC Version - seeed】](https://www.seeedstudio.com/Coral-Dev-Board-p-2901.html)

技適マークを虫眼鏡まで使って必死で探しましたが見つからず。
まさかヒートシンクに付いているとは…
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/454012/d8cff2ea-f91b-9be4-d745-cecb2cdda034.png)


なお、一点注意点があります。
本体149.99USDに対してshippingが17.65USDかかります。
さらに関税700円に対してDHLの支払い代行手数料が1080円(!?)かかりました。
結局2万近い出費となり、Jetson Nanoが気楽に購入できるようになった今、値段的にも性能的にもちょっと微妙な感じです…


## 【付録：インストール済みのモジュール】

```bash:dpkg_-l
sudo dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-====================================================================
ii  adduser                         3.115                all                  add and remove users and groups
ii  adwaita-icon-theme              3.22.0-1+deb9u1      all                  default icon theme of GNOME
ii  alsa-utils                      1.1.3-1              arm64                Utilities for configuring and using ALSA
ii  apt                             1.4.9                arm64                commandline package manager
ii  apt-listchanges                 3.10                 all                  package change history notification tool
ii  apt-transport-https             1.4.9                arm64                https download transport for APT
ii  apt-utils                       1.4.9                arm64                package management related utility programs
ii  aptitude                        0.8.7-1              arm64                terminal-based package manager
ii  aptitude-common                 0.8.7-1              all                  architecture independent files for the aptitude package manager
ii  avahi-daemon                    0.6.32-2             arm64                Avahi mDNS/DNS-SD daemon
ii  base-files                      9.9+mendel6          arm64                Mendel base system miscellaneous files
ii  base-passwd                     3.5.43               arm64                Debian base system master password and group files
ii  bash                            4.4-5                arm64                GNU Bourne Again SHell
ii  bash-completion                 1:2.1-4.3            all                  programmable completion for the bash shell
ii  bind9-host                      1:9.10.3.dfsg.P4-12. arm64                Version of 'host' bundled with BIND 9.X
ii  binutils                        2.28-5               arm64                GNU assembler, linker and binary utilities
ii  bluetooth                       5.50+imx-mendel2     all                  Bluetooth support (metapackage)
ii  bluez                           5.50+imx-mendel2     arm64                Bluetooth tools and daemons
ii  bsdmainutils                    9.0.12+nmu1          arm64                collection of more utilities from FreeBSD
ii  bsdutils                        1:2.29.2-1+deb9u1    arm64                basic utilities from 4.4BSD-Lite
ii  build-essential                 12.3                 arm64                Informational list of build-essential packages
ii  bzip2                           1.0.6-8.1            arm64                high-quality block-sorting file compressor - utilities
ii  ca-certificates                 20161130+nmu1+deb9u1 all                  Common CA certificates
ii  coreutils                       8.26-3               arm64                GNU core utilities
ii  cpio                            2.11+dfsg-6          arm64                GNU cpio -- a program to manage archives of files
ii  cpp                             4:6.3.0-4            arm64                GNU C preprocessor (cpp)
ii  cpp-6                           6.3.0-18+deb9u1      arm64                GNU C preprocessor
ii  cron                            3.0pl1-128+deb9u1    arm64                process scheduling daemon
ii  curl                            7.52.1-5+deb9u9      arm64                command line tool for transferring data with URL syntax
ii  dash                            0.5.8-2.4            arm64                POSIX-compliant shell
ii  dbus                            1.10.26-0+deb9u1     arm64                simple interprocess messaging system (daemon and utilities)
ii  dconf-gsettings-backend:arm64   0.26.0-2+b1          arm64                simple configuration storage system - GSettings back-end
ii  dconf-service                   0.26.0-2+b1          arm64                simple configuration storage system - D-Bus service
ii  debconf                         1.5.61               all                  Debian configuration management system
ii  debconf-i18n                    1.5.61               all                  full internationalization support for debconf
ii  debian-archive-keyring          2017.5               all                  GnuPG archive keys of the Debian archive
ii  debian-faq                      8.1                  all                  Debian Frequently Asked Questions
ii  debianutils                     4.8.1.1              arm64                Miscellaneous utilities specific to Debian
ii  dh-python                       2.20170125           all                  Debian helper tools for packaging Python libraries and applications
ii  dialog                          1.3-20160828-2       arm64                Displays user-friendly dialog boxes from shell scripts
ii  diffutils                       1:3.5-3              arm64                File comparison utilities
ii  distro-info-data                0.36                 all                  information about the distributions' releases (data files)
ii  dmidecode                       3.0-4                arm64                SMBIOS/DMI table decoder
ii  dmsetup                         2:1.02.137-2         arm64                Linux Kernel Device Mapper userspace library
ii  dnsmasq                         2.76-5+deb9u2        all                  Small caching DNS proxy and DHCP/TFTP server
ii  dnsmasq-base                    2.76-5+deb9u2        arm64                Small caching DNS proxy and DHCP/TFTP server
ii  doc-debian                      6.4                  all                  Debian Project documentation and other documents
ii  dpkg                            1.18.25              arm64                Debian package management system
ii  dpkg-dev                        1.18.25              all                  Debian package development tools
ii  e2fslibs:arm64                  1.43.4-2             arm64                ext2/ext3/ext4 file system libraries
ii  e2fsprogs                       1.43.4-2             arm64                ext2/ext3/ext4 file system utilities
ii  edgetpudemo                     2-1                  all                  Edge TPU demo script
ii  enterprise-core                 1-0                  arm64                Metapackage for core Mendel packages for Enterprise
ii  ethtool                         1:4.8-1+b1           arm64                display or change Ethernet device settings
ii  file                            1:5.30-1+deb9u2      arm64                Recognize the type of data in a file using "magic" numbers
ii  findutils                       4.6.0+git+20161106-2 arm64                utilities for finding files--find, xargs
ii  firmware-atheros                20161130-5           all                  Binary firmware for Atheros wireless cards
ii  fontconfig                      2.11.0-6.7+b1        arm64                generic font configuration library - support binaries
ii  fontconfig-config               2.11.0-6.7           all                  generic font configuration library - configuration
ii  fonts-dejavu-core               2.37-1               all                  Vera font family derivate with additional characters
ii  g++                             4:6.3.0-4            arm64                GNU C++ compiler
ii  g++-6                           6.3.0-18+deb9u1      arm64                GNU C++ compiler
ii  gcc                             4:6.3.0-4            arm64                GNU C compiler
ii  gcc-6                           6.3.0-18+deb9u1      arm64                GNU C compiler
ii  gcc-6-base:arm64                6.3.0-18+deb9u1      arm64                GCC, the GNU Compiler Collection (base package)
ii  gettext-base                    0.19.8.1-2           arm64                GNU Internationalization utilities for the base system
ii  gir1.2-atk-1.0:arm64            2.22.0-1             arm64                ATK accessibility toolkit (GObject introspection)
ii  gir1.2-freedesktop:arm64        1.50.0-1+b1          arm64                Introspection data for some FreeDesktop components
ii  gir1.2-gdkpixbuf-2.0:arm64      2.36.5-2+deb9u2      arm64                GDK Pixbuf library - GObject-Introspection
ii  gir1.2-glib-2.0:arm64           1.50.0-1+b1          arm64                Introspection data for GLib, GObject, Gio and GModule
ii  gir1.2-gst-plugins-base-1.0     1.10.4-1             arm64                GObject introspection data for the GStreamer Plugins Base library
ii  gir1.2-gstreamer-1.0            1.10.4-1             arm64                GObject introspection data for the GStreamer library
ii  gir1.2-gtk-3.0:arm64            3.22.11-1            arm64                GTK+ graphical user interface library -- gir bindings
ii  gir1.2-packagekitglib-1.0       1.1.5-2+deb9u1       arm64                GObject introspection data for the PackageKit GLib library
ii  gir1.2-pango-1.0:arm64          1.40.5-1             arm64                Layout and rendering of internationalized text - gir bindings
ii  glib-networking:arm64           2.50.0-1+b1          arm64                network-related giomodules for GLib
ii  glib-networking-common          2.50.0-1             all                  network-related giomodules for GLib - data files
ii  glib-networking-services        2.50.0-1+b1          arm64                network-related giomodules for GLib - D-Bus services
ii  gnupg                           2.1.18-8~deb9u4      arm64                GNU privacy guard - a free PGP replacement
ii  gnupg-agent                     2.1.18-8~deb9u4      arm64                GNU privacy guard - cryptographic agent
ii  gpgv                            2.1.18-8~deb9u4      arm64                GNU privacy guard - signature verification tool
ii  grep                            2.27-2               arm64                GNU grep, egrep and fgrep
ii  groff-base                      1.22.3-9             arm64                GNU troff text-formatting system (base system components)
ii  gsettings-desktop-schemas       3.22.0-1             all                  GSettings desktop-wide schemas
ii  gstreamer1.0-plugins-bad:arm64  1.12.2+imx-5         arm64                GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:arm64 1.12.2+imx-2         arm64                GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:arm64 1.12.2+imx-4         arm64                GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:arm64 1.10.4-1             arm64                GStreamer plugins from the "ugly" set
ii  gtk-update-icon-cache           3.22.11-1            arm64                icon theme caching utility
ii  gzip                            1.6-5+b1             arm64                GNU compression utilities
ii  hdparm                          9.51+ds-1+deb9u1     arm64                tune hard disk parameters for high performance
ii  hicolor-icon-theme              0.15-1               all                  default fallback theme for FreeDesktop.org icon themes
ii  hostname                        3.18+b1              arm64                utility to set/show the host name or domain name
ii  i2c-tools                       3.1.2-3              arm64                heterogeneous set of I2C tools for Linux
ii  ifupdown                        0.8.19               arm64                high level tools to configure network interfaces
ii  imx-board-audio                 4-1                  all                  Audio and routing settings for the Enterprise Board
ii  imx-board-tools                 5-1                  all                  Miscellaneous tools to support the AIY Board
ii  imx-board-wlan                  3-1                  all                  Additional configuration for Enterprise Board wireless networking
ii  imx-firmware                    2-2                  all                  Binary firmwares required for i.MX8
ii  imx-gpu-viv                     6.2.4-4              arm64                Userspace libraries to support Vivante GPU.
ii  imx-gst1.0-plugin               4.3.4-4              arm64                IMX GStreamer plugin.
ii  imx-vpu-hantro                  1.6.0-3              arm64                IMX Hantro VPU support libraries.
ii  imx-vpuwrap                     4.3.4-mendel3        arm64                IMX VPU support libraries.
ii  init                            1.48                 arm64                metapackage ensuring an init system is installed
ii  init-system-helpers             1.48                 all                  helper tools for all init systems
ii  iproute2                        4.9.0-1+deb9u1       arm64                networking and traffic control tools
ii  iptables                        1.6.0+snapshot201611 arm64                administration tools for packet filtering and NAT
ii  iputils-ping                    3:20161105-1         arm64                Tools to test the reachability of network hosts
ii  isc-dhcp-client                 4.3.5-3+deb9u1       arm64                DHCP client for automatically obtaining an IP address
ii  isc-dhcp-common                 4.3.5-3+deb9u1       arm64                common manpages relevant to all of the isc-dhcp packages
ii  iso-codes                       3.75-1               all                  ISO language, territory, currency, script codes and their translatio
ii  kbd                             2.0.3-2+b1           arm64                Linux console font and keytable utilities
ii  kmod                            23-2                 arm64                tools for managing Linux kernel modules
ii  krb5-locales                    1.15-1+deb9u1        all                  internationalization support for MIT Kerberos
ii  less                            481-2.1              arm64                pager program similar to more
ii  liba52-0.7.4:arm64              0.7.4-19             arm64                library for decoding ATSC A/52 streams
ii  libaa1:arm64                    1.4p5-44+b1          arm64                ASCII art library
ii  libacl1:arm64                   2.2.52-3+b1          arm64                Access control list shared library
ii  libapparmor1:arm64              2.11.0-3+deb9u2      arm64                changehat AppArmor library
ii  libapt-inst2.0:arm64            1.4.9                arm64                deb package format runtime library
ii  libapt-pkg5.0:arm64             1.4.9                arm64                package management runtime library
ii  libasan3:arm64                  6.3.0-18+deb9u1      arm64                AddressSanitizer -- a fast memory error detector
ii  libasound2:arm64                1.1.3-5              arm64                shared library for ALSA applications
ii  libasound2-data                 1.1.3-5              all                  Configuration files and profiles for ALSA drivers
ii  libasound2-plugins:arm64        1.1.1-1              arm64                ALSA library additional plugins
ii  libass5:arm64                   1:0.13.4-2           arm64                library for SSA/ASS subtitles rendering
ii  libassuan0:arm64                2.4.3-2              arm64                IPC library for the GnuPG components
ii  libasyncns0:arm64               0.8-6                arm64                Asynchronous name service query library
ii  libatk-bridge2.0-0:arm64        2.22.0-2             arm64                AT-SPI 2 toolkit bridge - shared library
ii  libatk1.0-0:arm64               2.22.0-1             arm64                ATK accessibility toolkit
ii  libatk1.0-data                  2.22.0-1             all                  Common files for the ATK accessibility toolkit
ii  libatomic1:arm64                6.3.0-18+deb9u1      arm64                support library providing __atomic built-in functions
ii  libatspi2.0-0:arm64             2.22.0-6+deb9u1      arm64                Assistive Technology Service Provider Interface - shared library
ii  libattr1:arm64                  1:2.4.47-2+b2        arm64                Extended attribute shared library
ii  libaudit-common                 1:2.6.7-2            all                  Dynamic library for security auditing - common files
ii  libaudit1:arm64                 1:2.6.7-2            arm64                Dynamic library for security auditing
ii  libavahi-client3:arm64          0.6.32-2             arm64                Avahi client library
ii  libavahi-common-data:arm64      0.6.32-2             arm64                Avahi common data files
ii  libavahi-common3:arm64          0.6.32-2             arm64                Avahi common library
ii  libavahi-core7:arm64            0.6.32-2             arm64                Avahi's embeddable mDNS/DNS-SD library
ii  libavc1394-0:arm64              0.5.4-4+b1           arm64                control IEEE 1394 audio/video devices
ii  libavcodec57:arm64              7:3.2.12-1~deb9u1    arm64                FFmpeg library with de/encoders for audio/video codecs - runtime fil
ii  libavresample3:arm64            7:3.2.12-1~deb9u1    arm64                FFmpeg compatibility library for resampling - runtime files
ii  libavutil55:arm64               7:3.2.12-1~deb9u1    arm64                FFmpeg library with functions for simplifying programming - runtime
ii  libbind9-140:arm64              1:9.10.3.dfsg.P4-12. arm64                BIND9 Shared Library used by BIND
ii  libblas-common                  3.7.0-2              arm64                Dependency package for all BLAS implementations
ii  libblas3                        3.7.0-2              arm64                Basic Linear Algebra Reference implementations, shared library
ii  libblkid1:arm64                 2.29.2-1+deb9u1      arm64                block device ID library
ii  libbluetooth3:arm64             5.50+imx-mendel2     arm64                Library to use the BlueZ Linux Bluetooth stack
ii  libboost-filesystem1.62.0:arm64 1.62.0+dfsg-4        arm64                filesystem operations (portable paths, iteration over directories, e
ii  libboost-iostreams1.62.0:arm64  1.62.0+dfsg-4        arm64                Boost.Iostreams Library
ii  libboost-system1.62.0:arm64     1.62.0+dfsg-4        arm64                Operating system (e.g. diagnostics support) library
ii  libbs2b0:arm64                  3.1.0+dfsg-2.2       arm64                Bauer stereophonic-to-binaural DSP library
ii  libbsd0:arm64                   0.8.3-1              arm64                utility functions from BSD systems - shared library
ii  libbz2-1.0:arm64                1.0.6-8.1            arm64                high-quality block-sorting file compressor library - runtime
ii  libc++1:arm64                   3.5-2                arm64                LLVM C++ Standard library
ii  libc++abi1:arm64                3.5-2                arm64                LLVM low level support for a standard C++ library
ii  libc-bin                        2.24-11+deb9u4       arm64                GNU C Library: Binaries
ii  libc-dev-bin                    2.24-11+deb9u4       arm64                GNU C Library: Development binaries
ii  libc-l10n                       2.24-11+deb9u4       all                  GNU C Library: localization files
ii  libc6:arm64                     2.24-11+deb9u4       arm64                GNU C Library: Shared libraries
ii  libc6-dev:arm64                 2.24-11+deb9u4       arm64                GNU C Library: Development Libraries and Header Files
ii  libcaca0:arm64                  0.99.beta19-2+b2     arm64                colour ASCII art library
ii  libcairo-gobject2:arm64         1.14.8-1             arm64                Cairo 2D vector graphics library (GObject library)
ii  libcairo2:arm64                 1.14.8-1             arm64                Cairo 2D vector graphics library
ii  libcap-ng0:arm64                0.7.7-3+b1           arm64                An alternate POSIX capabilities library
ii  libcap2:arm64                   1:2.25-1             arm64                POSIX 1003.1e capabilities (library)
ii  libcap2-bin                     1:2.25-1             arm64                POSIX 1003.1e capabilities (utilities)
ii  libcc1-0:arm64                  6.3.0-18+deb9u1      arm64                GCC cc1 plugin for GDB
ii  libcdio13:arm64                 0.83-4.3+b1          arm64                library to read and control CD-ROM
ii  libcdparanoia0:arm64            3.10.2+debian-11     arm64                audio extraction tool for sampling CDs (library)
ii  libchromaprint1:arm64           1.4.2-1              arm64                audio fingerprint library
ii  libclass-isa-perl               0.36-5               all                  report the search path for a class's ISA tree
ii  libcolord2:arm64                1.3.3-2              arm64                system service to manage device colour profiles -- runtime
ii  libcomerr2:arm64                1.43.4-2             arm64                common error description library
ii  libcroco3:arm64                 0.6.11-3             arm64                Cascading Style Sheet (CSS) parsing and manipulation toolkit
ii  libcryptsetup4:arm64            2:1.7.3-4            arm64                disk encryption support - shared library
ii  libcups2:arm64                  2.2.1-8+deb9u3       arm64                Common UNIX Printing System(tm) - Core library
ii  libcurl3:arm64                  7.52.1-5+deb9u9      arm64                easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:arm64           7.52.1-5+deb9u9      arm64                easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcwidget3v5:arm64             0.5.17-4+b1          arm64                high-level terminal interface library for C++ (runtime files)
ii  libdaemon0:arm64                0.14-6               arm64                lightweight C library for daemons - runtime library
ii  libdatrie1:arm64                0.2.10-4+b1          arm64                Double-array trie library
ii  libdb5.3:arm64                  5.3.28-12+deb9u1     arm64                Berkeley v5.3 Database Libraries [runtime]
ii  libdbus-1-3:arm64               1.10.26-0+deb9u1     arm64                simple interprocess messaging system (library)
ii  libdbus-glib-1-2:arm64          0.108-2              arm64                simple interprocess messaging system (GLib-based shared library)
ii  libdc1394-22:arm64              2.2.5-1              arm64                high level programming interface for IEEE 1394 digital cameras
ii  libdca0:arm64                   0.0.5-10             arm64                decoding library for DTS Coherent Acoustics streams
ii  libdconf1:arm64                 0.26.0-2+b1          arm64                simple configuration storage system - runtime library
ii  libde265-0:arm64                1.0.2-2+b2           arm64                Open H.265 video codec implementation
ii  libdebconfclient0:arm64         0.227                arm64                Debian Configuration Management System (C-implementation library)
ii  libdevmapper1.02.1:arm64        2:1.02.137-2         arm64                Linux Kernel Device Mapper userspace library
ii  libdns-export162                1:9.10.3.dfsg.P4-12. arm64                Exported DNS Shared Library
ii  libdns162:arm64                 1:9.10.3.dfsg.P4-12. arm64                DNS Shared Library used by BIND
ii  libdpkg-perl                    1.18.25              all                  Dpkg perl modules
ii  libdrm-vivante:arm64            2.4.84+imx-mendel2   arm64                Vivante libdrm extensions.
ii  libdrm2:arm64                   2.4.74-1             arm64                Userspace interface to kernel DRM services -- runtime
ii  libdv4:arm64                    1.0.0-11             arm64                software library for DV format digital video (runtime lib)
ii  libdvdnav4:arm64                5.0.3-3              arm64                DVD navigation library
ii  libdvdread4:arm64               5.0.3-2              arm64                library for reading DVDs
ii  libdw1:arm64                    0.168-1              arm64                library that provides access to the DWARF debug information
ii  libedgetpu1-std:arm64           11-1                 arm64                Support library for Edge TPU
ii  libedit2:arm64                  3.1-20160903-3       arm64                BSD editline and history libraries
ii  libegl1-mesa:arm64              13.0.6-1+b2          arm64                free implementation of the EGL API -- runtime
ii  libelf1:arm64                   0.168-1              arm64                library to read and write ELF files
ii  libepoxy0:arm64                 1.3.1-2              arm64                OpenGL function pointer management library
ii  libestr0                        0.1.10-2             arm64                Helper functions for handling strings (lib)
ii  libevdev2:arm64                 1.5.6+dfsg-1         arm64                wrapper library for evdev devices
ii  libexpat1:arm64                 2.2.0-2+deb9u1       arm64                XML parsing C library - runtime library
ii  libfaad2:arm64                  2.8.0~cvs20161113-1+ arm64                freeware Advanced Audio Decoder - runtime files
ii  libfastjson4:arm64              0.99.4-1             arm64                fast json library for C
ii  libfdisk1:arm64                 2.29.2-1+deb9u1      arm64                fdisk partitioning library
ii  libffi6:arm64                   3.2.1-6              arm64                Foreign Function Interface library runtime
ii  libfftw3-double3:arm64          3.3.5-3              arm64                Library for computing Fast Fourier Transforms - Double precision
ii  libfftw3-single3:arm64          3.3.5-3              arm64                Library for computing Fast Fourier Transforms - Single precision
ii  libflac8:arm64                  1.3.2-1              arm64                Free Lossless Audio Codec - runtime C library
ii  libflite1:arm64                 2.0.0-release-3+b1   arm64                Small run-time speech synthesis engine - shared libraries
ii  libfluidsynth1:arm64            1.1.6-4              arm64                Real-time MIDI software synthesizer (runtime library)
ii  libfontconfig1:arm64            2.11.0-6.7+b1        arm64                generic font configuration library - runtime
ii  libfontenc1:arm64               1:1.1.3-1+b2         arm64                X11 font encoding library
ii  libfreetype6:arm64              2.6.3-3.2            arm64                FreeType 2 font engine, shared library files
ii  libfribidi0:arm64               0.19.7-1+b1          arm64                Free Implementation of the Unicode BiDi algorithm
ii  libgbm1:arm64                   13.0.6-1+b2          arm64                generic buffer management API -- runtime
ii  libgcc-6-dev:arm64              6.3.0-18+deb9u1      arm64                GCC support library (development files)
ii  libgcc1:arm64                   1:6.3.0-18+deb9u1    arm64                GCC support library
ii  libgcrypt20:arm64               1.7.6-2+deb9u3       arm64                LGPL Crypto library - runtime library
ii  libgdbm3:arm64                  1.8.3-14             arm64                GNU dbm database routines (runtime version)
ii  libgdk-pixbuf2.0-0:arm64        2.36.5-2+deb9u2      arm64                GDK Pixbuf library
ii  libgdk-pixbuf2.0-common         2.36.5-2+deb9u2      all                  GDK Pixbuf library - data files
ii  libgeoip1:arm64                 1.6.9-4              arm64                non-DNS IP-to-country resolver library
ii  libgfortran3:arm64              6.3.0-18+deb9u1      arm64                Runtime library for GNU Fortran applications
ii  libgirepository-1.0-1:arm64     1.50.0-1+b1          arm64                Library for handling GObject introspection data (runtime library)
ii  libgl1-mesa-glx:arm64           13.0.6-1+b2          arm64                free implementation of the OpenGL API -- GLX runtime
ii  libglapi-mesa:arm64             13.0.6-1+b2          arm64                free implementation of the GL API -- shared library
ii  libgles2-mesa:arm64             13.0.6-1+b2          arm64                free implementation of the OpenGL|ES 2.x API -- runtime
ii  libglib2.0-0:arm64              2.50.3-2             arm64                GLib library of C routines
ii  libgme0:arm64                   0.6.0-4              arm64                Playback library for video game music files - shared library
ii  libgmp10:arm64                  2:6.1.2+dfsg-1       arm64                Multiprecision arithmetic library
ii  libgnutls30:arm64               3.5.8-5+deb9u4       arm64                GNU TLS library - main runtime library
ii  libgomp1:arm64                  6.3.0-18+deb9u1      arm64                GCC OpenMP (GOMP) support library
ii  libgpg-error0:arm64             1.26-2               arm64                library for common error values and messages in GnuPG components
ii  libgpm2:arm64                   1.20.4-6.2+b1        arm64                General Purpose Mouse - shared library
ii  libgraphite2-3:arm64            1.3.10-1             arm64                Font rendering engine for Complex Scripts -- library
ii  libgsm1:arm64                   1.0.13-4+b2          arm64                Shared libraries for GSM speech compressor
ii  libgssapi-krb5-2:arm64          1.15-1+deb9u1        arm64                MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libgstreamer-plugins-bad1.0-0:a 1.12.2+imx-5         arm64                GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0: 1.12.2+imx-2         arm64                GStreamer libraries from the "base" set
ii  libgstreamer1.0-0:arm64         1.12.2+imx-2         arm64                Core GStreamer libraries and elements
ii  libgtk-3-0:arm64                3.22.11-1            arm64                GTK+ graphical user interface library
ii  libgtk-3-common                 3.22.11-1            all                  common files for the GTK+ graphical user interface library
ii  libgudev-1.0-0:arm64            230-3                arm64                GObject-based wrapper library for libudev
ii  libharfbuzz0b:arm64             1.4.2-1              arm64                OpenType text shaping engine (shared library)
ii  libhogweed4:arm64               3.3-1+b2             arm64                low level cryptographic library (public-key cryptos)
ii  libice6:arm64                   2:1.0.9-2            arm64                X11 Inter-Client Exchange library
ii  libicu57:arm64                  57.1-6+deb9u2        arm64                International Components for Unicode
ii  libidn11:arm64                  1.33-1               arm64                GNU Libidn library, implementation of IETF IDN specifications
ii  libidn2-0:arm64                 0.16-1+deb9u1        arm64                Internationalized domain names (IDNA2008) library
ii  libiec61883-0:arm64             1.2.0-2              arm64                partial implementation of IEC 61883 (shared lib)
ii  libilmbase12:arm64              2.2.0-12             arm64                several utility libraries from ILM used by OpenEXR
ii  libinput-bin                    1.6.3-1              arm64                input device management and event handling library - udev quirks
ii  libinput10:arm64                1.6.3-1              arm64                input device management and event handling library - shared library
ii  libip4tc0:arm64                 1.6.0+snapshot201611 arm64                netfilter libip4tc library
ii  libip6tc0:arm64                 1.6.0+snapshot201611 arm64                netfilter libip6tc library
ii  libiptc0:arm64                  1.6.0+snapshot201611 arm64                netfilter libiptc library
ii  libisc-export160                1:9.10.3.dfsg.P4-12. arm64                Exported ISC Shared Library
ii  libisc160:arm64                 1:9.10.3.dfsg.P4-12. arm64                ISC Shared Library used by BIND
ii  libisccc140:arm64               1:9.10.3.dfsg.P4-12. arm64                Command Channel Library used by BIND
ii  libisccfg140:arm64              1:9.10.3.dfsg.P4-12. arm64                Config File Handling Library used by BIND
ii  libisl15:arm64                  0.18-1               arm64                manipulating sets and relations of integer points bounded by linear
ii  libitm1:arm64                   6.3.0-18+deb9u1      arm64                GNU Transactional Memory Library
ii  libiw30:arm64                   30~pre9-12+b1        arm64                Wireless tools - library
ii  libjack-jackd2-0:arm64          1.9.10+20150825git1e arm64                JACK Audio Connection Kit (libraries)
ii  libjansson4:arm64               2.9-1                arm64                C library for encoding, decoding and manipulating JSON data
ii  libjbig0:arm64                  2.1-3.1+b2           arm64                JBIGkit libraries
ii  libjpeg62-turbo:arm64           1:1.5.1-2            arm64                libjpeg-turbo JPEG runtime library
ii  libjson-glib-1.0-0:arm64        1.2.6-1              arm64                GLib JSON manipulation library
ii  libjson-glib-1.0-common         1.2.6-1              all                  GLib JSON manipulation library (common files)
ii  libk5crypto3:arm64              1.15-1+deb9u1        arm64                MIT Kerberos runtime libraries - Crypto Library
ii  libkate1:arm64                  0.4.1-7+b1           arm64                Codec for karaoke and text encapsulation
ii  libkeyutils1:arm64              1.5.9-9              arm64                Linux Key Management Utilities (library)
ii  libkmod2:arm64                  23-2                 arm64                libkmod shared library
ii  libkrb5-3:arm64                 1.15-1+deb9u1        arm64                MIT Kerberos runtime libraries
ii  libkrb5support0:arm64           1.15-1+deb9u1        arm64                MIT Kerberos runtime libraries - Support library
ii  libksba8:arm64                  1.3.5-2              arm64                X.509 and CMS support library
ii  liblapack3                      3.7.0-2              arm64                Library of linear algebra routines 3 - shared version
ii  liblcms2-2:arm64                2.8-4+deb9u1         arm64                Little CMS 2 color management library
ii  libldap-2.4-2:arm64             2.4.44+dfsg-5+deb9u2 arm64                OpenLDAP libraries
ii  libldap-common                  2.4.44+dfsg-5+deb9u2 all                  OpenLDAP common files for libraries
ii  liblocale-gettext-perl          1.07-3+b1            arm64                module using libc functions for internationalization in Perl
ii  liblockfile-bin                 1.14-1+b1            arm64                support binaries for and cli utilities based on liblockfile
ii  liblogging-stdlog0:arm64        1.0.5-2+b2           arm64                easy to use and lightweight logging library
ii  liblognorm5:arm64               2.0.1-1.1+b1         arm64                log normalizing library
ii  libltdl7:arm64                  2.4.6-2              arm64                System independent dlopen wrapper for GNU libtool
ii  liblwres141:arm64               1:9.10.3.dfsg.P4-12. arm64                Lightweight Resolver Library used by BIND
ii  liblz4-1:arm64                  0.0~r131-2+b1        arm64                Fast LZ compression algorithm library - runtime
ii  liblzma5:arm64                  5.2.2-1.2+b1         arm64                XZ-format compression library
ii  libmad0:arm64                   0.15.1b-8+deb9u1     arm64                MPEG audio decoder library
ii  libmagic-mgc                    1:5.30-1+deb9u2      arm64                File type determination library using "magic" numbers (compiled magi
ii  libmagic1:arm64                 1:5.30-1+deb9u2      arm64                Recognize the type of data in a file using "magic" numbers - library
ii  libmm-glib0:arm64               1.6.4-1              arm64                D-Bus service for managing modems - shared libraries
ii  libmms0:arm64                   0.6.4-2              arm64                MMS stream protocol library - shared library
ii  libmnl0:arm64                   1.0.4-2              arm64                minimalistic Netlink communication library
ii  libmodplug1:arm64               1:0.8.8.5-3          arm64                shared libraries for mod music based on ModPlug
ii  libmount1:arm64                 2.29.2-1+deb9u1      arm64                device mounting library
ii  libmp3lame0:arm64               3.99.5+repack1-9+b2  arm64                MP3 encoding library
ii  libmpc3:arm64                   1.0.3-1+b2           arm64                multiple precision complex floating-point library
ii  libmpcdec6:arm64                2:0.1~r495-1+b1      arm64                MusePack decoder - library
ii  libmpdec2:arm64                 2.4.2-1              arm64                library for decimal floating point arithmetic (runtime library)
ii  libmpeg2-4:arm64                0.5.1-7+b2           arm64                MPEG1 and MPEG2 video decoder library
ii  libmpfr4:arm64                  3.1.5-1              arm64                multiple precision floating-point computation
ii  libmpg123-0:arm64               1.23.8-1+b1          arm64                MPEG layer 1/2/3 audio decoder (shared library)
ii  libmtdev1:arm64                 1.1.5-1+b1           arm64                Multitouch Protocol Translation Library - shared library
ii  libncurses5:arm64               6.0+20161126-1+deb9u arm64                shared libraries for terminal handling
ii  libncursesw5:arm64              6.0+20161126-1+deb9u arm64                shared libraries for terminal handling (wide character support)
ii  libndp0:arm64                   1.6-1+b1             arm64                Library for Neighbor Discovery Protocol
ii  libnetfilter-conntrack3:arm64   1.0.6-2              arm64                Netfilter netlink-conntrack library
ii  libnettle6:arm64                3.3-1+b2             arm64                low level cryptographic library (symmetric and one-way cryptos)
ii  libnewt0.52:arm64               0.52.19-1+b1         arm64                Not Erik's Windowing Toolkit - text mode windowing with slang
ii  libnfnetlink0:arm64             1.0.1-3              arm64                Netfilter netlink library
ii  libnghttp2-14:arm64             1.18.1-1             arm64                library implementing HTTP/2 protocol (shared library)
ii  libnl-3-200:arm64               3.2.27-2             arm64                library for dealing with netlink sockets
ii  libnl-genl-3-200:arm64          3.2.27-2             arm64                library for dealing with netlink sockets - generic netlink
ii  libnm0:arm64                    1.6.2-3+deb9u2       arm64                GObject-based client library for NetworkManager
ii  libnpth0:arm64                  1.3-1                arm64                replacement for GNU Pth using system threads
ii  libnss-mdns:arm64               0.10-8               arm64                NSS module for Multicast DNS name resolution
ii  libnuma1:arm64                  2.0.11-2.1           arm64                Libraries for controlling NUMA policy
ii  libofa0:arm64                   0.9.3-15             arm64                library for acoustic fingerprinting
ii  libogg0:arm64                   1.3.2-1              arm64                Ogg bitstream library
ii  libopenal-data                  1:1.17.2-4           all                  Software implementation of the OpenAL audio API (data files)
ii  libopenal1:arm64                1:1.17.2-4+b2        arm64                Software implementation of the OpenAL audio API (shared library)
ii  libopencore-amrnb0:arm64        0.1.3-2.1+b2         arm64                Adaptive Multi Rate speech codec - shared library
ii  libopencore-amrwb0:arm64        0.1.3-2.1+b2         arm64                Adaptive Multi-Rate - Wideband speech codec - shared library
ii  libopenexr22:arm64              2.2.0-11+b1          arm64                runtime files for the OpenEXR image library
ii  libopenjp2-7:arm64              2.1.2-1.1+deb9u3     arm64                JPEG 2000 image compression/decompression library
ii  libopus0:arm64                  1.2~alpha2-1         arm64                Opus codec runtime library
ii  liborc-0.4-0:arm64              1:0.4.26-2           arm64                Library of Optimized Inner Loops Runtime Compiler
ii  libp11-kit0:arm64               0.23.3-2             arm64                library for loading and coordinating access to PKCS#11 modules - run
ii  libpackagekit-glib2-18:arm64    1.1.5-2+deb9u1       arm64                Library for accessing PackageKit using GLib
ii  libpam-modules:arm64            1.1.8-3.6            arm64                Pluggable Authentication Modules for PAM
ii  libpam-modules-bin              1.1.8-3.6            arm64                Pluggable Authentication Modules for PAM - helper binaries
ii  libpam-runtime                  1.1.8-3.6            all                  Runtime support for the PAM library
ii  libpam-systemd:arm64            232-25+deb9u11       arm64                system and service manager - PAM module
ii  libpam0g:arm64                  1.1.8-3.6            arm64                Pluggable Authentication Modules library
ii  libpango-1.0-0:arm64            1.40.5-1             arm64                Layout and rendering of internationalized text
ii  libpangocairo-1.0-0:arm64       1.40.5-1             arm64                Layout and rendering of internationalized text
ii  libpangoft2-1.0-0:arm64         1.40.5-1             arm64                Layout and rendering of internationalized text
ii  libpangoxft-1.0-0:arm64         1.40.5-1             arm64                Layout and rendering of internationalized text
ii  libparted2:arm64                3.2-17               arm64                disk partition manipulator - shared library
ii  libpci3:arm64                   1:3.5.2-1            arm64                Linux PCI Utilities (shared library)
ii  libpcre3:arm64                  2:8.39-3             arm64                Old Perl 5 Compatible Regular Expression Library - runtime files
ii  libpcsclite1:arm64              1.8.20-1             arm64                Middleware to access a smart card using PC/SC (library)
ii  libperl5.24:arm64               5.24.1-3+deb9u5      arm64                shared Perl library
ii  libpipeline1:arm64              1.4.1-2              arm64                pipeline manipulation library
ii  libpixman-1-0:arm64             0.34.0-1             arm64                pixel-manipulation library for X and cairo
ii  libpng16-16:arm64               1.6.28-1             arm64                PNG library - runtime (version 1.6)
ii  libpolkit-agent-1-0:arm64       0.105-18+deb9u1      arm64                PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0:arm64     0.105-18+deb9u1      arm64                PolicyKit backend API
ii  libpolkit-gobject-1-0:arm64     0.105-18+deb9u1      arm64                PolicyKit Authorization API
ii  libpopt0:arm64                  1.16-10+b2           arm64                lib for parsing cmdline parameters
ii  libprocps6:arm64                2:3.3.12-3+deb9u1    arm64                library for accessing process information from /proc
ii  libprotobuf10:arm64             3.0.0-9              arm64                protocol buffers C++ library
ii  libproxy1v5:arm64               0.4.14-2             arm64                automatic proxy configuration management library (shared)
ii  libpsl5:arm64                   0.17.0-3             arm64                Library for Public Suffix List (shared libraries)
ii  libpulse0:arm64                 10.0-1+deb9u1        arm64                PulseAudio client libraries
ii  libpulsedsp:arm64               10.0-1+deb9u1        arm64                PulseAudio OSS pre-load library
ii  libpython-stdlib:arm64          2.7.13-2             arm64                interactive high-level object-oriented language (default python vers
ii  libpython2.7-minimal:arm64      2.7.13-2+deb9u3      arm64                Minimal subset of the Python language (version 2.7)
ii  libpython2.7-stdlib:arm64       2.7.13-2+deb9u3      arm64                Interactive high-level object-oriented language (standard library, v
ii  libpython3-stdlib:arm64         3.5.3-1              arm64                interactive high-level object-oriented language (default python3 ver
ii  libpython3.5-minimal:arm64      3.5.3-1+deb9u1       arm64                Minimal subset of the Python language (version 3.5)
ii  libpython3.5-stdlib:arm64       3.5.3-1+deb9u1       arm64                Interactive high-level object-oriented language (standard library, v
ii  libraw1394-11:arm64             2.1.2-1+b1           arm64                library for direct access to IEEE 1394 bus (aka FireWire)
ii  libreadline7:arm64              7.0-3                arm64                GNU readline and history libraries, run-time libraries
ii  librest-0.7-0:arm64             0.8.0-2              arm64                REST service access library
ii  librsvg2-2:arm64                2.40.16-1+b1         arm64                SAX-based renderer library for SVG files (runtime)
ii  librsvg2-common:arm64           2.40.16-1+b1         arm64                SAX-based renderer library for SVG files (extra runtime)
ii  librtmp1:arm64                  2.4+20151223.gitfa86 arm64                toolkit for RTMP streams (shared library)
ii  libsamplerate0:arm64            0.1.8-8+b2           arm64                Audio sample rate conversion library
ii  libsasl2-2:arm64                2.1.27~101-g0780600+ arm64                Cyrus SASL - authentication abstraction library
ii  libsasl2-modules-db:arm64       2.1.27~101-g0780600+ arm64                Cyrus SASL - pluggable authentication modules (DB)
ii  libsbc1:arm64                   1.3-2                arm64                Sub Band CODEC library - runtime
ii  libseccomp2:arm64               2.3.1-2.1+deb9u1     arm64                high level interface to Linux seccomp filter
ii  libselinux1:arm64               2.6-3+b3             arm64                SELinux runtime shared libraries
ii  libsemanage-common              2.6-2                all                  Common files for SELinux policy management libraries
ii  libsemanage1:arm64              2.6-2                arm64                SELinux policy management library
ii  libsensors4:arm64               1:3.4.0-4            arm64                library to read temperature/voltage/fan sensors
ii  libsepol1:arm64                 2.6-2                arm64                SELinux library for manipulating binary security policies
ii  libshine3:arm64                 3.1.0-5              arm64                Fixed-point MP3 encoding library - runtime files
ii  libshout3:arm64                 2.3.1-3              arm64                MP3/Ogg Vorbis broadcast streaming library
ii  libsidplay1v5                   1.36.59-10           arm64                SID (MOS 6581) emulation library
ii  libsigc++-2.0-0v5:arm64         2.10.0-1             arm64                type-safe Signal Framework for C++ - runtime
ii  libslang2:arm64                 2.3.1-5              arm64                S-Lang programming library - runtime version
ii  libsm6:arm64                    2:1.2.2-1+b3         arm64                X11 Session Management library
ii  libsmartcols1:arm64             2.29.2-1+deb9u1      arm64                smart column output alignment library
ii  libsnappy1v5:arm64              1.1.3-3              arm64                fast compression/decompression library
ii  libsndfile1:arm64               1.0.27-3             arm64                Library for reading/writing audio files
ii  libsndio6.1:arm64               1.1.0-3              arm64                Small audio and MIDI framework from OpenBSD, runtime libraries
ii  libsoundtouch1:arm64            1.9.2-2+deb9u1       arm64                Sound stretching library
ii  libsoup-gnome2.4-1:arm64        2.56.0-2+deb9u2      arm64                HTTP library implementation in C -- GNOME support library
ii  libsoup2.4-1:arm64              2.56.0-2+deb9u2      arm64                HTTP library implementation in C -- Shared library
ii  libsoxr0:arm64                  0.1.2-2              arm64                High quality 1D sample-rate conversion library
ii  libspandsp2:arm64               0.0.6+dfsg-0.1       arm64                Telephony signal processing library
ii  libspeex1:arm64                 1.2~rc1.2-1+b2       arm64                The Speex codec runtime library
ii  libspeexdsp1:arm64              1.2~rc1.2-1+b2       arm64                The Speex extended runtime library
ii  libsqlite3-0:arm64              3.16.2-5+deb9u1      arm64                SQLite 3 shared library
ii  libsrtp0                        1.4.5~20130609~dfsg- arm64                Secure RTP (SRTP) and UST Reference Implementations - shared library
ii  libss2:arm64                    1.43.4-2             arm64                command-line interface parsing library
ii  libssh2-1:arm64                 1.7.0-1+deb9u1       arm64                SSH2 client-side library
ii  libssl1.0.2:arm64               1.0.2r-1~deb9u1      arm64                Secure Sockets Layer toolkit - shared libraries
ii  libssl1.1:arm64                 1.1.0j-1~deb9u1      arm64                Secure Sockets Layer toolkit - shared libraries
ii  libstdc++-6-dev:arm64           6.3.0-18+deb9u1      arm64                GNU Standard C++ Library v3 (development files)
ii  libstdc++6:arm64                6.3.0-18+deb9u1      arm64                GNU Standard C++ Library v3
ii  libswitch-perl                  2.17-2               all                  switch statement for Perl
ii  libswresample2:arm64            7:3.2.12-1~deb9u1    arm64                FFmpeg library for audio resampling, rematrixing etc. - runtime file
ii  libsystemd0:arm64               232-25+deb9u11       arm64                systemd utility library
ii  libtag1v5:arm64                 1.11.1+dfsg.1-0.1    arm64                audio meta-data library
ii  libtag1v5-vanilla:arm64         1.11.1+dfsg.1-0.1    arm64                audio meta-data library - vanilla flavour
ii  libtasn1-6:arm64                4.10-1.1+deb9u1      arm64                Manage ASN.1 structures (runtime)
ii  libtdb1:arm64                   1.3.11-2             arm64                Trivial Database - shared library
ii  libteamdctl0:arm64              1.26-1+b1            arm64                library for communication with `teamd` process
ii  libtext-charwidth-perl          0.04-7+b3            arm64                get display widths of characters on the terminal
ii  libtext-iconv-perl              1.7-5+b3             arm64                converts between character sets in Perl
ii  libtext-wrapi18n-perl           0.06-7.1             all                  internationalized substitute of Text::Wrap
ii  libthai-data                    0.1.26-1             all                  Data files for Thai language support library
ii  libthai0:arm64                  0.1.26-1             arm64                Thai language support library
ii  libtheora0:arm64                1.1.1+dfsg.1-14+b1   arm64                Theora Video Compression Codec
ii  libtiff5:arm64                  4.0.8-2+deb9u4       arm64                Tag Image File Format (TIFF) library
ii  libtinfo5:arm64                 6.0+20161126-1+deb9u arm64                shared low-level terminfo library for terminal handling
ii  libtwolame0:arm64               0.3.13-2             arm64                MPEG Audio Layer 2 encoding library
ii  libubsan0:arm64                 6.3.0-18+deb9u1      arm64                UBSan -- undefined behaviour sanitizer (runtime)
ii  libudev1:arm64                  232-25+deb9u11       arm64                libudev shared library
ii  libunistring0:arm64             0.9.6+really0.9.3-0. arm64                Unicode string library for C
ii  libusb-1.0-0:arm64              2:1.0.21-1           arm64                userspace USB programming library
ii  libustr-1.0-1:arm64             1.0.4-6              arm64                Micro string library: shared library
ii  libuuid1:arm64                  2.29.2-1+deb9u1      arm64                Universally Unique ID library
ii  libv4l-0:arm64                  1.12.3-1             arm64                Collection of video4linux support libraries
ii  libv4l2rds0:arm64               1.12.3-1             arm64                Video4Linux Radio Data System (RDS) decoding library
ii  libv4lconvert0:arm64            1.12.3-1             arm64                Video4linux frame format conversion library
ii  libva-drm1:arm64                1.7.3-2              arm64                Video Acceleration (VA) API for Linux -- DRM runtime
ii  libva-x11-1:arm64               1.7.3-2              arm64                Video Acceleration (VA) API for Linux -- X11 runtime
ii  libva1:arm64                    1.7.3-2              arm64                Video Acceleration (VA) API for Linux -- runtime
ii  libvdpau1:arm64                 1.1.1-6              arm64                Video Decode and Presentation API for Unix (libraries)
ii  libvisual-0.4-0:arm64           0.4.0-10             arm64                audio visualization framework
ii  libvo-aacenc0:arm64             0.1.3-1              arm64                VisualOn AAC encoder library
ii  libvo-amrwbenc0:arm64           0.1.3-1              arm64                VisualOn AMR-WB encoder library
ii  libvorbis0a:arm64               1.3.5-4+deb9u2       arm64                decoder library for Vorbis General Audio Compression Codec
ii  libvorbisenc2:arm64             1.3.5-4+deb9u2       arm64                encoder library for Vorbis General Audio Compression Codec
ii  libvpx4:arm64                   1.6.1-3+deb9u1       arm64                VP8 and VP9 video codec (shared library)
ii  libwacom-common                 0.22-1               all                  Wacom model feature query library (common files)
ii  libwacom2:arm64                 0.22-1+b1            arm64                Wacom model feature query library
ii  libwavpack1:arm64               5.0.0-2+deb9u2       arm64                audio codec (lossy and lossless) - library
ii  libwayland-client0:arm64        1.12.0-1+deb9u1      arm64                wayland compositor infrastructure - client library
ii  libwayland-cursor0:arm64        1.12.0-1+deb9u1      arm64                wayland compositor infrastructure - cursor library
ii  libwayland-egl1-mesa:arm64      13.0.6-1+b2          arm64                implementation of the Wayland EGL platform -- runtime
ii  libwayland-server0:arm64        1.12.0-1+deb9u1      arm64                wayland compositor infrastructure - server library
ii  libwebp6:arm64                  0.5.2-1              arm64                Lossy compression of digital photographic images.
ii  libwebpdemux2:arm64             0.5.2-1              arm64                Lossy compression of digital photographic images.
ii  libwebpmux2:arm64               0.5.2-1              arm64                Lossy compression of digital photographic images.
ii  libwebrtc-audio-processing1:arm 0.3-1                arm64                AudioProcessing module from the WebRTC project.
ii  libwildmidi-config              0.4.0-2              all                  software MIDI player configuration
ii  libwildmidi2:arm64              0.4.0-2+b2           arm64                software MIDI player library
ii  libwrap0:arm64                  7.6.q-26             arm64                Wietse Venema's TCP wrappers library
ii  libx11-6:arm64                  2:1.6.4-3+deb9u1     arm64                X11 client-side library
ii  libx11-data                     2:1.6.4-3+deb9u1     all                  X11 client-side library
ii  libx11-xcb1:arm64               2:1.6.4-3+deb9u1     arm64                Xlib/XCB interface library
ii  libx264-148:arm64               2:0.148.2748+git97ea arm64                x264 video coding library
ii  libx265-95:arm64                2.1-2+b2             arm64                H.265/HEVC video stream encoder (shared library)
ii  libxapian30:arm64               1.4.3-2+deb9u3       arm64                Search engine library
ii  libxau6:arm64                   1:1.0.8-1            arm64                X11 authorisation library
ii  libxaw7:arm64                   2:1.0.13-1+b2        arm64                X11 Athena Widget library
ii  libxcb-composite0:arm64         1.12-1               arm64                X C Binding, composite extension
ii  libxcb-dri2-0:arm64             1.12-1               arm64                X C Binding, dri2 extension
ii  libxcb-dri3-0:arm64             1.12-1               arm64                X C Binding, dri3 extension
ii  libxcb-glx0:arm64               1.12-1               arm64                X C Binding, glx extension
ii  libxcb-present0:arm64           1.12-1               arm64                X C Binding, present extension
ii  libxcb-render0:arm64            1.12-1               arm64                X C Binding, render extension
ii  libxcb-shape0:arm64             1.12-1               arm64                X C Binding, shape extension
ii  libxcb-shm0:arm64               1.12-1               arm64                X C Binding, shm extension
ii  libxcb-sync1:arm64              1.12-1               arm64                X C Binding, sync extension
ii  libxcb-xfixes0:arm64            1.12-1               arm64                X C Binding, xfixes extension
ii  libxcb-xkb1:arm64               1.12-1               arm64                X C Binding, XKEYBOARD extension
ii  libxcb1:arm64                   1.12-1               arm64                X C Binding
ii  libxcomposite1:arm64            1:0.4.4-2            arm64                X11 Composite extension library
ii  libxcursor1:arm64               1:1.1.14-1+deb9u2    arm64                X cursor management library
ii  libxdamage1:arm64               1:1.1.4-2+b3         arm64                X11 damaged region extension library
ii  libxdmcp6:arm64                 1:1.1.2-3            arm64                X11 Display Manager Control Protocol library
ii  libxext6:arm64                  2:1.3.3-1+b2         arm64                X11 miscellaneous extension library
ii  libxfixes3:arm64                1:5.0.3-1            arm64                X11 miscellaneous 'fixes' extension library
ii  libxfont2:arm64                 1:2.0.1-3+deb9u1     arm64                X11 font rasterisation library
ii  libxft2:arm64                   2.3.2-1+b2           arm64                FreeType-based font drawing library for X
ii  libxi6:arm64                    2:1.7.9-1            arm64                X11 Input extension library
ii  libxinerama1:arm64              2:1.1.3-1+b3         arm64                X11 Xinerama extension library
ii  libxkbcommon0:arm64             0.7.1-2~deb9u1       arm64                library interface to the XKB compiler - shared library
ii  libxkbfile1:arm64               1:1.0.9-2            arm64                X11 keyboard file manipulation library
ii  libxml2:arm64                   2.9.4+dfsg1-2.2+deb9 arm64                GNOME XML library
ii  libxmu6:arm64                   2:1.1.2-2            arm64                X11 miscellaneous utility library
ii  libxpm4:arm64                   1:3.5.12-1           arm64                X11 pixmap library
ii  libxrandr2:arm64                2:1.5.1-1            arm64                X11 RandR extension library
ii  libxrender1:arm64               1:0.9.10-1           arm64                X Rendering Extension client library
ii  libxshmfence1:arm64             1.2-1+b2             arm64                X shared memory fences - shared library
ii  libxt6:arm64                    1:1.1.5-1            arm64                X11 toolkit intrinsics library
ii  libxtables12:arm64              1.6.0+snapshot201611 arm64                netfilter xtables library
ii  libxtst6:arm64                  2:1.2.3-1            arm64                X11 Testing -- Record extension library
ii  libxvidcore4:arm64              2:1.3.4-1+b2         arm64                Open source MPEG-4 video codec (library)
ii  libxxf86vm1:arm64               1:1.1.4-1+b2         arm64                X11 XFree86 video mode extension library
ii  libzvbi-common                  0.2.35-13            all                  Vertical Blanking Interval decoder (VBI) - common files
ii  libzvbi0:arm64                  0.2.35-13            arm64                Vertical Blanking Interval decoder (VBI) - runtime files
ii  linux-base                      4.5                  all                  Linux image base package
ii  linux-image-4.9.51-imx          9-3                  arm64                Linux kernel image for the Coral EdgeTPU Dev Board
ii  linux-libc-dev:arm64            4.9.168-1            arm64                Linux support headers for userspace development
ii  lm-sensors                      1:3.4.0-4            arm64                utilities to read temperature/voltage/fan sensors
ii  locales                         2.24-11+deb9u4       all                  GNU C Library: National Language (locale) data [support]
ii  login                           1:4.4-4.1            arm64                system login tools
ii  logrotate                       3.11.0-0.1           arm64                Log rotation utility
ii  lrzsz                           0.12.21-8            arm64                Tools for zmodem/xmodem/ymodem file transfer
ii  lsb-base                        9.20161125           all                  Linux Standard Base init script functionality
ii  lsb-release                     9.20161125           all                  Linux Standard Base version reporting utility
ii  lsof                            4.89+dfsg-0.1        arm64                Utility to list open files
ii  make                            4.1-9.1              arm64                utility for directing compilation
ii  man-db                          2.7.6.1-2            arm64                on-line manual pager
ii  manpages                        4.10-2               all                  Manual pages about using a GNU/Linux system
ii  mawk                            1.3.3-17+b3          arm64                a pattern scanning and text processing language
ii  mdt-services                    2-1                  all                  Performs initial system setup work
ii  mendel-core                     1-0                  arm64                Metapackage for core Mendel packages
ii  mendel-distro-info-data         2-1                  all                  info about Mendel's releases (data files)
ii  mendel-keyring                  2-1                  all                  Public keys to verify packages for the Mendel OS
ii  mendel-minimal                  7-1                  all                  Defines the files and packages for a minimal Mendel install
ii  mime-support                    3.60                 all                  MIME files 'mime.types' & 'mailcap', and support programs
ii  mount                           2.29.2-1+deb9u1      arm64                tools for mounting and manipulating filesystems
ii  multiarch-support               2.24-11+deb9u4       arm64                Transitional package to ensure multiarch compatibility
ii  nano                            2.7.4-1              arm64                small, friendly text editor inspired by Pico
ii  ncurses-base                    6.0+20161126-1+deb9u all                  basic terminal type definitions
ii  ncurses-bin                     6.0+20161126-1+deb9u arm64                terminal-related programs and man pages
ii  ncurses-term                    6.0+20161126-1+deb9u all                  additional terminal type definitions
ii  net-tools                       1.60+git20161116.90d arm64                NET-3 networking toolkit
ii  netbase                         5.4                  all                  Basic TCP/IP networking system
ii  netcat-traditional              1.10-41+b1           arm64                TCP/IP swiss army knife
ii  network-manager                 1.6.2-3+deb9u2       arm64                network management framework (daemon and userspace tools)
ii  openssh-client                  1:7.4p1-10+deb9u6    arm64                secure shell (SSH) client, for secure access to remote machines
ii  openssh-server                  1:7.4p1-10+deb9u6    arm64                secure shell (SSH) server, for secure access from remote machines
ii  openssh-sftp-server             1:7.4p1-10+deb9u6    arm64                secure shell (SSH) sftp server module, for SFTP access from remote m
ii  openssl                         1.1.0j-1~deb9u1      arm64                Secure Sockets Layer toolkit - cryptographic utility
ii  parted                          3.2-17               arm64                disk partition manipulator
ii  passwd                          1:4.4-4.1            arm64                change and administer password and group data
ii  patch                           2.7.5-1+deb9u1       arm64                Apply a diff file to an original
ii  pciutils                        1:3.5.2-1            arm64                Linux PCI Utilities
ii  perl                            5.24.1-3+deb9u5      arm64                Larry Wall's Practical Extraction and Report Language
ii  perl-base                       5.24.1-3+deb9u5      arm64                minimal Perl system
ii  perl-modules-5.24               5.24.1-3+deb9u5      all                  Core Perl modules
ii  pinentry-curses                 1.0.0-2              arm64                curses-based PIN or pass-phrase entry dialog for GnuPG
ii  policykit-1                     0.105-18+deb9u1      arm64                framework for managing administrative policies and privileges
ii  procps                          2:3.3.12-3+deb9u1    arm64                /proc file system utilities
ii  psmisc                          22.21-2.1+b2         arm64                utilities that use the proc file system
ii  pulseaudio                      10.0-1+deb9u1        arm64                PulseAudio sound server
ii  pulseaudio-utils                10.0-1+deb9u1        arm64                Command line tools for the PulseAudio sound server
ii  python                          2.7.13-2             arm64                interactive high-level object-oriented language (default version)
ii  python-apt-common               1.4.0~beta3          all                  Python interface to libapt-pkg (locales)
ii  python-minimal                  2.7.13-2             arm64                minimal subset of the Python language (default version)
ii  python-pip-whl                  9.0.1-2+deb9u1       all                  Python package installer
ii  python2.7                       2.7.13-2+deb9u3      arm64                Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal               2.7.13-2+deb9u3      arm64                Minimal subset of the Python language (version 2.7)
ii  python3                         3.5.3-1              arm64                interactive high-level object-oriented language (default python3 ver
ii  python3-apt                     1.4.0~beta3          arm64                Python 3 interface to libapt-pkg
ii  python3-cairo                   1.10.0+dfsg-5+b1     arm64                Python 3 bindings for the Cairo vector graphics library
ii  python3-chardet                 2.3.0-2              all                  universal character encoding detector for Python3
ii  python3-dbus                    1.2.4-1+b1           arm64                simple interprocess messaging system (Python 3 interface)
ii  python3-debian                  0.1.30               all                  Python 3 modules to work with Debian-related data formats
ii  python3-debianbts               2.6.1                all                  Python interface to Debian's Bug Tracking System
ii  python3-edgetpu                 11-1                 arm64                Miscellaneous tools to support the Coral Edge TPU Dev Board
ii  python3-edgetpuvision           5-1                  all                  EdgeTPU camera API
ii  python3-gi                      3.22.0-2             arm64                Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                3.22.0-2             arm64                Python 3 Cairo bindings for the GObject library
ii  python3-gst-1.0                 1.10.4-1             arm64                GStreamer GObject Introspection overrides for Python (Python 3)
ii  python3-httplib2                0.9.2+dfsg-1         all                  comprehensive HTTP client library written for Python3
ii  python3-jwt                     1.4.2-1+deb9u1       all                  Python 3 implementation of JSON Web Token
ii  python3-minimal                 3.5.3-1              arm64                minimal subset of the Python language (default python3 version)
ii  python3-netifaces               0.10.4-0.1+b2        arm64                portable network interface information - Python 3.x
ii  python3-numpy                   1:1.12.1-3           arm64                Fast array facility to the Python 3 language
ii  python3-pil:arm64               4.0.0-4              arm64                Python Imaging Library (Python3)
ii  python3-pip                     9.0.1-2+deb9u1       all                  Python package installer
ii  python3-pkg-resources           33.1.1-1             all                  Package Discovery and Resource Access using pkg_resources
ii  python3-protobuf                3.0.0-9              arm64                Python 3 bindings for protocol buffers
ii  python3-pycurl                  7.43.0-2             arm64                Python bindings to libcurl (Python 3)
ii  python3-pysimplesoap            1.16-2               all                  simple and lightweight SOAP Library (Python 3)
ii  python3-reportbug               7.1.7+deb9u2         all                  Python modules for interacting with bug tracking systems
ii  python3-requests                2.12.4-1             all                  elegant and simple HTTP library for Python3, built for human beings
ii  python3-serial                  3.2.1-1              all                  pyserial - module encapsulating access for the serial port
ii  python3-setuptools              33.1.1-1             all                  Python3 Distutils Enhancements
ii  python3-six                     1.10.0-3             all                  Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-software-properties     0.96.20.2-1          all                  manage the repositories that you install software from
ii  python3-urllib3                 1.19.1-1             all                  HTTP library with thread-safe connection pooling for Python3
ii  python3-wheel                   0.29.0-2             all                  built-package format for Python
ii  python3.5                       3.5.3-1+deb9u1       arm64                Interactive high-level object-oriented language (version 3.5)
ii  python3.5-minimal               3.5.3-1+deb9u1       arm64                Minimal subset of the Python language (version 3.5)
ii  readline-common                 7.0-3                all                  GNU readline and history libraries, common files
ii  reportbug                       7.1.7+deb9u2         all                  reports bugs in the Debian distribution
ii  rsync                           3.1.2-1+deb9u2       arm64                fast, versatile, remote (and local) file-copying tool
ii  rsyslog                         8.24.0-1             arm64                reliable system and kernel logging daemon
ii  runonce                         2-1                  all                  Performs initial system setup work
ii  sed                             4.4-1                arm64                GNU stream editor for filtering/transforming text
ii  sensible-utils                  0.0.9+deb9u1         all                  Utilities for sensible alternative selection
ii  shared-mime-info                1.8-1+deb9u1         arm64                FreeDesktop.org shared MIME database and spec
ii  software-properties-common      0.96.20.2-1          all                  manage the repositories that you install software from (common)
ii  sudo                            1.8.19p1-2.1         arm64                Provide limited super user privileges to specific users
ii  systemd                         232-25+deb9u11       arm64                system and service manager
ii  systemd-sysv                    232-25+deb9u11       arm64                system and service manager - SysV links
ii  sysvinit-utils                  2.88dsf-59.9         arm64                System-V-like utilities
ii  tar                             1.29b-1.1            arm64                GNU version of the tar archiving utility
ii  tasksel                         3.39                 all                  tool for selecting tasks for installation on Debian systems
ii  tasksel-data                    3.39                 all                  official tasks used for installation of Debian systems
ii  telnet                          0.17-41              arm64                basic telnet client
ii  traceroute                      1:2.1.0-2            arm64                Traces the route taken by packets over an IPv4/IPv6 network
ii  tzdata                          2019a-0+deb9u1       all                  time zone and daylight-saving time data
ii  uboot-imx                       3-2                  arm64                U-Boot for the AIY Board
ii  ucf                             3.0036               all                  Update Configuration File(s): preserve user changes to config files
ii  udev                            232-25+deb9u11       arm64                /dev/ and hotplug management daemon
ii  unattended-upgrades             0.93.1+nmu1          all                  automatic installation of security upgrades
ii  unzip                           6.0-21+deb9u1        arm64                De-archiver for .zip files
ii  usb-gadget                      1-1                  all                  Sets up USB gadget ethernet and TTY for a given USB port
ii  util-linux                      2.29.2-1+deb9u1      arm64                miscellaneous system utilities
ii  v4l-utils                       1.12.3-1             arm64                Collection of command line video4linux utilities
ii  vim                             2:8.0.0197-4+deb9u1  arm64                Vi IMproved - enhanced vi editor
ii  vim-common                      2:8.0.0197-4+deb9u1  all                  Vi IMproved - Common files
ii  vim-runtime                     2:8.0.0197-4+deb9u1  all                  Vi IMproved - Runtime files
ii  vitalsd                         1-0                  all                  A vital statistics monitor that outputs to serial consoles for embed
ii  wamerican                       7.1-1                all                  American English dictionary words for /usr/share/dict
ii  weston-imx                      3.0.0-4              arm64                Weston compositor w/ IMX support.
ii  wget                            1.18-5+deb9u3        arm64                retrieves files from the web
ii  whiptail                        0.52.19-1+b1         arm64                Displays user-friendly dialog boxes from shell scripts
ii  wireless-tools                  30~pre9-12+b1        arm64                Tools for manipulating Linux Wireless Extensions
ii  wpasupplicant                   2:2.4-1+deb9u3       arm64                client support for WPA and WPA2 (IEEE 802.11i)
ii  x11-common                      1:7.7+19             all                  X Window System (X.Org) infrastructure
ii  x11-xkb-utils                   7.7+3+b1             arm64                X11 XKB utilities
ii  xdg-user-dirs                   0.15-2+b1            arm64                tool to manage well known user directories
ii  xkb-data                        2.19-1+deb9u1        all                  X Keyboard Extension (XKB) configuration data
ii  xserver-common                  2:1.19.2-1+deb9u5    all                  common files used by various X servers
ii  xwayland                        2:1.19.2-1+deb9u5    arm64                Xwayland X server
ii  xxd                             2:8.0.0197-4+deb9u1  arm64                tool to make (or reverse) a hex dump
ii  xz-utils                        5.2.2-1.2+b1         arm64                XZ-format compression utilities
ii  zlib1g:arm64                    1:1.2.8.dfsg-5       arm64                compression library - runtime
```

```bash:pip3_list
pip3 list
chardet (2.3.0)
edgetpu (2.11.1)
edgetpuvision (1.0)
httplib2 (0.9.2)
netifaces (0.10.4)
numpy (1.12.1)
Pillow (4.0.0)
pip (9.0.1)
protobuf (3.0.0)
pycurl (7.43.0)
pygobject (3.22.0)
PyJWT (1.4.2)
pyserial (3.2.1)
python-apt (1.4.0b3)
python-debian (0.1.30)
python-debianbts (2.6.1)
reportbug (7.1.7)
requests (2.12.4)
setuptools (33.1.1)
six (1.10.0)
unattended-upgrades (0.1)
urllib3 (1.19.1)
vitalsd (1.0)
wheel (0.29.0)
```