Turing RK1 (RK3588)
===

[![turing-rk1-cm.webp](./turing-rk1-cm.webp)](./turing-rk1-cm.webp)

##### Specifications

<table id="bkmrk-instruction-set-armv"><tbody><tr><td>**Instruction Set**</td><td>ARMv8-A (64-bit)</td></tr><tr><td>**OS Support**</td><td>Ubuntu Server 22.04 LTS</td></tr><tr><td>**CPUs**</td><td>8× | 4× ARM Cortex-A76 | 4× ARM Cortex-A55 | DynamIQ</td></tr><tr><td>**GPU**</td><td>G610 GPU  
Support OpenGLES 1.1, 2.0, and 3.2, OpenCL up to 2.2 and Vulkan1.2  
Proprietary 2D hardware acceleration engine</td></tr><tr><td>**NPU**</td><td>6 TOPS</td></tr><tr><td>**RAM**</td><td>LPDDR4 up to 32 GB</td></tr><tr><td>**Storage**</td><td>32 G eMMC 5.1, SD 3.0</td></tr><tr><td>**Ethernet**</td><td>1000Mbps</td></tr><tr><td>**USB**</td><td>2x USB 3.0, 2x USB 2.0</td></tr><tr><td>**PCIe**</td><td>PCIe Gen3</td></tr><tr><td>**MIPI**</td><td>4-Lane MIPI-DSI, 4-Lane MIPI-CSI</td></tr><tr><td>**Digital Audio port**</td><td>2× I2S</td></tr><tr><td>**HDMI**</td><td>HDMI 2.1, 8K@60fps</td></tr><tr><td>**Video input port**</td><td>2× MIPI-CSI RX 4× lanes  
1× MIPI-CSI DPHY RX 4× lanes</td></tr><tr><td>**Display output port**</td><td>1× MIPI-DSI DPHY 2× lanes  
1× HDMI 2.1  
1× DP 1.4</td></tr><tr><td>**VPU**</td><td>VPU 2.0, supporting 8K video</td></tr><tr><td>**Video Encoder**</td><td>H264, 8K@30FPS  
VP9/H265, 8k@60FPS  
AV1/AVS2, 4k@60FPS</td></tr><tr><td>**Video Decoder**</td><td>H265/H264/VP9/AV1/AVS2 up to 8K@60fps</td></tr><tr><td>**Power**</td><td>5V/3A via USB Type-C</td></tr><tr><td>**Operating Temp**</td><td>-20°C to 70°C</td></tr><tr><td>**Storage Temp**</td><td>-40°C to 85°C</td></tr><tr><td>**Weight**</td><td>17g</td></tr><tr><td>**Form Factor**</td><td>69.6mm x 45mm  
260-pin SO-DIMM connector</td></tr></tbody></table>

# TuringPi hosts

## Flash modules

https://armbian.com/fr

### First login
> root/1234
Add pleb user and change password to transatlantique

### Complete setup

```bash
sudo usermod -aG sudo pleb
echo "pleb ALL=(ALL:ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/pleb

sudo hostnamectl set-hostname ...

(. /etc/lsb-release &&
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh |
sudo env os=ubuntu dist="${DISTRIB_CODENAME}" bash)
sudo apt update && sudo apt install -y vim git-all git-lfs curl wget cryptsetup dmsetup open-iscsi screenfetch net-tools open-iscsi python3 python3-pip build-essential libssl-dev libffi-dev python3-dev wireguard

sudo vim /etc/hosts
```

```
127.0.0.1       localhost
127.0.1.1       <hostname> <hostname>.local

# The following lines are desirable for IPv6 capable hosts
::1             ip6-localhost ip6-loopback
fe00::0         ip6-localnet
ff00::0         ip6-mcastprefix
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
ff02::3         ip6-allhosts

#
192.168.1.11    bob
192.168.1.12    carlo
#
192.168.1.15    krabs
192.168.1.17    bernie
#
192.168.1.14    sandy
192.168.1.13    gary
192.168.1.16    sheldon
192.168.1.19    pearl
#
192.168.1.18    patrick
192.168.1.20    karen

#
192.168.1.53    retropie
```

#### On PC

```bash
ssh-copy-id -f -i ~/.ssh/id_ed25519.pub pleb@192.168.1.xxx
ssh-copy-id -f -i ~/.ssh/id_ed25519.pub pleb@<hostname>
```

#### On host

```bash
vim .ssh/authorized_keys

sudo vim /etc/ssh/sshd_config
```

```
# ----------------------------------------
PasswordAuthentication no
PermitEmptyPasswords no
# ----------------------------------------
```

```
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBLk24u7FT8PhAdM8EVUFGlOi0hle4CW8L284E1foUhS julien@julien-pc
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE6wr+DUbcfVTltoWT6gbPRY3geUYNhgN7/CLcMaMu0B eliot@toile-win
```

### Format and mount the disks

```bash
sudo fdisk -l

**With disk <xxx>**
sudo fdisk /dev/<xxx>
(create new primary partition)

sudo mkfs -t ext4 /dev/<xxxp1>
sudo blkid -s UUID -o value /dev/<xxxp1>
```

### UUIDs

```
sandy
  nvme0n1p1 195a1632-e6b3-41a4-8b2b-eea2fde75cfc
  sda1      8a758c09-3ad8-4681-bcb0-41ced1d316e1

gary
  nvme0n1p1 7395f5ad-c422-4a09-9a1f-5c8bf96b00f5

sheldon
  nvme0n1p1 0a52875c-41a6-419f-b322-33ed2cec9717
  sda1      d4cad1ad-6154-4eb3-b1a1-2c613a6cbe51
  sdb1      c445f17b-56b0-4606-9d14-db9728da0aa4

pearl
  nvme0n1p1 da49c557-732e-4bbc-b002-f9c627e2cf82
```

### Add mount point to fstab

```bash
sudo mkdir -p /mnt/<folder>

echo "UUID=... /mnt/<folder>      ext4    defaults    0       0" | sudo tee -a /etc/fstab
```

```bash
sudo mount -a
sudo systemctl daemon-reload

df -h /mnt/<folder>
```

---

# ?

### GPU Drivers
```bash
cd /usr/lib && sudo wget https://github.com/JeffyCN/mirrors/raw/libmali/lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-x11-wayland-gbm.so

cd /lib/firmware && sudo wget https://github.com/JeffyCN/mirrors/raw/libmali/firmware/g610/mali_csffw.bin

sudo apt update && sudo apt install -y mesa-opencl-icd
sudo mkdir -p /etc/OpenCL/vendors && echo "/usr/lib/libmali-valhall-g610-g6p0-x11-wayland-gbm.so" | sudo tee /etc/OpenCL/vendors/mali.icd

sudo apt install -y ocl-icd-opencl-dev
sudo apt install -y libxcb-dri2-0 libxcb-dri3-0 libwayland-client0 libwayland-server0 libx11-xcb1
sudo apt install -y clinfo vulkan-tools
```

```bash
clinfo

vulkaninfo
```

---

### Documentation

[https://docs.turingpi.com](https://docs.turingpi.com)

##### help.turingpi.com

jme69@pm.me  
Ln4@iJMNn85h2Xrx

[https://help.turingpi.com/hc/en-us](https://help.turingpi.com/hc/en-us "https://help.turingpi.com/hc/en-us")

##### Server World

[https://www.server-world.info/en/note?os=Debian\_12&amp;p=download&amp;f=1](https://www.server-world.info/en/note?os=Debian_12&p=download&f=1)

