Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to burn and write the Ubuntu system of device tree kernel

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to burn the Ubuntu system of the device tree kernel". In the daily operation, I believe that many people have doubts about how to burn the Ubuntu system of the device tree kernel. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to burn and write the Ubuntu system of the device tree kernel". Next, please follow the editor to study!

Please note that if you purchased the iMX6D version and want to burn the device tree version image, please use the iMX6D device tree version CD (iMX6D also has a non-device tree version CD)

If you purchased the iMX6Q version and want to burn the device tree version image, please use the iMX6Q device tree version CD (iMX6Q also has a non-device tree version CD)

If you purchased the PLUS version, please use the PLUS version of the CD.

The burning tool is the 02 compiler and burning tool for iMX6D/Q/PLUS device tree kernel CD-ROM materials.

Burn the "android_m6.0.1_2.0.0_ga_tool_20190412.7z" package under the "Burning tool" directory (the red date may change), unzip the package and enter the folder "mfgtools".

Where "MfgTool2.exe" is the burning tool, "cfg.ini" is the configuration file, open "cfg.ini", as shown in the following figure, make sure that the parameter of "[LIST]" is Ubuntu.

The compiled device tree Ubuntu16.04 image is located in the "06 image _ Ubuntu file system" directory of the imx6D/Q/PLUS device tree kernel CD material. It is divided into 1G and 2G images, and users use the corresponding images according to the size of hardware memory.

Here, take the 1G memory image as an example, and compare the "u-boot.imx", "zImage",

"iMX6_ubuntu.tgz" and the rest of "topeet_XXX.dtb" are copied to the burning tool.

Under the "mfgtools\ Profiles\ Linux\ OS Firmware\ files\ ubuntu" directory.

Be sure to perform this step first! Otherwise, the software will report an error when you open the burning tool.

The dialing switch setting of the development board refers to "2.2.1 startup mode setting (dialing switch)" setting to USB burning mode.

Type, connect the otg line, power up the development board. Finally, open the MfgTool2.exe tool in the "mfgtools" directory, such as

If it is a win10 system, it should be run in compatibility mode, as shown in the following figure.

Click "Start" to start writing, as shown in the following figure, the burning tool displays a progress bar. Serial console, in the burning process, there will be some printing information.

As shown in the following figure, the burning is complete, click "Stop", and then turn off the burning tool "MfgTool2.exe".

If the development board is powered off, refer to the section "2.2.1 Startup Mode setting (Dial switch)" and set the development board to eMMC

Start the mode, power up the development board, and then refer to the section "2.2.2 uboot mode" to enter uboot mode, as shown in the following figure.

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

Set screen parameters:

As shown in the table above, the user chooses "setup Command" according to the actual screen. For example, if the author is a 9.7inch screen, use "setenv lcdtype 9.7", and then" saveenv "to save the parameters, as shown in the following figure.

After the setup is complete, use the "reset" command to restart the development board. After the development board starts, it is the Ubuntu16.04 system.

At this point, the study on "how to burn and write the Ubuntu system of the device tree kernel" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report