Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 4 LTS

15,374 bytes added, 11:14, 17 June 2022
no edit summary
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
2)Then use the card reader to insert the TF card into the computer<br> 3)Download balenaEtcher software, the download address is<br> https://www.balena.io/etcher/ 4)After entering the balenaEtcher download page, please select the Linux version of the software through the drop-down box to download<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img34.png|600px|]]</div><br>5)After downloading, please use the '''unzip''' command to decompress the downloaded compressed package. The decompressed '''balenaEtcher-1.5.109-x64.AppImage''' is the software needed to burn the Linux image<div style="background:#f1f1f1;border:1px solid #000;">test@test:~$ '''unzip balena-etcher-electron-1.5.109-linux-x64.zip''' <br>Archive: balena-etcher-electron-1.5.109-linux-x64.zip<br>inflating: balenaEtcher-1.5.109-x64.AppImage<br> test@test:~$ '''ls'''<br>'''balenaEtcher-1.5.109-x64.AppImage''' balena-etcher-electron-1.5.109-linux-x64.zip</div><br>6)Download the compressed package of the Linux operating system image file you want to burn from the data download page of Orange Pi, and then use the decompression software to decompress it. In the decompressed file, the file ending with ".img" is the image file of the operating system. The size is generally more than 1GB<br>The decompression command for the compressed package ending in 7z is as follows<div style="background:#f1f1f1;border:1px solid #000;">test@test:~$ '''7z x''' <br>'''Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.7z''' <br>test@test:~$ '''ls Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.*''' <br>Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.7z <br>Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.sha #checksum file <br>Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.img #image file</div><br>7)After decompressing the image, you can use the sha256sum -c *.sha command to calculate whether the checksum is correct. If the message is successful, it means that the downloaded image is correct, and you can safely burn it to the TF card. If the checksum does not match, it means that There is a problem with the downloaded image, please try to download again<div style="background:#f1f1f1;border:1px solid #000;">test@test:~$ '''sha256sum -c *.sha''' <br>Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.img: '''success'''</div><br>8)Then double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher (no installation required), the interface after balenaEtcher is opened is shown in the following figure<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img35.png|600px|]]</div><br> 9)The specific steps to use balenaEtcher to burn a Linux image are as follows<br>a. First select the path of the Linux image file to be burned<br>b. Then select the drive letter of the TF card<br>c. Finally, click Flash to start burning the Linux image to the TF card<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img36.png|600px|]]</div><br> 10)The interface displayed in the process of balenaEtcher burning the Linux image is shown in the figure below. In addition, the progress bar shows purple to indicate that the Linux image is being burned to the TF card.<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img37.png|600px|]]</div><br> 11)After the Linux image is burned, balenaEtcher will also verify the image burned to the TF card by default to ensure that there is no problem in the burning process. As shown in the figure below, a green progress bar indicates that the image has been burned, and balenaEtcher is verifying the burned image.<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img38.png|600px|]]</div><br> 12)After the successful burning, the display interface of balenaEtcher is shown in the figure below. If the green indicator icon is displayed, it means that the image burning is successful. At this time, you can exit balenaEtcher, and then pull out the TF card and insert it into the TF card slot of the development board.<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img39.png|600px|]]</div><br> === '''Method of programming Linux image to eMMC''' ===<br><div style="color:#0070c0;">See the method of burning linux image to EMMC</div><br>=== '''How to burn Android firmware to TF card''' ===<br><div style="border:1px solid #000;padding:2px;"><div style="border:1px solid #000;padding:4px;background:#ffffdc;"> '''The Android firmware of the development board can only be burned to the TF card using SDDiskTool software under the Windows platform. In addition, the SDDiskTool software does not have a Linux platform version, so it is impossible to burn the Android system to the TF card under the Linux platform.'''</div></div> 1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br> 2)Then use the card reader to insert the TF card into the computer<br> 3)Then download the SDDiskTool programming tool and Android firmware from the data download page of Orange Pi. The Android firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the TF card boot version, and pay attention to the TF card boot version. The name of the Android firmware contains the word "SD"<br> 4)Then use the decompression software to decompress the downloaded Android firmware compressed package. 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, find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img40.png|600px|]]</div><br>6)After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in the '''"Select Removable Disk Device"''' column. <span style="color:res">Please make sure that the displayed disk device is the same as the drive letter of the TF card you want to burn</span>. Yes, if there is no display, you can try to unplug the TF card<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img41.png|600px|]]</div><br>7)After confirming the drive letter, format the TF card first, click the '''restore disk''' button in SDDiskTool, or use the SD Card Formatter mentioned above to format the TF card<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img42.png|600px|]]</div><br>8)Then start writing Android image to TF card<br><p style="padding-left:20px;">a. First check "SD Boot" in "Select Function Mode"<br>b. Then select the path of the Android image in the "Select firmware upgrade" column<br>c. Finally, click the "Start Creation" button to start burning the Android image to the TF card</p><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img43.png|600px|]]</div><br>9) After burning, you can exit SDDiskTool, and then you can pull out the TF card from the computer and insert it into the development board to start<br> === '''The method of burning Android firmware to eMMC based on Windows PC''' ===<div style="border:1px solid #000;padding:2px;"><div style="border:1px solid #000;padding:4px;background:#ffffdc;"> '''Orange Pi 4 LTS has three upgrade modes, namely MaskRom mode, Loader mode and SD upgrade mode. The first two modes need to be burned through the Type C cable, and the latter mode is burned through the TF card. For the way of programming through Type C cable, if there is no programming system in eMMC, it will enter MaskRom mode by default. If a bootable system has been programmed in eMMC, you can enter Loader mode for programming. It should be noted that if the system in eMMC is damaged due to an accident in programming or other reasons, it will not be able to enter the Loader mode for programming. You need to enter the MaskRom mode according to the method of entering the MaskRom mode, and then use the TypeC cable to connect. Computer and development board for programming'''</div></div>==== '''Directly burn Android firmware to eMMC through Type C interface''' ====1)First prepare a good quality Type C data cable<br> 2)Then download the Rockchip driver DriverAssitant_v4.6, the burning tool AndroidTool and the firmware of Android8.1 from the data download page of Orange Pi. The Android firmware on the official website has two versions: eMMC boot and TF card boot, here you need to choose eMMC The boot version, note that the name of the Android firmware that supports eMMC boot does not contain the word "SD", and please ensure that the version of the AndroidTool tool is v2.58, please do not use AndroidTool software lower than v2.58 to burn Android 8.1 firmware of Orange Pi 4 LTS, AndroidTool tools lower than this version may have problems to program Android 8.1 system<br> 3)Decompress DriverAssitant_v4.6.zip with decompression software, find the DriverInstall.exe executable file in the decompressed folder and open it<br><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img44.png|600px|]]</div><br>4)The steps to install Rockchip micro driver are as follows<br>a.Click the "Driver Installation" button<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img45.png|600px|]]</div><br>b.After waiting for a while, a pop-up window will prompt "Driver installed successfully"<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img46.png|600px|]]</div><br>5)Unzip AndroidTool_v2.58.zip, this software does not need to be installed, just find AndroidTool in the unzipped folder and open it<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img47.png|600px|]]</div><br>6)After opening the AndroidTool tool, because the computer has not been connected to the Orange Pi 4 LTS development board through the Type-C cable at this time, the lower left corner will prompt "No Devices Found"<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img48.png|600px|]]</div><br>7)Then start the burning of Android firmware<br><p style="padding-left:20px;">a. First connect the DC power adapter to the OrangePi 4 LTS development board, and make sure to unplug the TF card<br>b. Then connect OrangePi 4 LTS to Windows PC via Type-C cable<br>c. First press and hold the upgrade button of Orange Pi 4 LTS, then lightly press the reset button and release it immediately, wait for 3~5 seconds and then release the upgrade button. The position of the button on the development board is shown in the figure below.</p><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img49.png|600px|]]</div>a.If the previous steps are successful, the development board has entered the Loader mode, and "Found One LOADER Device" will be prompted on the interface of the AndroidTool tool<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img50.png|600px|]]</div><br><div style="border:1px solid #000;padding:2px;"><div style=""border:1px solid #000;padding:4px;background:#fffffd> '''If no system is burned in eMMC, then AndroidTool will prompt "Found a MaskROM device"'''</div></div><br>b.Then click the "Upgrade Firmware" column of AndroidTool<br><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img51.png|600px|]]</div>c.Then click the "Firmware" button to select the path of the Android firmware, and then click "Open", as shown in the following figure<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img52.png|600px|]]</div>d.After the Android firmware path selection is completed, the firmware will start to be loaded, and the button will turn into a gray unselectable state.<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img53.png|600px|]]</div>e.After the firmware is loaded, the button becomes selectable, and then click "Erase Flash" to start erasing eMMC<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img54.png|600px|]]</div>f.The interface of the successful erasing is shown in the figure below, because the system in eMMC has been erased, so you can see the prompt "found a MASKROM device"<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img55.png|600px|]]</div>g.Finally, click the "Upgrade" button to burn. During the burning process, the AndroidTool is displayed as shown in the figure below, and the Android system will automatically start after the burning is completed.<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img56.png|600px|]]</div>==== '''Burn Android image to eMMC via TF card''' ====1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br> 2)Then use the card reader to insert the TF card into the computer<br> 3)Download the Android firmware and SDDiskTool programming tool from the data download page of Orange Pi. It should be noted that the firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the eMMC boot version, and pay attention to support eMMC boot The firmware does not contain the word "SD", and please ensure that the version of SDDiskTool is v1.59<br> 4)Then use the decompression software to decompress the downloaded Android firmware compressed package. In the decompressed file, the file ending with ".img" is the Android firmware<br> 5)Use the decompression software to decompress '''SDDiskTool_v1.59.zip''', this software does not need to be installed, just find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it<br><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img57.png|600px|]]</div><br>After opening SDDiskTool, if the TF card is recognized normally, the inserted disk device will be displayed in "Select Removable Disk Device". Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn. If there is no display, you can try to unplug the TF card<br><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img58.png|600px|]]</div><br>7)Then start writing Android firmware to TF card<br><p style="padding-left:20px;">a. First select the path of the Android firmware in the "Choose firmware" column<br>b. Then select "Firmware Upgrade" in "Choose function mode"<br>c. Finally click the "Create" button to start burning</p><div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img59.png|600px|]]</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. After the development board is powered on, it will start to burn the Android firmware in the TF to the eMMC.<br> 9)If the development board is connected to an HDMI display, you can also see the progress bar of burning Android firmware to eMMC from the HDMI display<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img60.png|600px|]]</div><br>10)When the following information is displayed, it means that the Android firmware has been burned into the eMMC. At this time, the TF card can be pulled out, and then the Android system in the eMMC will start to start.<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img61.png|600px|]]</div><br>