iMX6Q / PLUS development board programming device tree system kernel Ubuntu

Based fast as -iMX6D, iMX6Q and iMX6PLUS three hardware versions, programming methods and equipment directory tree mirror mirror, mirror all the same name, so the author will be programmed chapters merged together.

Note that if you are buying a iMX6D version, you want to program the device tree mirrored version, please use the CD-ROM version of the device iMX6D tree (iMX6D device also has a non-tree version of the CD-ROM);

If you purchased a iMX6Q version, you want to program the device tree mirrored version, use the version of the device tree iMX6Q disc (iMX6Q there is a non-CD version of the device tree);

If you purchased or PLUS version, use the PLUS version of the CD-ROM.

Programming tool is iMX6D / Q / PLUS kernel CD-ROM device tree "02 compilers and programming tools

Burning tools android_m6.0.1_2.0.0_ga_tool_20190412.7z "directory" "archive (date may become red), extracting archive, unpack into the folder" mfgtools ".

Wherein, "MfgTool2.exe" is a programming tool, "cfg.ini" is a profile, open "cfg.ini", as shown below, to ensure that "[LIST]" parameter is Ubuntu.

Compiled device tree Ubuntu16.04 mirrored in imx6D / Q / PLUS kernel device tree of the CD-ROM "06 mirror _Ubuntu file system" directory. Wherein the image is divided into 1G and 2G, the user image corresponding to the hardware memory size.

Example 1G herein by memory mirroring, in which the "u-boot.imx", "zImage",

"IMX6_ubuntu.tgz", as well as the rest of the "topeet_XXX.dtb" to copy all programming tools

"Mfgtools \ Profiles \ Linux \ OS Firmware \ files \ ubuntu" directory.

Be sure to perform this step! Otherwise, open the back of the programming tool software error.

Development board DIP switch to set the reference "2.2.1 startup mode (DIP switch)" is set to programming mode USB

Type, connected otg line, development collector plate. Finally opened the "mfgtools" directory "MfgTool2.exe" tool (such as

If a win10 system, to be run in compatibility mode), as shown below.

Click "Start" to start programming, as shown below, a progress bar appears programming tools. Serial console, in the programming process, there will be some printed information.


The figure below shows, the programming is completed, click "Stop", then turn off the burning tools "MfgTool2.exe".

Development board power, refer to "2.2.1 startup mode (DIP switch)" section, the board will be set to eMMC

Start mode, the electric board development, and with reference to "2.2.2 uboot mode" section, enter uboot mode, as shown in FIG.

Set system parameters: the uboot command line, using the command "setenv bootsystem ubuntu" parameter to set the environment variable "qt" startup mode, and then use the "saveenv" Save, as shown below.


Settings screen parameters:

As shown in the above table, according to the actual screen using the "command set." E.g. OF 9.7-inch screen, use the "setenv lcdtype 9.7", and "saveenv" save parameters, as shown in FIG.

After the setup is complete, use the "reset" command to reboot the development board, development board after the start is Ubuntu16.04 system.

Guess you like

Origin www.cnblogs.com/liyue3/p/11969635.html