Difference between revisions of "RockpiE/FAQs"
< RockpiE
RadxaYuntian (Talk | contribs) |
Peter.Wang (Talk | contribs) |
||
Line 43: | Line 43: | ||
sudo apt-get update | sudo apt-get update | ||
</pre> | </pre> | ||
+ | |||
+ | === How to backup the debian image === | ||
+ | |||
+ | 1. Download the script and put into some directory of the board system | ||
+ | https://github.com/akgnah/rockpi-toolkit/blob/master/rockpi-backup.sh | ||
+ | 2. enter the directory and run | ||
+ | |||
+ | sudo ./rockpi-backup.sh -m rk356x | ||
+ | |||
+ | Note: | ||
+ | |||
+ | if you encounter errors like not found kpartx, mkfs.xx, resize-helper, you need download from the pc and copy to the board system | ||
+ | |||
+ | kpartx | ||
+ | |||
+ | http://ftp.de.debian.org/debian/pool/main/m/multipath-tools/kpartx_0.7.9-3+deb10u1_arm64.deb | ||
+ | |||
+ | mkfs.xxx | ||
+ | |||
+ | http://ftp.cn.debian.org/debian/pool/main/d/dosfstools/dosfstools_4.2-1_arm64.deb | ||
+ | |||
+ | resize-helper | ||
+ | git clone https://github.com/96boards/96boards-tools.git and get the resize-helper and cp resize-helper to /sbin (board system) |
Latest revision as of 04:20, 29 June 2023
Contents
OS
What OS is ROCK Pi E running?
- Currently we have Debian Buster, Ubuntu Bionic, etc, running on ROCK Pi E.
Can I ssh to ROCK Pi E running official Debian/Ubuntu?
- Yes, you can. The ROCK Pi E is shown as rockpie.local in your local network. Check out the Using SSH page.
Where is the Radxa APT sources list?
- Check file /etc/apt/sources.list.d/apt-radxa-com.list.
Some BT devices are discovered, but failed to connect to them on ROCK Pi E?
- One of the reason is the weak signal. To gain a stronger signal, you need an antenna attached to the antenna socket on board.
Radxa APT public key is not available
- When I try to run apt update, i get following error:
$ sudo apt update ... Err:21 http://apt.radxa.com/bionic-stable bionic InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B99C4BEFEC47E96E Get:31 http://ports.ubuntu.com/ubuntu-ports bionic/universe Translation-en [4941 kB] Get:32 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages [126 kB] Get:33 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en [108 kB] Reading package lists... Done W: GPG error: http://apt.radxa.com/bionic-stable bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B99C4BEFEC47E96E E: The repository 'http://apt.radxa.com/bionic-stable bionic InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. ...
The reason is the public key used before is expired. You can execute the following command to get the new available.
sudo apt-get install -y wget export DISTRO=buster-stable wget -O - apt.radxa.com/$DISTRO/public.key | sudo apt-key add - sudo apt-get update
How to backup the debian image
1. Download the script and put into some directory of the board system
https://github.com/akgnah/rockpi-toolkit/blob/master/rockpi-backup.sh
2. enter the directory and run
sudo ./rockpi-backup.sh -m rk356x
Note:
if you encounter errors like not found kpartx, mkfs.xx, resize-helper, you need download from the pc and copy to the board system
kpartx
http://ftp.de.debian.org/debian/pool/main/m/multipath-tools/kpartx_0.7.9-3+deb10u1_arm64.deb
mkfs.xxx
http://ftp.cn.debian.org/debian/pool/main/d/dosfstools/dosfstools_4.2-1_arm64.deb
resize-helper
git clone https://github.com/96boards/96boards-tools.git and get the resize-helper and cp resize-helper to /sbin (board system)