Skip to main content

Driver and Debug

Common Driver Paths​

FunctionReference Path
G-sensorkernel/drivers/input/sensors/accel/lis3dh.c, hardware/rockchip/sensor/st
Touchscreenkernel/drivers/input/touchscreen/
LCD panelkernel/drivers/gpu/drm/panel/, panel-simple.c
Keyskernel/drivers/input/keyboard/, rk_keys.c, adc-keys.c
Wi-Fi / BTkernel/drivers/net/wireless/rockchip_wlan
Camerahardware/rockchip/camera/SiliconImage/isi/drv

Common proc Commands​

cat /proc/cmdline
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/partitions
cat /proc/version
cat /proc/net/dev
cat /proc/kmsg
df -h

Android Project Notes​

Common customization items include init.rc, boot animation, U-Boot logo, kernel logo, MIPI panel configuration, shutdown charging, and display rotation.

Linux Project Notes​

For MIPI display configuration, check the Rockchip DTS directory and modify the board DTS/DTSI according to the panel timing and interface wiring.