Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 4B

142 bytes removed, 11:15, 27 June 2022
no edit summary
|-
| colspan=2 | <div style="text-align:center;">
[[文件File:Orange-pi-small-logo.png|30px|]]<span style="font-weight:700;">range Pi™</span> is a trademark of the Shenzhen Xunlong Software CO., Limited</div>
|}
<br>
<br>
'''Top View:'''
<div>[[文件File:Orange-pi-4-img1.png|800px|]]</div>
<br>
'''Bottom View:'''
<div>[[文件File:Orange-pi-4-img2.png|800px|]]</div>
<br>
=== '''Orange Pi 4B interface details''' ===
==== '''With 16GB EMMC Version''' ====
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img3.png|800px|]]</div>
<br>
==== '''Without 16GB EMMC Version''' ====
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img4.png|800px|]]</div>
<br>
== '''Introduction to the use of the development board''' ==
<br>
1)TF card, a high-speed card of class 10 or higher with a minimum capacity of 8GB, it is recommended 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
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img5.png|300px|]]</div>
2)TF card reader, used to read and write TF card
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img6.png|300px|]]</div>
3)HDMI to HDMI cable, used to connect the development board to an HDMI monitor or TV for display
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img7.png|300px|]]</div>
4)Type-C to HDMI cable, connect the development board to the HDMI monitor or TV through the Type-C interface for display
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img8.png|300px|]]</div>
5)Type-C to USB3.0 adapter, used to connect USB3.0 storage devices or mouse keyboards and other devices
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img9.png|300px|]]</div>
6)10.1 inch MIPI screen, used to display the system interface of the development board
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img10.png|300px|]]</div>
7)Power adapter, 5V/3A or 5V/4A high-quality power adapter, the Type-C USB3.0 interface of the development board can also be used for power input
<div style="padding-left:200px;">
[[文件File:Orange-pi-4-img11.png|300px|]][[文件File:Orange-pi-4-img12.png|300px|]]
</div>
8)USB interface mouse and keyboard, as long as it is a standard USB interface mouse and keyboard, the mouse and keyboard can be used to control the Orange Pi development board<br>
10)OV13850 13 million camera, Orange Pi 4 dedicated camera, compatible with MIPI interface<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img13.png|300px|]]</div>
<br>
11)USB to TTL module and DuPont cable. When using the serial port debugging function, USB to TTL module and DuPont cable are required to connect the development board and the computer
<div style="padding-left:200px;">
[[文件File:Orange-pi-4-img14.png|300px|]][[文件File:Orange-pi-4-img15.png|300px|]]
</div>
<br>
1)The download URL of the Chinese version is<br>
http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-pi-4.html
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img16.png|800px|]]</div>
<br>
2)The download URL of the English version is<br>
http://www.orangepi.online/downloadresources/
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img17.png|800px|]]</div>
<br>
3)The information mainly contains<br>
c.If the computer only has a TF card inserted, the “Select card” column will display the drive letter of the TF card. If multiple USB storage devices are inserted into the computer, you can select the drive letter corresponding to the TF card through the drop-down box<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img18.png|400px|]]</div>
<br>
d.Then click "Format", a warning box will pop up before formatting, and formatting will start after selecting "Yes (Y)"<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img19.png|400px|]]</div>
<br>
e.After formatting the TF card, the message shown in the figure below will pop up, click OK<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img20.png|400px|]]</div>
</div>
<br>
b)Then confirm that the drive letter of the TF card is consistent with the one displayed in the "Device" column<br>
c)Finally click "write" to start burning
<div>[[文件File:Orange-pi-4-img21.png|600px|]]</div>
</div>
c.After the image is written, click the "Exit" button to exit, and then you can pull out the TF card and insert it into the development board to start
4)After entering the balenaEtcher download page, please select the Linux version of the software through the drop-down box to download<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img22.png|600px|]]</div>
<br>
5)After downloading, use '''unzip''' to decompress. The decompressed '''balenaEtcher-1.5.109-x64.AppImage''' is the software needed to burn Linux image
c. Finally click Flash to start burning
</div>
<div>[[文件File:Orange-pi-4-img23.png|800px|]]</div>
<br>
9)The writing speed and remaining time will be prompted during the burning process
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img24.png|800px|]]</div>
<br>
10)After burning, the following interface will be displayed. At this time, you can unplug the TF card from the computer and insert it into the development board to start.
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img25.png|800px|]]</div>
<br>
=== '''Method of flashing Linux image to eMMC''' ===
<br>
1)First download the firmware of Android 8.1 from Orange Pi's data download page, pay attention to select the "Pi4 and Pi4B (SD card boot image)" directory, the image in this directory is the image that supports TF card startup
<div>[[文件File:Orange-pi-4-img26.png|800px|]]</div>
<br>
2)There are two Android images in the '''"Pi4 and Pi4B"''' directory. The one with LCD is the firmware that supports 10.1-inch MIPI screen. The image without LCD only supports HDMI display, not LCD screen display, please choose according to actual needs
<div>[[文件File:Orange-pi-4-img27.png|800px|]]</div>
==== '''Make Android image TF card boot card''' ====
<br>
3)Then download SDDiskTool_v1.59.zip burning tool from Orange Pi's data download page<br>
<br>
<div>[[文件File:Orange-pi-4-img28.png|800px|]]</div>
<br>
4)Then use the decompression software to decompress the compressed package of the downloaded Android firmware. In the decompressed file, the file ending with ".img" is the Android firmware<br>
5)Then use the decompression software to decompress SDDiskTool_v1.59.zip, this software does not need to be installed, you can find SD_Firmware_Tool.exe in the decompressed folder and open it<br>
<br>
<div>[[文件File:Orange-pi-4-img29.png|800px|]]</div>
<br>
6)After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in '''"Select Removable Disk Device"'''. <span style="color:red;">Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn</span>. If there is no display, you can try to unplug the TF card<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img30.png|600px|]]</div>
<br>
7)Then start to write the Android firmware to the TF card<br>
c. Finally, click the '''"Start to create"''' button to start burning the Android image to the TF card
</div>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img31.png|800px|]]</div>
<br>
8) After burning, you can exit SDDiskTool, and then you can unplug the TF card from the computer and insert it into the development board to start.<br>
<br>
1)First download the firmware of Android 8.1 from Orange Pi's download page, pay attention to select the '''"Pi4 and Pi 4B (EMMC boot image)"''' directory, the image in this directory is the image that supports EMMC boot
<div>[[文件File:Orange-pi-4-img32.png|800px|]]</div>
<br>
<div>[[文件File:Orange-pi-4-img33.png|800px|]]</div>
2)There are two Android images in the '''"Pi4 and Pi4B (emmc boot image)"''' directory. The one with LCD is the firmware that supports 10.1-inch MIPI screen. The image without LCD only supports HDMI display and does not support LCD screen display. Please follow Choose according to actual needs
<div>[[文件File:Orange-pi-4-img34.png|800px|]]</div>
<br>
3)Then use the decompression software to decompress the compressed package of the downloaded Android firmware. In the decompressed file, the file ending with ".img" is the Android image file that needs to be burned<br>
<br>
2)Then download Rockchip Microdrive '''DriverAssitant_v4.6''' and the '''Android''' burning tool '''AndroidTool.zip''' under '''Windows''' system
<div>[[文件File:Orange-pi-4-img35.png|800px|]]</div><div>[[文件File:Orange-pi-4-img36.png|800px|]]</div>
<br>
3)After decompressing the '''DriverAssitant_v4.6''' installation package, click the '''DriverInstall.exe''' program to start installing Rockchip Microdrive<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img37.png|600px|]]</div>
<br>
4)The steps to install Rockchip Microdrive are as follows<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img38.png|600px|]]</div>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img39.png|600px|]]</div>
<br>
5)Then connect the DC power adapter to the OrangePi 4, and then connect the OrangePi 4 to the Windows PC through the Type-C data cable<br>
6)Then first press and hold the upgrade button, and then lightly press the reset button. The position of the buttons is shown in the figure below<br>
<br>
<div>[[文件File:Orange-pi-4-img40.png|800px|]]</div>
<br>
7)If everything is normal at this time, OrangePi 4 will enter loader mode. If the development board is connected to the serial port, you will see the following output information in the serial terminal
<br>
8)Then unzip and open AndroidTool
<div>[[文件File:Orange-pi-4-img41.png|800px|]]</div>
<br>
<div>[[文件File:Orange-pi-4-img42.png|800px|]]</div>
<br>
9)At this time, the Loader device recognized will be displayed under the AndroidTool tool, as shown below<br>
<br>
<div>[[文件File:Orange-pi-4-img43.png|800px|]]</div>
<br>
10)Then click the '''"Upgrade Firmware"''' column, and then click the '''"Firmware"''' button to select the Android firmware path. At this time, you need to wait for a while. After the firmware is loaded, click '''"Erase Flash"''' to erase the EMMC system, and finally click the '''"Upgrade"''' button to burn. The sequence is shown in the figure below.<br>
<br>
<div>[[文件File:Orange-pi-4-img44.png|800px|]]</div>
<br>
11)After the burning is completed, the AndroidTool display is as shown in the figure below, and the system will automatically start after the burning is completed<br>
<br>
<div>[[文件File:Orange-pi-4-img45.png|800px|]]</div>
<br>
<br>
3)Download SDDiskTool from Orange Pi's data download page
<div>[[文件File:Orange-pi-4-img46.png|800px|]]</div>
<br>
4)Use decompression software to decompress '''SDDiskTool_v1.59.zip''', this software does not need to be installed, you can find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it<br>
<br>
<div>[[文件File:Orange-pi-4-img47.png|800px|]]</div>
<br>
5)After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in "Select Removable Disk Device". <span style="color:red;">Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn</span>. If there is no display, you can try to unplug and insert the TF card
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img48.png|600px|]]</div>
<br>
6)Then start to write the Android firmware to the TF card
c. Finally, click the "Start Create" button to start burning
</div>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img49.png|600px|]]</div>
<br>
7) After burning, you can exit SDDiskTool, and then you can unplug the TF card from the computer and insert it into the development board. The boot will start to burn the Android image in TF to EMMC.<br>
<br>
8)If the development board is connected to an HDMI display, you can also see the progress bar of burning Android image to EMMC from the HDMI display
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img50.png|600px|]]</div>
<br>
9)When the following message is displayed, it means that burning the Android image to EMMC is complete, and you can pull out the TF card at this time, and then the system will start to boot
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img51.png|600px|]]</div>
<br>
=== '''Method to burn Android image to EMMC based on Ubuntu PC''' ===
<br>
2)Download the '''upgrade_tool tool''', this tool is suitable for Ubuntu PC system. Used to burn Android image to EMMC
<div>[[文件File:Orange-pi-4-img52.png|800px|]]</div>
<br>
<div>[[文件File:Orange-pi-4-img53.png|800px|]]</div>
<br>
3)Then execute the command in the terminal to decompress upgrade_tool and add executable permissions
5)Then press and hold the upgrade button of the Orange Pi 4B development board, and then lightly press the reset button. The position of the button is shown in the figure below<br>
<br>
<div>[[文件File:Orange-pi-4-img54.png|800px|]]</div>
<br>
6)If everything is normal, OrangePi 4B will enter the loader mode at this time, and then execute the '''./upgrade_tool LD''' command to check whether the loader device is recognized
<br>
2)Then use metal tweezers to connect the solder joints reserved for OrangePi 4B (note the yellow circle in the picture below), and keep
<div>[[文件File:Orange-pi-4-img55.png|800px|]]</div>
<br>
3)Then plug the Orange Pi 4B into the DC power supply, wait for 2~3 seconds, and then loosen the metal tweezers. At this time, the OrangePi 4B development board will enter the maskrom mode<br>
<br>
4)Then use the Type C cable to connect the OrangePi 4B development board and the Windows PC, and then open the AndroidTool tool, if everything is normal, you can see that AndroidTool has found a maskrom device
<div>[[文件File:Orange-pi-4-img56.png|800px|]]</div>
<br>
At this time, you can burn the Android image, please refer to the steps to burn the Android image directly to EMMC through the Type C interface<br>
<br>
1)First, you need to prepare a USB to TTL module. For better platform compatibility, CH340 USB to TTL module is recommended. Then insert one end of the USB interface of the USB to TTL module into the USB interface of the computer
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img57.png|800px|]]</div>
<br>
2)The corresponding relationship between the debug serial port GND, TX and RX pins of the development board is shown in the figure below
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img58.png|800px|]]</div>
<br>
3)The GND, TX and RX pins of the USB to TTL module need to be connected to the debug serial port of the development board through a Dupont cable
<br>
4)The schematic diagram of connecting the USB to TTL module to the computer and the Orange Pi development board is shown below
<div>[[文件File:Orange-pi-4-img59.png|800px|]]</div>
<br>
5)If you are using a CP2102 USB to TTL module, under the condition of a baud rate of 1.500000, some systems may encounter garbled or unusable problems. The specific test situation is as follows
<br>
5)After executing the putty command, the following interface will pop up
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img60.png|800px|]]</div>
<br>
6)First select the setting interface of the serial port
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img61.png|800px|]]</div>
<br>
7)Then set the parameters of the serial port
c. Set Flow control to None
</div>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img62.png|800px|]]</div>
<br>
8)After setting the serial port setting interface, return to the Session interface
b. Then click the Open button to connect to the serial port
</div>
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img63.png|800px|]]</div>
<br>
9)After starting the development board, you can see the Log information output by the system from the opened serial port terminal
<div style="padding-left:200px;">[[文件File:Orange-pi-4-img64.png|800px|]]</div>
<br>
==== '''How to use the debug serial port on Windows platform''' ====
https://mobaxterm.mobatek.net/
b.'''After entering the MobaXterm download page, click GET XOBATERM NOW!'''
<div style="padding-left:180px;">[[文件File:Orange-pi-4-img65.png|800px|]]</div>
<br>
c.Then choose to download the Home version
<div style="padding-left:180px;">[[文件File:Orange-pi-4-img66.png|800px|]]</div>
<br>
d.Then select the Portable version, after downloading, you don’t need to install it, you can open it directly
<div style="padding-left:180px;">[[文件File:Orange-pi-4-img67.png|800px|]]</div>
<br>
</div>
3)After downloading, use the decompression software to decompress the downloaded compressed package, you can get the executable software of MobaXterm, and then double-click to open it
<div>[[文件File:Orange-pi-4-img68.png|800px|]]</div>
<br>
4)After opening the software, the steps to set the serial port connection are as follows
e. Finally click the "OK" button to complete the setting
</div>
<div>[[文件File:Orange-pi-4-img69.png|800px|]]</div>
<br>
5)After clicking the "OK" button, you will enter the following interface, and you can see the output information of the serial port when you start the development board.
<div>[[文件File:Orange-pi-4-img70.png|800px|]]</div>
<br>
For more information on using the Orange Pi 4B, please see the [http://localhost:8080/index.php?title=%E6%96%87%E4%BB%B6:Orange_Pi_4.docx <span style="color:red;">Orange Pi 4B User Manual</span>]. (Click to download)