IMX6ULL system porting - image programming method

1. Introduction to burn image

In this article, we will learn : the method of burning the image under the windows system.
How to use the official MfgTool tool provided by NXP to program the system through the USB OTG port .

2. Burn image under windows

1. Preparations before burning the image

(1) Unplug the SD card from the development board.

(2) Hardware connection

First of all, the Alpha development board of punctual atom needs a Mini-USB data cable to connect the computer with the OTG interface of the development board. The OTG interface on the development board is as follows:

(3) DIP switch

The bottom panel dial switch BOOT_CFG is set as follows, set it to the USB connection mode, turn the dial number 2 to ON , and the others are OFF (" 1 " code is ON , " 0 " means OFF ). As follows:

2. Burn image

Programming principle: The mfgtool tool first downloads a Linux system to the DDR chip of the development board, and then completes the programming work through this system.

After the above preparations for burning the image are done, the development board can be powered on.

Note: If the SD card is inserted , please eject the SD card, otherwise the computer cannot recognize the USB !

Burning tool

Burning tool directory: / Development tools -> punctual atom MFG_TOOL factory firmware burning tool -> mfgtool

Here we use the mfgtool tool of punctual atom, which is a programming tool for punctual atom development board. The NXP official original MFG_TOOL programming tool is a programming tool for NXP's own development board.

The mfgtool tool is opened as follows:

Under the mfgtool tool file, the x.vbs file is the programming script for the development board. The naming meaning of the script.

Take Mfgtool2-eMMC-ddr512-eMMC.vbs as an example :

-eMMC : means that the storage medium on the core board is eMMC
-ddr512 : refers to the size of the DDR on the core board is 512MB
-eMMC : Select this script to burn the firmware to eMMC ( generally, the burning system is burned into NAND or EMMC )

The DDR chip on the development board I use here is nand-flash , the DDR is 256MB, and finally it is programmed into the Nand-flash. So, the script selects the "Mfgtool2-NAND-ddr256-NAND.vbs" file .

Burning method

(1) Do the above preparations for programming, and power on the development board.

(2) Double-click the "Mfgtool2-NAND-ddr256-NAND.vbs" script file, as follows:

The MfgTool tool displays the prompt "Vendor-defined device conforming to the HID standard"   , indicating that the programming tool has also recognized the development board, that is, the OTG interface of the development board is successfully connected to the computer.

(3) Press "Start" to start burning, and then wait for the burning to complete. As follows:

(4) After programming is completed, the progress bar turns green. As shown below:

Finally, click the "Stop" button to stop, and then click the "Exit" button to exit.

3. Verification

The above operations burn the image to the Nand-Flash . So, we need to make the development board boot from Nand-Flash .

The operation is as follows:

(1)  First, power off the development board. Dial code development dial to "Nand-Flash" to start, as shown below:

(2)  Power on the development board and start the device. The serial port prints as follows:

It can be seen from the serial port printing information of the above device that the system starts the device from "Nand-Flash".

(3)  After the device is started, the serial port can enter the root authority.

Enter the "cd /" command to enter the root directory. As follows:

Guess you like

Origin blog.csdn.net/wojiaxiaohuang2014/article/details/131365089