Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

RockpiN10/Ubuntu

    ROCK Pi N10 >  Ubuntu

Work with ROCK Pi N10 Ubuntu

Introduction to ROCK Pi N10 Ubuntu

ROCK Pi N10 Ubuntu server is an easy to use system. While working with ROCK Pi N10 Ubuntu Server, you will find it do well on playing music, Internet, Bluetooth, AI and so on.

ROCK Pi N10 Ubuntu server uses systemd to manage system.

Access from the Host PC/Laptop

Option 1: Serial console

Check Serial Console

Option 2: SSH

SSH server is enabled on port 22 of ROCK Pi N10 default image.

Please use angryip to find your board IP address.

   ping ip-of-device
   ssh rock@ip-of-device

Debian Default User Account

Non-root User:

   User Name : rock
   Password  : rock

Install and update necessary packages

Add Radxa APT, see Radxa APT.

Install packages;

 $ sudo apt-get update
 $ sudo apt-get install -y rockchip-overlay
 $ sudo apt-get install -y linux-4.4-rockpin10-latest

Network Connection

There are two methods for network connection. One is Ethernet and the other is WIFI.

Ethernet Connection

You can use a network cable (one end connected to the external network port or route) to connect your ROCK Pi N10 to the network. The ROCK Pi N10 will automatically configure the network for your surfing on the Internet.

To test the Ethernet, we need to follow the steps:
  • Switch to super user mode by command
 $ sudo su
  • Check whether the Ethernet is normal by command, ifconfig, which would show us a network card, eth0, and the Ethernet IP address. Also, use tool, ping, to connect to a normal domain.
 $ ifconfig
 $ ping www.baidu.com
  • If failed to connect to a normal domain. , try
 $ sudo dhclient eth0

WIFI Connection

When there is not a network cable for your ROCK Pi N10 the WIFI connection is another good choice. ROCK Pi N10 supports 2.4G/5G WIFI wireless network.

To test the WIFI performance, we need to follow the steps:
  • Switch to super user mode
 $ sudo su
  • Open the WIFI
 $ nmcli r wifi on
  • Scan WIFI
 $ nmcli dev wifi
  • Connect to WIFI network
 $ nmcli dev wifi connect "wifi_name" password "wifi_password"
  • Test WIFI perpormance by tool iperf.

Bluetooth

Check Bluetooth service

 $ systemctl status bluetooth

Run Bluetooth service if the Bluetooth service is inactive.

 $ systemctl start bluetooth

Check Bluetooth device

 $ hciconfig
 hci0:   Type: Primary  Bus: UART
         BD Address: 87:0D:F3:A1:02:B9  ACL MTU: 1021:8  SCO MTU: 64:1
         UP RUNNING 
         RX bytes:1086 acl:0 sco:0 events:55 errors:0
         TX bytes:2829 acl:0 sco:0 commands:55 errors:0

NPU

Related package: rockchip-npu

Use root user mode

 $ sudo su

Update package

 apt-get install -y rockchip-npu

Init NPU GPIO

npu_powerctrl -i

Power up NPU

 npu_powerctrl -o

Scan NPU

 lsusb
 [  839.258118] usb 8-1: New USB device found, idVendor=2207, idProduct=1808

Upgrade NPU firmware

 npu-image.sh

More details about NPU: NPU Booting Process.

IR Remote Control

See IR Remote Control.

Storage device

  • uSD Card: /dev/mmcblk1
  • eMMC: /dev/mmcblk2
  • NVME M.2 SDD: /dev/nvme0n1

Boot device order

uSD - > eMMC

Changelogs

2020.07.10

rockpin10a_ubuntu_bionic_minimal_arm64_20200710_0321-gpt.img / rockpin10bc_ubuntu_bionic_minimal_arm64_20200710_0341-gpt.img

  • U-boot version: 2017.09-2692-gdf20631bd8
  • Kernel version: 4.4.167-14-rockchip-g53bdb2fa44e8

2020.03.06

rockpin10a_ubuntu_bionic_minimal_arm64_20200306_0432-gpt.img / rockpin10bc_ubuntu_bionic_minimal_arm64_20200306_0432-gpt.img

  • U-boot version: 2017.09-2689-g7bc6514356
  • Kernel version: 4.4.167-8-rockchip-g1175e66f8e9a
  • systemd version: 237
  • System partitions: boot and rootfs
  • Default serial console: UART2
  • Default non-root user: rock (password: rock)
  • Hostname: rockpin10
  • Support SSH by default.
  • Resize root filesystem to fit available disk space for the first boot
  • Automatically load Bluetooth firmware after system startup.