Difference between revisions of "RockpiE/Debian"
(→Install and update necessary packages) |
|||
Line 1: | Line 1: | ||
{{rockpiE_header}} | {{rockpiE_header}} | ||
− | {{Languages|rockpiE/ | + | {{Languages|rockpiE/Ubuntu}} |
− | [[rockpiE | ROCK Pi E]] > [[rockpiE/ | + | [[rockpiE | ROCK Pi E]] > [[rockpiE/Ubuntu | Ubuntu]] |
__TOC__ | __TOC__ | ||
− | == Work with ROCK Pi E | + | == Work with ROCK Pi E UBuntu == |
− | === Introduction to ROCK Pi E | + | === Introduction to ROCK Pi E UBuntu === |
− | ROCK Pi E | + | ROCK Pi E UBuntu is an easy to use system. While working with ROCK Pi E Ubuntu, you will find it do well on playing music, playing video, Internet, Bluetooth and so on. |
ROCK Pi E Debian uses '''systemd''' to manage system. | ROCK Pi E Debian uses '''systemd''' to manage system. | ||
Line 17: | Line 17: | ||
Here Need one '''USB to TTL serial cable'''. Or use '''SSH'''. | Here Need one '''USB to TTL serial cable'''. Or use '''SSH'''. | ||
− | === | + | === UBuntu Default User Account === |
Non-root User: | Non-root User: | ||
Line 32: | Line 32: | ||
$ sudo apt-get install -y rockchip-overlay | $ sudo apt-get install -y rockchip-overlay | ||
$ sudo apt-get install -y linux-4.4-rockpie-latest | $ sudo apt-get install -y linux-4.4-rockpie-latest | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Network Connection === | === Network Connection === | ||
Line 57: | Line 52: | ||
$ ping -I eth1 www.baidu.com | $ ping -I eth1 www.baidu.com | ||
− | ==== | + | ==== WiFi Connection ==== |
− | When there is not a network cable for your ROCK Pi E the WIFI connection is another good choice. ROCK Pi E supports 2.4G | + | When there is not a network cable for your ROCK Pi E the WIFI connection is another good choice. ROCK Pi E supports 2.4G/5G WiFi wireless network. |
− | =====To test the | + | =====To test the WiFi performance, we need to follow the steps:===== |
* Switch to super user mode | * Switch to super user mode | ||
$ sudo su | $ sudo su | ||
− | * Open the | + | * Open the WiFi |
$ nmcli r wifi on | $ nmcli r wifi on | ||
− | * Scan | + | * Scan WiFi |
$ nmcli dev wifi | $ nmcli dev wifi | ||
− | * Connect to | + | * Connect to WiFi network |
$ nmcli dev wifi connect "wifi_name" password "wifi_password" | $ nmcli dev wifi connect "wifi_name" password "wifi_password" | ||
− | * Test | + | * Test WiFi perpormance by tool iperf. |
=== Bluetooth === | === Bluetooth === | ||
Line 101: | Line 96: | ||
$ hciconfig | $ hciconfig | ||
+ | root@rockpie:~# hciconfig | ||
hci0: Type: Primary Bus: USB | hci0: Type: Primary Bus: USB | ||
− | + | BD Address: 7C:A7:B0:22:82:C5 ACL MTU: 1021:8 SCO MTU: 255:12 | |
− | + | UP RUNNING PSCAN | |
− | + | RX bytes:5120 acl:0 sco:0 events:100 errors:0 | |
− | + | TX bytes:2904 acl:0 sco:0 commands:74 errors:0 | |
Example: Connect to Bluetooth Speaker. | Example: Connect to Bluetooth Speaker. | ||
Line 135: | Line 131: | ||
=== Changelogs === | === Changelogs === | ||
− | ==== 2020. | + | ==== 2020.05.28 ==== |
− | ''' | + | '''rockpie_debian_buster_minimal_arm64_20200528_0716-gpt.img''' |
* Automatically load Bluetooth firmware after system startup. | * Automatically load Bluetooth firmware after system startup. | ||
Line 144: | Line 140: | ||
* Default serial console: UART2 | * Default serial console: UART2 | ||
* Hostname: rockpie | * Hostname: rockpie | ||
− | * Kernel version: 4.4.194- | + | * Kernel version: 4.4.194-12-rockchip-g615ae7431150 |
* Resize root filesystem to fit available disk space for the first boot | * Resize root filesystem to fit available disk space for the first boot | ||
* System partitions: boot and rootfs | * System partitions: boot and rootfs | ||
* Support SSH by default. | * Support SSH by default. | ||
* Support uEnv and boot.scr | * Support uEnv and boot.scr | ||
− | * The version of systemd: | + | * The version of systemd: 237 |
* U-boot version: 2019.10-11661-g46695f4700 | * U-boot version: 2019.10-11661-g46695f4700 |
Revision as of 08:21, 28 May 2020
ROCK Pi E > Ubuntu
Contents
Work with ROCK Pi E UBuntu
Introduction to ROCK Pi E UBuntu
ROCK Pi E UBuntu is an easy to use system. While working with ROCK Pi E Ubuntu, you will find it do well on playing music, playing video, Internet, Bluetooth and so on.
ROCK Pi E Debian uses systemd to manage system.
Here Need one USB to TTL serial cable. Or use SSH.
UBuntu 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-rockpie-latest
Network Connection
There are two methods for network connection. One is Ethernet and the other is WIFI.
Ethernet Connection
ROCK Pi E provides dual ethernets. You can use two network cables at the same time to connect your ROCK Pi E to the network. The ROCK Pi E 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 two network cards, eth0 and eth1, and the Ethernet IP address. Also, use tool, ping, to connect to a normal domain.
$ ifconfig $ ping -I eth0 www.baidu.com $ ping -I eth1 www.baidu.com
WiFi Connection
When there is not a network cable for your ROCK Pi E the WIFI connection is another good choice. ROCK Pi E 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
Update necessary packages
$ sudo apt-get update $ sudp apt-get install -y rockchip-overlay $ sudo apt-get install -y linux-4.4-rockpie-latest # kernel version(>=4.4.194-7-rockchip) $ sudo apt-get install -y realtek-bt-firmware bluez
Check Bluetooth service
$ systemctl status bluetooth
Run Bluetooth service if the Bluetooth service is inactive.
$ systemctl start bluetooth
Start realtek-btfw-load service
$ systemctl start realtek-btfw-load
Check Bluetooth device
$ hciconfig root@rockpie:~# hciconfig hci0: Type: Primary Bus: USB BD Address: 7C:A7:B0:22:82:C5 ACL MTU: 1021:8 SCO MTU: 255:12 UP RUNNING PSCAN RX bytes:5120 acl:0 sco:0 events:100 errors:0 TX bytes:2904 acl:0 sco:0 commands:74 errors:0
Example: Connect to Bluetooth Speaker.
Change to root mode.
$ sudo su
Install pulseaudio packages
# apt-get install -y pulseaudio-module-bluetooth pulseaudio
Run pulseaudio
# pulseaudio --start
Connect using bluetoothctl
# bluetoothctl [bluetooth]# default-agent [bluetooth]# power on [bluetooth]# scan on [bluetooth]# trust 77:EC:79:4F:6B:AC [bluetooth]# pair 77:EC:79:4F:6B:AC [bluetooth]# connect 77:EC:79:4F:6B:AC
Play songs and enjoy it.
Changelogs
2020.05.28
rockpie_debian_buster_minimal_arm64_20200528_0716-gpt.img
- Automatically load Bluetooth firmware after system startup.
- Available for at least 256 MB DDR SDRAM
- Default non-root user: rock (password: rock)
- Default serial console: UART2
- Hostname: rockpie
- Kernel version: 4.4.194-12-rockchip-g615ae7431150
- Resize root filesystem to fit available disk space for the first boot
- System partitions: boot and rootfs
- Support SSH by default.
- Support uEnv and boot.scr
- The version of systemd: 237
- U-boot version: 2019.10-11661-g46695f4700