How to burn the system of Xunwei 6818 development board

Publisher:huijiazi5210Latest update time:2022-01-25 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I got a 6818 development board and would like to share with you the steps to burn the system. The manual is written very carefully. Great!

 

 

1. Make a startup TF card

If uboot exists in the EMMC of the iTOP-4418 development board, this step can be ignored. Manually partition the TF card.

The front of the TF card reserves about 64M of space for storing uboot.

PartitionManager tool, the detailed operation steps are as follows:

 

1) Prepare a TF card of no less than 2G and connect it to a PC with Windows system through a card reader.

superior;

2) Find the PartitionManager.exe tool in the "02 Compiler and Burning Tool" directory on the CD and open it.

The interface is as follows:

 

 

 

In the above figure, the "I:" disk is the partition of our TF card. We need to use the PartitionManager tool to

A portion of the TF card is reserved for storing uboot. First, right-click the removable disk (I:) at the bottom and click

Click Delete Partition, as shown below:

 

 

The software will pop up a confirmation interface:

 

 

Enter a volume name, check "Do not ask again next time (D)", and click "Yes" to delete the original partition.

Right-click the partition and click Create Partition, as shown below:

 

 

 

In the "Please specify the free space size in front of the partition" column, fill in the space we need to reserve. Here we fill in "64".

It is enough for uboot. Select "FAT32" in the "Please select the file system (S) for the new partition".

Then click the "Yes" button, and then click "Apply" in the shortcut menu of the main interface. After successful partitioning, it will be as shown below:

 

 

 

2. Burn Uboot to TF card:

As shown in the figure below, before connecting the TF card to Ubuntu, use the command "df -l" to check the drive letter.

 

 

 

As shown in the figure below, the TF card is connected to Ubuntu, and the command "df -l" is used again to view the drive letter

 

 

 

Comparing the results of checking the drive letter twice, we can see that there is an additional "/dev/sdb1", or it may be "/dev/sdc1"

Or something else.

 

Enter the directory "u-boot" of the iTOP-4418 Android source code, as shown in the figure below, and you can see the script file

"mkuboot", and the uboot image "u-boot-iTOP-4418.bin" (if there is no uboot image, copy

You can compile uboot image to this directory or run the compile command to compile and generate uboot image).

 

 

 

As shown in the figure below, use the command "./mkuboot /dev/sdx". Note that sdx means sdb or sdc.

If you specify a drive letter, use the corresponding drive letter name.

 

 

As shown in the figure above, the script was executed successfully.

Then connect the TF card to the development board, set the thin code switch to TF card boot, and enter the uboot mode, as shown in the figure below.

 

 

As shown in the figure below, use the command "fastboot" and then you can burn the eMMC via OTG

 

 

3. OTG burning

 

The OTG flashing method requires the installation of the ADB driver first. Please refer to the user manual "Section 3.6 Introduction to Android ADB Functions"

1) CD directory "02_Compiler and Burning Tool" → folder "USB_fastboot_tool" under "tools"

It is an OTG burning tool.

Copy "USB_fastboot_tool" to the desktop (or other directory that does not contain Chinese characters), and replace "03_

Image files "cache.img", "system.img" in the "Image_Android4.4 File System" directory,

Copy "userdata.img", "boot.img", "u-boot-iTOP-4418.bin" to "USB_fastboot_tool"

→ Under "platform-tools", as shown below

 

 

2) Use an OTG cable to connect the OTG port 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.

 

 

3) Start the development board and press Enter (press Enter in the HyperTerminal after powering on) to enter the uboot mode, as shown in the figure below

 

 

4) As shown in the figure below, in the HyperTerminal, enter the command "fastboot"

 

 

 

5) As shown in the figure below, the device "Android ADB Interface" can be identified in the device manager, indicating that the previous

The ADB driver can be used and can proceed to the next step of burning.

 

 

 

6) Open "cmd.exe" in the "USB_fastboot_toolplatform-tools" directory, as shown in the figure below.

 

 

 

7) Use the command "fastboot.exe flash uboot u-boot-iTOP-4418.bin" to burn uboot, as shown below

shown.

 

 

8) Use the command "fastboot.exe flash boot boot.img" to flash the kernel and ramdisk file system as follows

As shown in the figure.

 

 

 

9) Use the command “fastboot.exe flash cache cache.img” to burn the cache file system, as shown in the figure below.

 

 

 

 

10) Use the command “fastboot.exe flash system system.img” to flash the file system, as shown in the figure below.

 

 

11) Use the command “fastboot.exe flash userdata userdata.img” to burn the file system, as shown in the figure below.

 

 

12) As shown in the figure below, use the command "fastboot reboot" to reboot the development board and the flashing is completed.

 


Reference address:How to burn the system of Xunwei 6818 development board

Previous article:Xunwei iTOP-6818 Qtopia2.2.0 development environment builds and compiles the image
Next article:S3C2440 bare metal review ------ GPIO

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号