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

RockpiN10/Debian

< RockpiN10
Revision as of 08:08, 6 January 2020 by Stephen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    ROCK Pi N10 >  Debian


Work with ROCK Pi N10 Debian

Introduction to ROCK Pi N10 Debian

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

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

Desktop

The preinstalled Desktop is xfce4.

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: 22:22:70:B2:10:6F  ACL MTU: 1021:8  SCO MTU: 255:12
         UP RUNNING 
         RX bytes:1399 acl:0 sco:0 events:45 errors:0
         TX bytes:3458 acl:0 sco:0 commands:45 errors:0

NPU

Use root user mode

 $ sudo su

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.

Storage device

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

Changelogs

2020.01.06

rockpin10_debian_buster_xfce4_arm64_20200106_0710-gpt.img

  • U-boot version: 2017.09-2685-g26d3cbeb61
  • Kernel version: 4.4.167-5-rockchip-g1e62a6825bfc
  • 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.