RSB-3710 User Manual
32
To build system image
Enter the following command into the terminal console:
All android images are generated in rockdev/Image- rk3399_rsb3710/ folder.
Common image files are listed below:
3.3
GPIO
Export GPIO then use control GPIO from user space through sysfs.
Export GPIO1.
Set GPIO direction to in/out.
$ source build/envsetup.sh
$ lunch rk3399_rsb3710-userdebug
$ make -j4 2>&1 | tee build-log.txt
$./mkimage.sh
# boot.img : Android's initramfs, to initialize and mount system partition.
# kernel.img : Kernel image.
# misc.img : Misc partition image, to switch boot mode and pass parameter in recovery
mode.
# recovery.img : Recovery mode image.
# resource.img : Resource image, containing boot logo and kernel's device tree info.
# system.img : System partition image with ext4 filesystem format.
# uboot.img : uboot
# trust.img : File about sleep
# MiniLoaderAll.bin : Loader
GPIO Number
GPIO formed
Numeric Representation
#
GPIO1
EXP1_0
504
#
GPIO2
EXP1_1
505
#
GPIO3
EXP1_2
506
#
GPIO4
EXP1_3
507
#
GPIO5
EXP2_0
496
#
GPIO6
EXP2_1
497
#
GPIO7
EXP2_2
498
#
GPIO8
EXP2_3
499
#
GPIO9
EXP2_4
500
#
GPIO10
EXP2_5
501
#
GPIO11
EXP2_6
502
#
GPIO12
EXP2_7
503
$ echo 504 > /sys/class/gpio/export
$ echo "out" > /sys/class/gpio/gpio504/direction
Summary of Contents for RSB-3710
Page 1: ...User Manual RSB 3710 Rockchip ARM Cortex A72 2 5 SBC...
Page 6: ...RSB 3710 User Manual vi...
Page 9: ...Chapter 1 1 General Information...
Page 12: ...RSB 3710 User Manual 4...
Page 21: ...13 RSB 3710 User Manual Chapter 2 H W Installation Figure 2 4 LVDS Connector...
Page 25: ...17 RSB 3710 User Manual Chapter 2 H W Installation Figure 2 7 Mini PCIE Connector...
Page 36: ...RSB 3710 User Manual 28...
Page 42: ...RSB 3710 User Manual 34 3 5 Audio Launch Sound Recorder for MIC Launch Video for Audio...
Page 59: ...51 RSB 3710 User Manual Chapter 4 Advantech Services...