Skip to content

System Login

In this chapter, you will use Mobaxterm for serial debugging, ADB for Android debugging, and SSH for remote connection.

Account and Password

Default usernames and passwords for different systems are as follows:

System Username Password
Debian kickpi kickpi
Debian root root

Mobaxterm

Using Serial Port debugging tool connect K9 to get a console. please check pinout to find UART pins as shown in below diagram.

K9 DEBUG UART Pins

  • Physical Image

image-20260224140303582

Tool Preparation

  • Software: Mobaxterm
  • Hardware: Serial Debug Cable aka. USB-TTL debug cable

Note

Red: VCC (no need to connect); Green: TX; White: RX; Black: GND. If you can't get Serial Port output in Mobaxterm, just switch Green and White wire and try again.

image-20251110111232659

Hardware Installation

  • Diagram

9d99eaec0f81b27b7c9133d7e1831016

Mobaxterm Configuration

1. Click session to create a new session window.

2. Select the session window type as serial.

3. Select the serial COM port number (Check COM number by opening Windows Device Manager -> Ports interface).

4. Set Speed(bps) to 115200.

5. Start the session window.

As shown, after clicking OK, you will enter the command-line input window.

When the board is powered on and connected to the computer, Mobaxterm will display the information output of the development board during startup.

Connection successful. Press Enter in the command-line interface to input commands, successfully logging into the mainboard console.

ADB

Android system supports ADB functionality. ADB (Android Debug Bridge) is an Android system debugging bridge tool. It supports connecting to devices via USB or network, enabling device management and debugging operations such as app installation, file transfer, command execution, etc. ABD is a utility inside Google's Android platform-tools. you can download platform-tools from Google's developer site also.

Tool Preparation

  • Hardware: USB Type-C Data Cable
  • Software: download ADB_Tool

Hardware Installation

Connect to the host computer via a USB A-to-A or USB A-to-C data cable (make sure the host has a Type‑C port).

image-20260207144234926

ADB Installation

1. Extract the compressed package, e.g., to Windows path D:\0_img\develop_tools\PhoenixSuit.

2. Open cmd window, switch to the extraction directory.

cd D:\0_img\develop_tools\PhoenixSuit

3. Run the command. Successful run indicates installation success.

adb.exe

image-20251106175607167

4. Start ADB debugging.

.\adb.exe shell

image-20251106175925684

SSH

SSH stands for Secure Shell, an encrypted network transmission protocol. Its core function is to securely remotely log into servers, execute commands, or transfer files in insecure network environments.

Account and Password

Default usernames and passwords for different systems are as follows:

System Username Password
Debian kickpi kickpi
Debian root root

IP Address Acquisition

DHCP automatically assigns IP addresses; no settings are needed. Device IP can be obtained in multiple ways.

  • when there is Desktop: Connect the board to a display, log into the system, use ifconfig eth0 to get IP address.
  • via serial port: Enter ifconfig eth0 in the serial terminal to get IP address (Serial connection refer to Mobaxterm chapter above).

SSH Connection

Enter the command in the command line to perform SSH connection:

ssh <username>@<IP>

Example:

PS C:\Users\16708> ssh kickpi@192.168.77.186
The authenticity of host '192.168.77.186 (192.168.77.186)' can't be established.
ED25519 key fingerprint is SHA256:635IZrLQdeYlWWl3SCdLxu9fxLEPmStBapj4APCjzZE.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.77.186' (ED25519) to the list of known hosts.
kickpi@192.168.77.186's password:
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.1.75 aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

kickpi@kickpi:~$

Q&A

  • ROOT User Login Failed ?

1. Check if configuration was successful

Run the following commands. If the output is PermitRootLogin yes, it indicates configuration success:

console$ cat /etc/ssh/ssh_config | grep PermitRootLogin
PermitRootLogin yes
console$ cat /etc/ssh/sshd_config | grep PermitRootLogin
PermitRootLogin yes

2. Root user login configuration

Modify SSH configuration files:

console$ vim /etc/ssh/ssh_config
+ PermitRootLogin yes
console$ vim /etc/ssh/sshd_config
+ PermitRootLogin yes
console$ sudo /etc/init.d/ssh restart