ADB use¶
ADB¶
Connect the device and the host with a Type-C data cable, then enter the following commands:
adb devices
adb shell
Network ADB¶
Check the IP address of the development board and access the PC through the network:
adb connect + IP
adb shell
Note:
AIO-3399-JD4 / AIO-3399J needs to modify kernel/arch/arm64/boot/dts/rockchiprk3399-firefly-aiojd4.dts
to support the use of ADB, set usbdrd_dwc3_0
to peripheral
mode, then the usb can only be used as a slave device use.
&usbdrd_dwc3_0 {
dr_mode = "peripheral";
};
Similarly, AIO-3399Pro-JD4 needs to modify kernel/arch/arm64/boot/dts/rockchip/rk3399pro-firefly-aioc.dts
to support the use of ADB.
Then recompile and flash the Kernel.