Image is a file format that can combine many files into one image file.
After translating and connecting the generated executable file package, burn these image files into the storage chip eMMC of the development board, and start
The machine can be run.
There are two ways to burn, using the OTG interface or TF card. OTG burning can also be called fastboot burning.
4.1 OTG programming
4.1.1 OTG programming environment
OTG burning only needs to be done in Windows environment. The ADB driver must be installed first for OTG burning. Please refer to the user manual.
“Section 3.6 Introduction to Android ADB Functions”.
Then you need to use the fastboot tool, which is in the CD directory "02_Compiler and Burning Tool".
Copy the "fastboot" folder to the desktop, or other directory that does not contain Chinese characters.
4.1.2 Flash Android
To flash Android, you first need to copy the Android image to the "fastboot" directory.
In the "03_Mirror_Android4.4 File System" directory on the CD, there are "1G Memory" folder and "2G Memory" folder.
If the core board is 1G, then burn the image in the 1G memory folder; if the core board is 2G, then burn the 2G memory folder
The image below.
Copy the image files "cache.img", "recovery.img", "system.img", "userdata.img",
Copy "boot.img" and "u-boot-iTOP-4418.bin" to "fastboot", as shown in the figure below.
(, downloads: 0)
2) Use an OTG cable to connect the OTG interface of the development board and the USB of the PC, and connect the serial port of the development board and the serial port of the PC (no
If there is a serial port, you can use USB to serial port). Then open the hyperterminal, as shown below.
(, downloads: 0)
3) Start the development board, press Enter (press Enter in the hyperterminal after powering on), and enter the uboot mode, as shown below
shown.
(, downloads: 0)
4) As shown in the figure below, enter the command "fastboot" in the HyperTerminal.
(, downloads: 0)
5) As shown in the figure below, the device "Android ADB Interface" can be identified in the device manager, indicating that
The ADB driver can be used and the next step of burning can be carried out.
(, downloads: 0)
6) Open "cmd.exe" in the "fastboot" directory, as shown in the figure below.
(, downloads: 0)
7) Note: Be sure to copy the 6 files including "uboot u-boot-iTOP-4418.bin" to the "fastboot" directory first!
Use the command "fastboot.exe flash uboot u-boot-iTOP-4418.bin" to burn uboot, as shown in the figure below.
(, downloads: 0)
8) Use the command “fastboot.exe flash boot boot.img” to burn the kernel image, as shown in the figure below.
(, downloads: 0)
9) Use the command “fastboot.exe flash cache cache.img” to burn the cache file system, as shown in the figure below.
(, downloads: 0)
10) Use the command “fastboot.exe flash system system.img” to flash the file system, as shown in the figure below.
(, downloads: 0)
11) Use the command “fastboot.exe flash userdata userdata.img” to flash the file system, as shown in the figure below.
(, downloads: 0)
12) Use the command "fastboot.exe flash recovery recovery .img" to burn the file system, as shown below
shown.
(, downloads: 0)
13) Use the command “fastboot.exe reboot” to reboot the development board.
(, downloads: 0)
If the development board has not been burned and started with other systems (such as Qt), and no uboot parameters have been set, the development board will be restarted.
After restarting, you will enter the Android system.
If the development board is set to start Qt, enter the uboot mode through the serial console and set it to start with Android.
As shown in the figure below, enter the command "setenv bootsystem android" to set the parameters and the command "saveenv" to save the parameters.
number.
The user then sets the resolution parameters according to the screen.
If it is a 9.7-inch screen, use the command "setenv lcdtype 9.7" to set the parameters, and then use the command "saveenv"
Save the parameters.
If it is a 7-inch screen with a plastic shell, use the command "setenv lcdtype 7.0" to set the parameters, and then use the command
"saveenv" saves the parameters.
If it is a 4.3-inch screen, use the command "setenv lcdtype 4.3" to set the parameters and then save the parameters.
If it is a metal frame 7-inch screen, use the command "setenv lcdtype 1024x600" to set the parameters, and then use
The command "saveenv" saves the parameters.
If it is a 10.1-inch screen, use the command "setenv lcdtype 1024x600" to set the parameters, and then use the command
"saveenv" saves the parameters.
If it is a 5-inch screen, use the command "setenv lcdtype 5.0" to set the parameters, and then use the command "saveenv"
Save the parameters.
(, downloads: 0)
Finally, enter the command "reset" in the serial port console to restart the development board.
|