FAQs

Where can I download the firmware?

Download & Support -> Firmware -> System -> Corresponding Version

Does Neardi-3588 support Ubuntu 18.04/22.04 systems?

  • Main maintenance of Ubuntu20.04 system.

  • Ubuntu22.04 system has stopped maintenance.

  • Ubuntu18.04 system is self-transplanted.

What is the default username and password for Ubuntu 20.04?

  • Username:neardi

  • Password:lindikeji

  • Switch to superuser : sudo -s

Where can I download the baseboard schematic?

The baseboard schematic and SDK are sent together with the download link, which can be found in the Hardware Design Documentation directory.

How to control the fan?

sudo -i;

echo 493 > /sys/class/gpio/export; 
echo out > /sys/class/gpio/gpio493/direction; 
echo 1 > /sys/class/gpio/gpio493/value; //Turn on the fan
echo 0 > /sys/class/gpio/gpio493/value; //Turn off the fan

How to replace logo and desktop default wallpaper in Ubuntu20.04?

Replace desktop default wallpaper

replace SDK/ubuntu/overlay/etc/alternatives/neardi.png

Display Issues

LVDS not displaying

LVDS display has no menu

  • Use the xrandr command to switch to the main screen.

  • Switch by entering commands through the serial port or by connecting to an HDMI2 display.

How to convert colors with RGA?

Refer to the source code in SDK/external/linux-rga.

How to use hardware encoding and decoding?

  • Multimedia directory in the network disk data Linux/Multimedia.

  • Rockchip MPP

Cross-compilation environment

  • PC cross-compilation environment:SDK/prebuilts/gcc/linux-x86/aarch64/ directory.

  • For cross-compilation on the 3588 board, you need to install:

sudo apt-get install gcc g++ clang make-guile build-essential

How to enter the flashing mode?

Why is the partition definition smaller than the partition firmware?

  • For example,0x00020000@0x00008000(boot),the actual compiledboot.img is about 20MB.

  • The size before the @ symbol is the size of the partition, the address after the @ symbol is the starting address of the partition, and the name in parentheses is the name of the partition, all in sectors (512Bytes).

  • The boot starts at the position of 0x00008000 sectors (64MB), with a size of 0x20000 sectors (64MB).

How to log in to ssh as the root user?

Some firmware versions do not have a configured root password by default.

sudo passwd root # Enter the password twice

To modify the  ssh configuration file to allow root user login, you can use the following command:

sudo vim /etc/ssh/sshd_config # Edit the configuration file
PermitRootLogin yes # Change this line to yes

To restart the  ssh serviceto apply the changes, you can use the following command:

sudo service ssh restart # For Ubuntu systems
sudo systemctl restart sshd # For CentOS systems

To log in to the Linux system using the  root user and password via ssh, for example:

ssh root@192.168.1.88 # Enter the password

USB serial port not working?

Enter the configuration interface with the following command:

ARCH=arm64 make menuconfig
  • In the configuration interface, select Device Drivers->USB support->USB Serial Converter support->Corresponding model,press space to select the configuration.

  • Save the kernel configuration options menu:

ARCH=arm64 make savedefconfig
  • After saving, a defconfig file will be generated in the SDK root directory.

  • Replace the config:

cp defconfig kernel/arch/arm64/configs/rockchip_linux_defconfig
  • Then compile the kernel in the  kernel  directory:

./build.sh kernel
The compiled boot.img is in the kernel directory and can be flashed separately to the partition. For the flashing method, please refer to the chapter[《Upgrading Firmware with USB Cable》](http://wiki.neardi.com/wiki/rk3568/zh_CN/docs/upgrade.html).
 It can also be packaged and flashed as a whole.

## How to install the OpenCV package?

```shell
sudo apt update
sudo apt install libopencv-dev python3-opencv

How to play RTSP streams?

gst-launch-1.0 rtspsrc location=rtsp://your_rtsp_url ! rtph264depay ! h264parse ! mppvideodec ! fpsdisplaysink

How to turn off the screensaver?

Click on the menu in the lower-left corner ->  Preferences -> Screensaver -> Mode -> Disable Screen Saver 。

SSH frequently disconnects

Check if the system has gone into sleep mode.

apt update fails

  • Check if your network is normal, whether you can access the external network, and whether you need a proxy or authentication.

  • Change your software source to a domestic mirror site, such as Alibaba Cloud or Tsinghua University, to improve download speed and stability. Edit the /etc/apt/sources.list file. To clear the cache and old index files, you can use the following command:

sudo apt clean
sudo rm -rf /var/lib/apt/lists/*

For example, to replace all archive.ubuntu.com with mirrors.tuna.tsinghua.edu.cn ,you can use the following command:

sudo sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list

To synchronize system time and timezone, you can use the following command:

sudo ntpdate cn.pool.ntp.org # Synchronize time
sudo dpkg-reconfigure tzdata # Select timezone

To apply network changes, if you have modified settings such as IP address or DNS, you can use the following command:

sudo netplan apply

What to do if the system starts abnormally and keeps rebooting?

It is possible that the power supply current is insufficient. Please use a power supply with a voltage of 12V and a current of 2.5A~3A.

The redesigned backplane reports a PCIE error and the system cannot start normally.

If the backplane is not designed with PCIE function, the core PCIE will be blocked. Please see the following modifications:

+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3588-neardi-linux-ld160-x0.dtsi
@@ -601,14 +601,14 @@ &pcie2x1l1 {

 &pcie30phy {
        rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
-       status = "okay";
+       status = "disabled";
 };

 &pcie3x4 {
        reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
        vpcie3v3-supply = <&vcc3v3_pcie30>;
        num-lanes=<4>;
-       status = "okay";
+       status = "disabled";
 };

Writing tool for SN and MAC addresses

**Note:**If the development board has undergone an eMMC erase operation, previously written data will also be cleared.。

Windows method

  • Install RKDevInfoWriteTool

  • Download link

  • In the Settings of RKDevInfoWriteTool,select”RPMB”

  • Configure “SN,” “WIFI MAC,” “LAN MAC,” “BT MAC,” etc., in the Settings of RKDevInfoWriteTool as needed

  • Enter loader mode on the development board

  • Perform writing or reading operations with RKDevInfoWriteTool For specific operations, refer to the《RKDevInfoWriteTool User Guide》PDF document in the installation directory of RKDevInfoWriteTool.

No sound in Ubuntu system, how to deal with it?

Menu -> Multimedia -> PulseAudio VolumeControl -> Configuration ->