Skip to main content

Android Test and Driver

Note: This software page reuses the x6818 software documentation flow as requested. i6818 and x6818 have similar boot/flashing flows; actual commands, source package names, and image names should follow the current i6818 SDK.

Android Test Application​

Test ItemDescription
LCDCheck colors, dead pixels, and display issues
TouchscreenCheck 5-point capacitive touch and coordinates
LEDCheck four LEDs
BuzzerCheck active buzzer
BacklightCheck brightness adjustment
KeysCheck Return, Volume, Menu, Power, Reset
BatteryCheck battery and PMU state
DAC / ADCCheck ADC sampling
G-sensorCheck gravity sensor
AudioCheck speaker, headphone, MIC, recording and playback
CameraCheck parallel, MIPI, or USB camera
Wi-FiCheck Wi-Fi scanning and connection
NetworkCheck Ethernet or Wi-Fi network
UARTTX/RX loopback or UART cross-test
External storageCheck TF card
USB diskCheck USB storage

Android Kernel Drivers​

The manual lists the following driver sections:

  • LED driver.
  • Kernel heartbeat monitor driver.
  • G-sensor driver.
  • Capacitive touchscreen driver.
  • LCD driver.
  • Key driver.
  • USB Wi-Fi driver.
  • VGA driver.
  • HDMI driver.
  • proc filesystem.

proc Queries​

cat /proc/cmdline
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/partitions
cat /proc/version
ifconfig
dmesg

Android Practical Projects​

The manual includes:

  • Create a hello i6818 project.
  • Run hello i6818 on the board.
  • Write an LED test program from scratch.
  • Create the first APK and call low-level drivers through JNI + NDK.
  • Modify VGA resolution.
  • Modify init.rc.
  • Modify boot animation.
  • Modify U-Boot boot logo.
  • Modify kernel logo.
  • Use Git for source control.
  • Package the whole Android BSP.
  • Use the mm command for partial build.
  • Configure minicom on Ubuntu.