Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3

70 bytes removed, 11:01, 27 June 2022
no edit summary
=== '''Orange Pi 3 hardware parameters''' ===
<div>[[文件File:Orange-pi-3-img1.png|800px]]</div><div>[[文件File:Orange-pi-3-img2.png|800px]]</div><div>[[文件File:Orange-pi-3-img3.png|800px]]</div>
=== '''GPIO specifications''' ===
The following figure is the GPIO pin function diagram of Orange Pi 3:
<div>[[文件File:Orange-pi-3-img4.png|800px]]</div>
{| class="wikitable" style="text-align:center;width:1000px;"
|-
<br>
Enter the root password and press enter
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img5.png|600px]]</div>
<br>
Select 0 Build system with uboot / kernel / rootfs / image to enter the interface of development board model selection.
<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img6.png|600px]]</div>
<br>
Select orange pi 3, enter the kernel version selection interface after entering<br>
<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img7.png|600px]]</div>
<br>
At present, the orangepi 3 development board supports the kernel code of '''Linux 4.9 and mainline.''' Select one of them and press Enter to start downloading the corresponding SDK source code.<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img8.png|600px]]</div>
The downloaded source code will be stored in the same directory of OrangePi_Build<br>
<br>
<br>
Select OrangePi 3 and press Enter
<div>[[文件File:Orange-pi-3-img9.png|600px]]</div>
The functions of each option are as follows:<br>
<div style="font-weight:700">
* 7 Update Uboot —— Update boot0 and u-boot and dtb configuration of SD card Linux system
</div>
<div>[[文件File:Orange-pi-3-img10.png|600px]]</div>
The final file generated by the compilation will be saved in the output directory<br>
{| class="wikitable" style="width:800px;"
* Select Realtek 8812A USB WiFi in the kernel configuration and compile it into a kernel module
<br>
<div style="padding-left:300px;">[[文件File:Orange-pi-3-img11.png|600px]]</div>
* '''Recompile the kernel according to the method of `` Compiling Linux and U-boot Source '''''
<div style="padding-left:300px;">[[文件File:Orange-pi-3-img12.png|300px]]</div>
Partially compiled log looks like this:
<div style="border:1px solid #dddddd;background:#f1f1f1;padding:5px;">
<br>
Then choose 6 Update Module to update the kernel module according to the instructions in the section `` Compiling Linux and U-boot Source ''
<div>[[文件File:Orange-pi-3-img13.png|600px]]</div>
<br>
Next, you can start the system through the SD card and use the new 8812au.ko kernel module to drive the USB WIFI network card.
* '''Format TF card'''
 Check whether the inserted TF card is consistent with the selected drive letter, click the "Restore Card" button to start formatting the TF
<div>[[文件File:Orange-pi-3-img14.png|800px]]</div><div>[[文件File:Orange-pi-3-img15.png|800px]]</div>
<br>
* '''Then select the firmware, select the boot card'''
<br>
<br>
<div>[[文件File:Orange-pi-3-img16.png|800px]]</div>
* '''Click “Burn Card” to start writing to the TF card, and wait for the completion of burning.'''
<div>[[文件File:Orange-pi-3-img17.png|800px]]</div>
 After the Android firmware is successfully programmed, click the "Close" button, and then you can insert the TF card into the development board to start the system
<br>
 If you purchased the Orange Pi 3 development board with EMMC Flash chip, you can also burn the Android image to EMMC through TF card, and then use the development board through the system in EMMC. If you purchased the development board of Orange Pi 3 without EMMC Flash, you can only start the system through TF card.<br>
 As shown in the figure below, the left side is the Orange Pi 3 development board with EMMC Flash chip attached, and the right side is not attached.
<div>[[文件File:Orange-pi-3-img18.png|800px]]</div>
The steps to burn the system to EMMC Flash through TF card are as follows:<br>
<br>
* '''Format TF card'''
Check if the inserted TF card is consistent with the selected drive letter, click the "Recover Card" button to start formatting the TF card.
<div>[[文件File:Orange-pi-3-img19.png|800px]]</div>
* '''Then select the Android firmware of Orange Pi 3, choose the production card among the types of business cards'''
Please note the red mark in the picture below
<div>[[文件File:Orange-pi-3-img20.png|800px]]</div>
* '''Click “Burn Card” to start writing to the TF card, and wait for the completion of burning.'''
<div>[[文件File:Orange-pi-3-img21.png|800px]]</div>
After the Android firmware is successfully programmed, click the "Close" button, and then you can insert the TF card into the development board. After powering on, the system in the TF card will be automatically burned into the EMMC. During the burning process, the red light on the development board will start to flash, and the red light will stop flashing after the burning is completed. You can also see the following programming interface through the HDMI display.
<div>[[文件File:Orange-pi-3-img22.png|800px]]</div>
<div style="text-align:center;width:800px;">Screens displayed during burning</div>
<div>[[文件File:Orange-pi-3-img23.png|800px]]</div>
<div style="text-align:center;width:800px;">Screen displayed after burning is completed</div>
<br>
<br>
* First open Etcher, its interface is shown below
<div>[[文件File:Orange-pi-3-img24.png|800px]]</div>
* Then use "Select image" to select the Linux firmware to be burned
* Then insert the TF card, Etcher will automatically identify the corresponding drive
* Finally, click “Flash!” To start burning. After burning, you can insert the development board to start the system.
<div>[[文件File:Orange-pi-3-img25.png|800px]]</div>
<br>
=== '''Program Linux system into EMMC Flash chip through script''' ===
Currently, only the rtl8822be PCIE driver is integrated in the linux3.10 kernel. The drivers for other PCIE devices have not been adapted for the time being, and other versions of the kernel cannot currently use the PCIE function. If you need to test the function of the PCIE interface, please use the Linux 3.10 image or the Android image.<br>
<br>
<div>[[文件File:Orange-pi-3-img26.png|800px]]</div>
 Insert the RTL8822BE wireless network card module according to the method shown in the figure below and start the system. The system will automatically identify and load the 88x2be.ko kernel module.
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img27.png|800px]]</div>
 The lsmod command can be used to check whether the driver is successfully loaded.
The ifconfig command can be used to check the network node corresponding to the PCIE wireless network card.<br>
<br>
First you need to prepare a USB to TTL serial cable similar to the picture below:<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img28.png|800px]]</div>
Connect the serial cable as shown in the figure below. The functions of the cables of different colors are as follows:<br>
* Black——GND
* Green-RX
* White-TX
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img29.png|800px]]</div>
<br>
=== '''Use on Windows platform''' ===
* '''Install USB driver'''
Download the latest driver PL2303_Prolific_DriverInstaller_v130.zip, download and unzip.<br>
<div>[[文件File:Orange-pi-3-img30.png|800px]]</div>
Select application installation as administrator<br>
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img31.png|800px]]</div>
Wait for the installation to complete
<div style="padding-left:200px;">[[文件File:Orange-pi-3-img32.png|800px]]</div>
* '''Download and install Putty'''
Putty can be downloaded from the following address, please choose the version suitable for your development environment.<br>
<br>
 In Windows 7, we can check whether the serial port connection is normal and the device number of the serial port through the device manager. If the device is not recognized properly, please check if the driver is successfully installed. If there is a problem with the driver installation, you can try to scan and install the driver using 360 Driver Master.
<div>[[文件File:Orange-pi-3-img33.png|800px]]</div>
<br>
* '''Putty configuration'''
<br>
 Set the serial port to the corresponding port number (COM4), disable flow control, and set the speed to 115200
<div>[[文件File:Orange-pi-3-img34.png|800px]]</div>
* Start debugging serial output
OrangePi is powered on and putty will automatically print serial port log information<br>
Baud rate needs to be set to 115200<br>
And turn off flow control
<div>[[文件File:Orange-pi-3-img35.png|800px]]</div>
== '''History''' ==
<br>