01 - Log Collection
SDK - Refers to the source code path.
Console - Refers to the debugging console.
ADB - Android Debug Bridge command-line tool. Hereinafter, it refers to an environment where ADB can be run.
Kernel Log Collection Methods
General Method
Command line - Debug serial port
Refer to [12 - Hardware Function Testing.md](12 - Hardware Function Testing.md#UART) to connect the debug serial port.
Kernel log printing command:
Save the log as a file:
Copy the file out via a USB flash drive.
Android
Command line - ADB
Power on the board and connect the computer to the board's USB - Type C port.
Open the Windows command prompt (cmd) and enter the following command to ensure that the device is detected:
Enter the command to save the kernel log to the dmesg.txt file on the D drive:
Android system logs
Power on the device and start the collection with the following command:
Reproduce the problem.
Press Ctrl + C to stop.
Provide the logcat.txt file.
Common Problem Troubleshooting
Please ensure that the firmware being flashed is the one provided on the network disk so that technical support can assist you in troubleshooting.
Boot Stuck at the Logo Screen
Check if the firmware is the one provided. Only when using the firmware from the network disk can technical support help troubleshoot the problem.
Restart the device multiple times to see if the problem persists.
If you are using the Ubuntu system, the boot process may be slow. Wait patiently to see if it eventually enters the graphical interface.
After the above checks, if the device is still stuck at the logo screen, perform the following checks:
Confirm if the blue system running indicator is blinking.
Connect the debug serial port and keep all the boot logs for technical support to assist in troubleshooting.
Serial Port Printing Issues
If there is no printing or the printing is garbled:
Check the wiring. Refer to [12 - Hardware Function Testing.md](12 - Hardware Function Testing.md#UART) to connect the debug serial port.
Ensure that the serial port tool you are using is the one provided by our company. If not, make sure it supports a baud rate of 1500000.
System Keeps Restarting
Remove all peripherals to eliminate peripheral interference.
Connect the serial port to view the logs for troubleshooting.
Try replacing the power supply. Poor power supply can cause some functions of the board to malfunction and lead to restarts.
Last updated