Orange Pi PC Plus Скачать руководство пользователя страница 1

range Pi

用户手册

深圳市迅龙软件有限公司版权所有

Orange Pi PC Plus

User Manual

Содержание PC Plus

Страница 1: ...range Pi Orange Pi PC Plus User Manual...

Страница 2: ...t board 13 2 4 Method of flashing Linux image to TF card based on Windows PC 13 2 5 Method of flashing Linux image to TF card based on Ubuntu PC 15 2 6 Method of flashing Linux image to eMMC 18 2 7 Me...

Страница 3: ...SH remote login development board under Ubuntu 45 3 11 2 SSH remote login development board under Windows 46 3 12 HDMI display test 47 3 13 WIFI connection test 48 3 13 1 The server version image conn...

Страница 4: ...le with I2C interface 86 3 26 How to use SPI LCD display 88 3 26 1 2 4 inch SPI LCD display 88 3 26 2 3 2 inch RPi SPI LCD display 92 3 26 3 3 5 inch SPI LCD display 96 3 27 linux3 4 desktop version s...

Страница 5: ...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 Goo...

Страница 6: ...r H3 system on chip and has 1GB DDR3 memory 1 2 What can I do with Orange Pi PC Plus We can use it to build A computer A wireless network server Games Music player HD video player Speaker Android Pret...

Страница 7: ...terface camera Audio Input MIC Video Outputs HDMI CVBS Audio Output 3 5 mm audio port and HDMI Power Source DC input MicroUSB OTG cannot be used as power input USB 2 0 Ports 3 USB 2 0 HOST 1 USB 2 0 O...

Страница 8: ...range Pi www orangepi cn 7 www xunlong tv 1 5 Top and bottom views Top View Bottom View...

Страница 9: ...range Pi www orangepi cn 8 www xunlong tv 1 6 Interface Details...

Страница 10: ...ded to use SanDisk TF card Orange Pi test is to use SanDisk TF card other brands of TF card may have the problem of system failure 2 TF card reader used to read and write TF card 3 Standard HDMI to HD...

Страница 11: ...mouse and keyboard can be used to control the Orange Pi development board 6 IR remote control mainly used to control Android system 7 100M or Gigabit network cable used to connect the development boa...

Страница 12: ...he Micro USB interface data cable 10 AV video cable if you want to display video through the CVBS interface instead of the HDMI interface then you need to connect the development board to the TV throu...

Страница 13: ...droid source code saved on Baidu Cloud Disk and Google Cloud Disk b Linux source code saved on github the link address is https github com orangepi xunlong c User manuals and schematic diagrams chip r...

Страница 14: ...the development board and confirm the development After all the functions of the board are ok then burn the system you want to use 2 4 Method of flashing Linux image to TF card based on Windows PC 1 F...

Страница 15: ...torage devices inserted you can select the drive letter corresponding to the TF card through the drop down box d Then click Format a warning box will pop up before formatting and formatting will start...

Страница 16: ...downloading the interface of Win32Diskimager is shown below a First select the path of the image file b Then confirm that the drive letter of the TF card is consistent with the one displayed in the De...

Страница 17: ...alena etcher electron 1 5 109 linux x64 zip inflating balenaEtcher 1 5 109 x64 AppImage test test ls balenaEtcher 1 5 109 x64 AppImage balena etcher electron 1 5 109 linux x64 zip 6 Download the Linux...

Страница 18: ...figure below a First select the path of the image file b Then select the device number of the TF card c Finally click Flash to start burning 8 The writing speed and remaining time will be prompted dur...

Страница 19: ...capacity The transmission speed of the TF card must be above class10 It is recommended to use a TF card of SanDisk and other brands 2 Then use a card reader to insert the TF card into the computer 3 D...

Страница 20: ...is recognized normally the drive letter and capacity of the TF card will be displayed in the middle list Please make sure that the displayed drive letter is consistent with the drive letter of the TF...

Страница 21: ...e firmware column b Select the startup card in the card type c Then click the burn card button to start burning 9 After burning the PhoenixCard will be displayed as shown in the figure below At this t...

Страница 22: ...with the help of a TF card which is mainly divided into the following two steps a First use PhoenixCard to burn the Android firmware to the TF card as a mass production card b Then use TF card to burn...

Страница 23: ...this software does not need to be installed you can find PhoenixCard in the decompressed folder and open it 7 After opening PhoenixCard if the TF card is recognized normally the drive letter and capa...

Страница 24: ...9 Then start to write the Android firmware to the TF card a First select the path of Android firmware in the firmware column b Select the mass production card in the type of production card c Then cl...

Страница 25: ...range Pi www orangepi cn 24 www xunlong tv 10 After burning the PhoenixCard will be displayed as shown in the figure below At this time click the close button to exit PhoenixCard...

Страница 26: ...oard is powered on If the development board is connected to an HDMI display the progress bar of burning Android firmware to eMMC will be displayed on the HDMI display 12 After the programming is compl...

Страница 27: ...2V power adapter it will burn the development board b Many unstable phenomena during system power on and startup are basically caused by power supply problems so a reliable power adapter is very impor...

Страница 28: ...onnected to the debug serial port of the development board through a DuPont cable a Connect the GND of the USB to TTL module to the GND of the development board b Connect the RXD of the USB to TTL mod...

Страница 29: ...ial port software later test test ls dev ttyUSB dev ttyUSB0 2 There are many serial debugging tools that can be used under linux such as putty minicom etc The following shows how to use putty 3 First...

Страница 30: ...29 www xunlong tv 7 Then set the parameters of the serial port a Set Serial line to connect to to dev ttyUSB0 modify to the corresponding node name generally dev ttyUSB0 b Set Speed baud to 115200 c...

Страница 31: ...nnection type as Serial b Then click the Open button to connect to the serial port 9 After starting the development board you can see the Log information output by the system from the opened serial te...

Страница 32: ...sed without purchasing a serial number 2 Download MobaXterm a Download MobaXterm URL as follows https mobaxterm mobatek net b After entering the MobaXterm download page click GET XOBATERM NOW c Then c...

Страница 33: ...to set the serial port connection are as follows a Open the session setting interface b Select the serial port type c Select the port number of the serial port choose the corresponding port number ac...

Страница 34: ...range Pi www orangepi cn 33 www xunlong tv 5 After clicking OK you will enter the following interface and you can see the output information of the serial port when you start the development board...

Страница 35: ...t Ubuntu 18 04 linux5 4 Support Support Debian 10 linux5 4 Support Support Ubuntu 16 04 linux3 4 Support Support 3 2 Linux5 4 kernel image driver adaptation situation Function Status HDMI Video OK HDM...

Страница 36: ...video OK HDMI Audio OK USB2 0 x 3 OK TF card boot OK EMMC boot OK Network card OK IR receiver OK WIFI OK Headphone Audio OK USB camera OK LED OK 40pin GPIO OK I2C OK SPI OK UART OK Temperature Sensor...

Страница 37: ...ight is as follows root orangepi sys class leds green_led echo 1 brightness d The command to set the green light to flash is as follows root orangepi sys class leds green_led echo heartbeat trigger e...

Страница 38: ...cally logging in to the desktop The modification command is as follows or you can open the configuration file to modify it directly root orangepis sed i s autologin user orangepi autologin user orange...

Страница 39: ...d to check the size of rootfs If it is consistent with the actual capacity of the TF card it means that the automatic expansion is running correctly root orangepi df h Filesystem Size Used Avail Use M...

Страница 40: ...m in the TF card and create a new file named no_rootfs_resize root test cd media test 27e62f92 8250 4ef1 83db 3d8f0c2e23db root test media test 27e62f92 8250 4ef1 83db 3d8f0c2e23db cd root root test m...

Страница 41: ...s not been completed and the system needs to be restarted to finally complete the automatic expansion of rootfs 2 When you start the linux3 4 system for the first time you will see a warning when you...

Страница 42: ...me as the actual capacity of the TF card root orangepi df h Filesystem Size Used Avail Use Mounted on udev 430M 0 430M 0 dev tmpfs 100M 5 6M 95M 6 run dev mmcblk0p1 15G 915M 14G 7 tmpfs 500M 0 500M 0...

Страница 43: ...media test 49cc0cc0 8cb2 435d bd35 4bbc6b7cd975 cd root root test media test 49cc0cc0 8cb2 435d bd35 4bbc6b7cd975 root touch no_rootfs_resize root test media test 49cc0cc0 8cb2 435d bd35 4bbc6b7cd975...

Страница 44: ...F card into the Ubuntu PC through a card reader and then directly modify the configuration of the linux system in the TF card after mounting the TF card in the Ubuntu PC Insert the TF card into the de...

Страница 45: ...c34d 62f0 8d6e prefixlen 64 scopeid 0x20 link ether 02 81 3e a8 58 d8 txqueuelen 1000 Ethernet RX packets 2165 bytes 177198 177 1 KB RX errors 0 dropped 0 overruns 0 frame 0 TX packets 312 bytes 4043...

Страница 46: ...e the ifconfig command or check the router to obtain the IP address of the development board 3 11 1 SSH remote login development board under Ubuntu 1 First get the IP address of the development board...

Страница 47: ...Windows 1 First get the IP address of the development board 2 In windows you can use MobaXterm to remotely log in to the development board first create a new ssh session a Open Session b Then select...

Страница 48: ...epi cn 47 www xunlong tv 4 The display after successfully logging in to the system is as shown in the figure below 3 12 HDMI display test 1 Use HDMI to HDMI cable to connect Orange Pi development boar...

Страница 49: ...rated in this section to connect to the WIFI network Because nmtui can only display characters in some serial port software such as minicom the graphical interface cannot be displayed normally Of cour...

Страница 50: ...be viewed through the ifconfig command root orangepi ifconfig wlan0 wlan0 flags 4163 UP BROADCAST RUNNING MULTICAST mtu 1500 inet 192 168 1 49 netmask 255 255 255 0 broadcast 192 168 1 255 inet6 fe80...

Страница 51: ...ion image is connected to WIFI graphically 1 Log in to the linux system first there are three ways a If the development board is connected to the network cable you can log in to the Linux system remot...

Страница 52: ...i www orangepi cn 51 www xunlong tv 5 Then you can see all the searched WIFI hotspots 6 Select the WIFI hotspot you want to connect to then use the Tab key to position the cursor on Activate and press...

Страница 53: ...ccessful a will be displayed in front of the connected WIFI name 9 The wifi IP address can be viewed through the ifconfig command root orangepi ifconfig wlan0 wlan0 flags 4163 UP BROADCAST RUNNING MUL...

Страница 54: ...time 41 3 ms 64 bytes from 182 92 236 130 182 92 236 130 icmp_seq 3 ttl 52 time 44 9 ms 64 bytes from 182 92 236 130 182 92 236 130 icmp_seq 4 ttl 52 time 45 6 ms 64 bytes from 182 92 236 130 182 92...

Страница 55: ...en enter the password of the WIFI hotspot and then click Connect to start connecting to the WIFI 4 After connecting to the WIFI you can open the browser to check whether you can surf the Internet The...

Страница 56: ...means that the WIFI connection is normal 3 14 USB interface test 3 14 1 Connect mouse or keyboard test 1 Insert the keyboard of the USB interface into the USB interface of the Orange Pi development b...

Страница 57: ...unt command to mount the U disk to mnt and then you can view the files in the U disk root orangepi mount dev sda1 mnt root orangepi ls mnt test txt 5 After mounting you can view the capacity usage and...

Страница 58: ...NF NETDEV_UP enx00e04c362017 link is not ready 129 892465 r8152 3 1 1 0 enx00e04c362017 carrier on 129 892583 IPv6 ADDRCONF NETDEV_CHANGE enx00e04c362017 link becomes ready 3 Then you can see the devi...

Страница 59: ...automatically loaded the uvcvideo kernel module root orangepi lsmod Module Size Used by uvcvideo 106496 0 3 Then use v4l2 ctl note that l in v4l2 is a lowercase letter l not a number 1 command to vie...

Страница 60: ...scp image jpg test 192 168 1 55 home test Need to be modified to the corresponding path 7 In the desktop version of the linux system you can directly view the captured pictures through the HDMI displ...

Страница 61: ...amixer to open the audio adjustment interface press Esc to exit alsamixer root orangepi alsamixer a The linux5 4 system needs to use the arrow keys to adjust the Line Out and DAC to the maximum b The...

Страница 62: ...channel The linux3 4 system does not need to be set 2 After opening the recording channel you can start recording The recording commands are as follows root orangepi arecord d 5 f cd t wav test wav Re...

Страница 63: ...rangepi aplay D hw 1 0 audio wav 3 18 linux5 4 IR receiving test 1 Install ir keytable IR test software root orangepi apt update root orangepi apt get install ir keytable 2 Then execute ir keytable to...

Страница 64: ...lease press CTRL C to abort 5514 329534 lirc protocol nec scancode 0x45c 5514 329619 event type EV_MSC 0x04 scancode 0x45c 5514 329619 event type EV_SYN 0x00 5514 832257 lirc protocol nec scancode 0x4...

Страница 65: ...ngepi ir keytable Found sys class rc rc0 dev input event6 with Driver sunxi ir table rc empty Supported protocols lirc rc 5 jvc sony nec sanyo mce kbd rc 6 Enabled protocols lirc rc 5 jvc sony nec san...

Страница 66: ...ringOP root orangepi wiringOP build clean root orangepi wiringOP build 3 Compile the watchdog test program root orangepi wiringOP cd examples root orangepi wiringOP examples make watchdog CC watchdog...

Страница 67: ...r cameras in different Linux systems is explained as follows GC2035 OV5640 linux3 4 Support Support linux5 4 Not Support Support 2 The serial numbers of the CSI interface pins are shown in the figure...

Страница 68: ...1 CON1 P13 CSI MCLK PE1 CON1 P14 CSI D6 PE10 CON1 P15 GND CON1 P16 CSI D5 PE9 CON1 P17 CSI PCLK PE0 CON1 P18 CSI D4 PE8 CON1 P19 CSI D0 PE4 CON1 P20 CSI D3 PE7 CON1 P21 CSI D1 PE5 CON1 P22 CSI D2 PE6...

Страница 69: ...m gc2035 command to initialize the configuration of gc2035 root orangepi setsystem gc2035 Set the csi camera used by the orangepipcplus as gc2035 setsystem gc2035 The main things that the command does...

Страница 70: ...video0 root orangepi apt update root orangepi apt install v4l utils root orangepi v4l2 ctl list devices sunxi vfe sunxi_vfe sunxi_vfe 0 dev video0 8 Then start to install the camera test software mot...

Страница 71: ...ter development board IP address 8081 in the Firefox browser to see the image output by gc2035 3 21 3 Linux3 4 system ov5640 camera test 1 First connect the Ov5640 camera adapter board to the CIS came...

Страница 72: ..._contig 3513 1 vfe_v4l2 videobuf_core 14871 2 vfe_v4l2 videobuf_dma_contig ov5640 42317 0 vfe_subdev 4531 2 vfe_v4l2 ov5640 cci 22869 2 vfe_v4l2 ov5640 vfe_os 4269 3 cci vfe_v4l2 vfe_subdev 4 Then use...

Страница 73: ...service root orangepi etc init d motion restart ok Restarting motion via systemctl motion service root orangepi 9 Before using motion please make sure that the Orange Pi development board can connect...

Страница 74: ...52 7 ov5640 v4l2_fwnode sunxi_cedrus videobuf2_common sun6i_csi v4l2_mem2mem video buf2_v4l2 mc 36864 7 ov5640 sunxi_cedrus videobuf2_common videodev sun6i_csi v4l2_mem2mem videobuf 2_v4l2 4 Then use...

Страница 75: ...width 320 width 640 etc motion motion conf root orangepi sed i s height 240 height 480 etc motion motion conf root orangepi sed i s stream_localhost on stream_localhost off etc motion motion conf 8 Th...

Страница 76: ...Please refer to the figure below for the sequence of the 40 pin pins of the Orange Pi PC Plus development board 2 The functions of the 40 pin pins of the Orange Pi PC Plus development board are shown...

Страница 77: ...19 PA19 SDA 1 27 28 SCL 1 PA18 18 7 PA7 PA7 29 30 GND 8 PA8 PA8 31 32 RTS 1 PG8 200 9 PA9 PA9 33 34 GND 10 PA10 PA10 35 36 CTS 1 PG9 201 20 PA20 PA20 37 38 TXD 1 PG6 198 GND 39 40 RXD 1 PG7 199 3 23...

Страница 78: ...the functions of GPIO I2C UART and SPI Before starting the test please make sure that wiringOP has been compiled and installed by referring to the section Installing wiringOP 3 24 1 Ordinary GPIO port...

Страница 79: ...vel After setting you can use a multimeter to measure the value of the pin voltage If it is 0v it means that the low level is set successfully root orangepi gpio write 2 0 Use gpio readall to see that...

Страница 80: ...0pin schematic diagram the available spi for Orange Pi Pc Plus is spi0 b Then set overlays spi spidev in boot orangepiEnv txt set param_spidev_spi_bus 0 where 0 means spi0 overlays spi spidev param_sp...

Страница 81: ...s follows you can see that the data sent and received are inconsistent a The test commands and results of the linux5 4 system are root orangepi wiringOP examples spidev_test v D dev spidev0 0 spi mode...

Страница 82: ...max speed 500000 Hz 500 KHz TX FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D RX FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF...

Страница 83: ...em When starting you can see the configuration output of I2C DT overlays in the u boot startup log Found mainline kernel configuration 29940 bytes read in 6 ms 4 8 MiB s 374 bytes read in 8 ms 44 9 Ki...

Страница 84: ...g to pin 28 Vcc Pin Corresponding to pin 1 Corresponding to pin 17 Gnd Pin Corresponding to pin 6 Corresponding to pin 25 4 Then use i2cdetect y 0 where 0 means i2c0 i2c1 needs to be modified to i2cde...

Страница 85: ...put of UART DT overlays in the boot log of u boot Applying kernel provided DT overlay sun8i h3 uart1 dtbo 502 bytes read in 10 ms 48 8 KiB s Applying kernel provided DT overlay sun8i h3 uart2 dtbo 502...

Страница 86: ...orresponding to pin 40 Corresponding to pin 11 Corresponding to pin 10 3 Then modify the serial test program serialTest in wiringOP 4 Recompile the serial test program serialTest in wiringOP root oran...

Страница 87: ...2c slave address is 0x3c 2 First connect the 0 96 inch OLED module to the 40pin interface of the Orange Pi development board through the DuPont cable The wiring method is as follows Pins of OLED modul...

Страница 88: ...epi apt install i2c tools root orangepi i2cdetect y 0 4 Then you can use the oled_demo in wiringOP to test the OLED module the test steps are as follows root orangepi git clone https github com orange...

Страница 89: ...he link to the tested LCD display details page is as follows http www lcdwiki com 2 4inch_SPI_Module_ILI9341_SKU MSP2402 2 The wiring method of the LCD display and the development board is as follows...

Страница 90: ...4751 fbtft_device spidev spi0 0 33000kHz 8 bits mode 0x00 82 034779 fbtft_device fb Platform devices registered 82 034931 fbtft_device Deleting spi0 0 82 036030 fbtft_device GPIOS used by fb_ili9341 8...

Страница 91: ...angepi con2fbmap 1 8 If you want to switch back to HDMI display please use the following command root orangepi con2fbmap 1 0 Below is the output of running the htop command 7 Because the default termi...

Страница 92: ...tall kbd root orangepi dpkg reconfigure console setup b Terminal coding selection UTF 8 c Then choose Guess optimal character set d Then choose Terminus e Finally select the font size as 6x12 f After...

Страница 93: ...n see that the kernel modules related to fbtft_device have been automatically loaded 9 If you want the linux system to automatically map the console to the LCD display after booting please add the fol...

Страница 94: ...fbtft_device fb Platform devices registered 99 471554 fbtft_device Deleting spi0 0 99 472469 fbtft_device GPIOS used by fb_ili9341 99 472493 fbtft_device reset GPIO0 99 472510 fbtft_device dc GPIO3 9...

Страница 95: ...the fb device of the LCD screen fb8 After the mapping is completed HDMI will no longer have image output root orangepi con2fbmap 1 8 If you want to switch back to HDMI display please use the following...

Страница 96: ...use the following method to reduce the terminal font a Run first dpkg reconfigure console setup root orangepi apt get update root orangepi apt get install kbd root orangepi dpkg reconfigure console s...

Страница 97: ...options fbtft_device custom name fb_ili9341 busnum 0 cs 0 gpios reset 0 dc 3 rotate 90 speed 65000000 bgr 1 txbuflen 65536 c Then restart the linux system and you can see that the kernel modules relat...

Страница 98: ...0 bgr 1 txbuflen 65536 4 When the fbtft_device kernel module is loaded the correct output log of the dmesg command is shown below and the log can know that the framebuffer used by the LCD display is f...

Страница 99: ...angepi apt update root orangepi apt y install fbi root orangepi fbi vt 1 noverbose d dev fb8 boot boot bmp 6 You can also map the output of tty1 to the fb device of the LCD display fb8 After the mappi...

Страница 100: ...configuration file the content of the file is as follows root orangepi cat etc modprobe d fbtft conf options fbtft_device custom name fb_ili9488 busnum 0 cs 0 gpios reset 110 dc 68 led 71 rotate 270...

Страница 101: ...following configuration file change fb0 to fb8 and you can see the desktop displayed on the LCD screen after restarting root orangepipcplus cat etc X11 xorg conf d 50 fbturbo conf Section Device Ident...

Страница 102: ...angepi apt update root orangepi apt install glmark2 es2 2 Then enter the desktop of the linux system through the HDMI display do not use ssh to log in remotely or serial port to log in to the linux sy...

Страница 103: ...e help of a TF card First burn the linux image to the TF card and then start the development board to enter the linux system 2 Then run the nand sata install script root orangepi nand sata install 3 T...

Страница 104: ...long tv to continue 5 Then you will be prompted to select the type of file system supporting five file systems ext2 3 4 f2fs and btrfs 6 Then it will start to format eMMC 7 After formatting eMMC it wi...

Страница 105: ...cannot read 1 The command to view the chipid of the h3 chip is as follows the chipid of each chip is different so you can use chipid to distinguish multiple development boards root orangepi cat sys c...

Страница 106: ...e effect 3 Then use the AV cable to connect the development board to the TV the steps are as follows a First you need to prepare an AV cable as shown in the figure below b The connection of the AV cab...

Страница 107: ...efer to the corresponding instruction manual If the connection settings are correct you can see the output of the linux system TV OUT on the TV Up 3 31 Boot and shutdown method 1 Shut down using the p...

Страница 108: ...down you need to unplug and plug the power again to boot up 4 The command to restart the linux system is root orangepi reboot 4 Android system instructions 4 1 Supported Android version Android versi...

Страница 109: ...rd OK Infrared OK WIFI OK WIFI hotsport OK Headphone audio OK TV OUT OK MIC recording OK USB camera OK OV5640 camera OK GC2035 camera OK button OK LED lights OK Temperature Sensor OK ADB debugging OK...

Страница 110: ...Temperature Sensor OK ADB debugging OK Mali GPU OK Video codec OK 4 4 Onboard LED light display description 1 LED light display Green light Red light u boot startup phase off on Kernel boot to enter t...

Страница 111: ...range Pi www orangepi cn 110 www xunlong tv 2 Then find the developer option and make sure that USB debugging is turned on 4 5 2 How to enable the USB debugging option in Android7 0 1 Choose settings...

Страница 112: ...ned on 4 5 3 Use data cable to connect adb for debugging 1 First make sure that the USB debugging option has been turned on 2 Prepare a USB to Micro USB cable insert the USB interface into the USB int...

Страница 113: ...of network adb does not require a USB to microphones USB cable to connect the computer and the development board but communicates through the network so first make sure that the network of the develo...

Страница 114: ...o the android system through the adb shell on the Ubuntu PC test test adb shell root dolphin fvd p1 4 6 How to use USB camera 1 Insert the USB camera into the USB interface of the development board to...

Страница 115: ...The CSI interface of Orange Pi PC Plus supports two cameras gc2035 and ov5640 The support for cameras in different systems is explained as follows GC2035 OV5640 Android 4 4 Support Support Android 7 0...

Страница 116: ...w to use gc2035 camera in Android4 4 system 1 The Gc2035 camera kit includes a gc2035 camera an adapter board and a cable 2 First insert the gc2035 camera into the adapter board 3 Then insert the ribb...

Страница 117: ...d Start the Android system after connecting the camera do not insert the camera after power on 5 Android 4 4 system test gc2035 camera requires the following Android image 6 After the Android system i...

Страница 118: ...development board through a cable and then start the Android system after connecting the camera don t plug in the camera after powering on 2 Android 4 4 system test ov5640 camera requires the followi...

Страница 119: ...ername and password of the github account the other codes in this manual are also the same if you enter the git clone command the Ubuntu PC prompts the user who needs to enter the github account Name...

Страница 120: ...r Every time the orangepi build build sh script is run it will check whether the cross compilation toolchain in toolchains exists If it does not exist it will restart the download if it exists it will...

Страница 121: ...04 gcc arm 9 2 2019 12 x86_64 arm none linux gnueabihf 5 1 3 Description of the complete directory structure of orangepi build 1 After the orangepi build repository is downloaded it does not contain...

Страница 122: ...ranch can be seen the kernel Please do not modify the name of the source code folder manually If the build system is modified the kernel source code will be downloaded again when the system is running...

Страница 123: ...ww orangepi org downloadresources PCPlus 2019 11 12 pcplus_57fbd8b253d28f d1c1026579e5068 html 5 2 Compile u boot 1 Run the build sh script remember to add sudo permissions test test orangepi build su...

Страница 124: ...orangepipcplus_2 1 0_armhf deb e Compile time o k Runtime 1 min f Repeat the command to compile u boot use the following command without selecting through the graphical interface you can directly sta...

Страница 125: ...he u boot source code of the github server so if you want to modify the u boot source code you first need to turn off the download and update function of the source code You need to compile u boot onc...

Страница 126: ...boot deb package just uploaded root orangepi dpkg i linux u boot current orangepipcplus_2 1 0_armhf deb d Then run the nand sata install script root orangepi nand sata install e Then choose 5 Install...

Страница 127: ...ive 5 3 Compile the linux kernel 1 Run the build sh script remember to add sudo permissions test test orangepi build sudo build sh 2 Select Kernel package and then press Enter 3 Then select the model...

Страница 128: ...the build sh script pass in KERNEL_CONFIGURE no to temporarily block the pop up kernel configuration interface test test orangepi build sudo build sh KERNEL_CONFIGURE no b You can also set KERNEL_CON...

Страница 129: ...s stored o k Using kernel config file config kernel linux sunxi current config j The final configuration file config used by the kernel modified the default kernel configuration file through make menu...

Страница 130: ...les used by the kernel c linux image current sunxi_2 1 0_armhf deb contains kernel images and kernel modules test test orangepi build ls output debs linux output debs linux dtb current sunxi_2 1 0_arm...

Страница 131: ...tb deb package are as follows a Use the following command to unzip the deb package test test orangepi build cd output debs test test orangepi_build output debs mkdir test test test orangepi_build outp...

Страница 132: ...IGNORE_UPDATES variable in userpatches config default conf to yes test test orangepi build vim userpatches config default conf IGNORE_UPDATES yes 14 If you modify the kernel you can use the following...

Страница 133: ...uploaded root orangepi dpkg i linux headers current sunxi_2 1 0_armhf deb c After installation you can see the contents of the kernel header file just installed in usr src root orangepi ls usr src lin...

Страница 134: ...llows 5 Then select the type of image a Image with console interface represents the image of the server version which is relatively small b Image with desktop environment means that the image of deskt...

Страница 135: ...without selecting through the graphical interface you can start compiling rootfs directly o k Repeat Build Options sudo build sh BOARD orangepipcplus BRANCH current BUILD_OPT rootfs RELEASE bionic BUI...

Страница 136: ...estart the compilation When compiling the image it will also go to external cache rootfs to find out whether it is already Rootfs with cache available if available use it directly which can save a lot...

Страница 137: ...r 3 Then select the model of the development board 4 Then select the branch a Current will compile u boot v2020 04 linux5 4 b legacy will compile u boot v2018 05 linux3 4 5 Then select the type of roo...

Страница 138: ...tandard version 8 After selecting the type of image it will start to compile the Linux image The general process of compiling the image is as follows a Compile u boot source code and generate u boot d...

Страница 139: ...following information will be prompted a The storage path of the compiled linux image o k Done building output images Orangepipcplus_2 1 0_ubuntu_bionic_server_linux5 4 65 Orangepi pcplus_2 1 0_ubuntu...

Страница 140: ...other versions of Ubuntu systems 3 Android 4 4 has more complete drivers than Android 7 0 Both versions of the SDK are the original SDK released by the chip manufacturer If you want to use the Android...

Страница 141: ...the Android source code option 3 Then select Google Cloud 4 Then download the source code of H3 Android4 4 5 H3 android 4 4 source code contains the following 2 files a OrangepiH3 tar android source...

Страница 142: ...nux kernel and u boot code test test mkdir OrangePiH3 test test tar xf OrangePiH3 tar C OrangePiH3 test test cd OrangePiH3 test test OrangePiH3 ls android lichee 6 1 2 Build android compilation enviro...

Страница 143: ...test sudo apt get install git gnupg flex bison gperf build essential zip curl libc6 dev libncurses5 dev i386 x11proto core dev libx11 dev i386 libreadline6 dev i386 libgl1 mesa glx i386 libgl1 mesa de...

Страница 144: ...vailable business 0 dolphin 1 secure 2 karaok Choice 0 2 After compiling the following information will be output sun8iw7p1 compile Kernel successful INFO build kernel OK INFO build rootfs INFO skip m...

Страница 145: ...enerated android image is as follows test test OrangePiH3 android pack image is at lichee tools pack sun8iw7p1_android_dolphin p2_uart0 img pack finish 3 The path where the generated Android image is...

Страница 146: ...es file descriptions as follows c H3 sdk7 0 2017 11 03 tar gza Sub volume compressed package of android sdk source code d md5sum txt H3 sdk7 0 2017 11 03 tar gza of H3 sdk7 0 2017 11 03 tar gza 6 Afte...

Страница 147: ...3 tar gzan 7 Then add multiple compressed packages and merge them into one compressed file test test H3 Android7 0 cat H3 sdk7 0 2017 11 03 tar gza OrangePiH3 tar 8 Then decompress the source code of...

Страница 148: ...platform support software test test sudo apt get update test test sudo apt get install git gnupg flex bison gperf build essential zip curl zlib1g dev gcc multilib g multilib libc6 dev i386 lib32ncurse...

Страница 149: ...lable business 0 dolphin 1 secure 2 karaok Choice 0 2 After compiling the following information will be output sun8iw7p1 compile Kernel successful INFO build kernel OK INFO build rootfs INFO skip make...

Страница 150: ...st H3 Android7 0 OrangePiH3 android lunch dolphin_fvd_p1 eng test test H3 Android7 0 OrangePiH3 android extract bsp test test H3 Android7 0 OrangePiH3 android make j8 pack 2 The final output log of th...

Отзывы: