range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 4 www.xunlong.tv
4.5.2. How to enable the USB debugging option in Android7.0................................... 110
4.5.3. Use data cable to connect adb for debugging.......................................................111
4.5.4. Use network connection adb debugging..............................................................112
4.6. How to use USB camera.................................................................................................... 113
4.7. How to use CSI camera......................................................................................................114
4.7.1. CSI camera interface specifications.....................................................................114
4.7.2. How to use gc2035 camera in Android4.4 system...............................................115
4.7.3. How to use the ov5640 camera in Android4.4 system.........................................117
5. Linux SDK instructions................................................................................................118
5.1. Get the source code of linux sdk........................................................................................118
5.1.1. Download orangepi-build from github................................................................ 118
5.1.2. Download the cross-compilation toolchain......................................................... 119
5.1.3. Description of the complete directory structure of orangepi-build......................120
5.1.4. Download from Google Cloud............................................................................ 122
5.2. Compile u-boot.................................................................................................................. 122
5.3. Compile the linux kernel....................................................................................................126
5.4. Compile rootfs....................................................................................................................132
5.5. Compile linux image..........................................................................................................135
6. Android SDK instructions............................................................................................139
6.1. Android 4.4 SDK instructions............................................................................................139
6.1.1. Download the source code of android 4.4 sdk.....................................................139
6.1.2. Build android compilation environment..............................................................141
6.1.3. Compile android image........................................................................................142
6.2. Android 7.0 SDK instructions............................................................................................144
6.2.1. Download the source code of android 7.0 sdk.....................................................144
6.2.2. Build android compilation environment..............................................................146
6.2.3. Compile android image........................................................................................147