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

What is the method of porting Qt system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly introduces "what is the method of transplanting Qt system". In the daily operation, I believe that many people have doubts about the method of transplanting Qt system. The editor 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 "what is the method of transplanting Qt system?" Next, please follow the editor to study!

By configuring the linux kernel driver, porting the ppp dialing tool in the file system to the Qt system and the minimum linux system, the software packages and documents needed for the migration are on the network disk "iTOP4418 development board data summary (excluding CD content)\ 09_iTOP-4418 development board minimum.

Linux_Qt_Ubuntu extension document\ 23 _ chapter _ Migration EC20 "download.

The EC20 module is packaged into a standard PCIe interface and communicates with the development board mainly through usb. The files provided this time include pppd source code, compiled chat and pppd tools, wcdma,wcdma_back,wcdma-chatconnect, wcdma-chat-disconnect, and pppd_conf.sh scripts to be used at the end of the document, as shown in the following figure

Before compiling, modify the compiler to arm-2009q3 compiler. See manual 5.2.2 "installation of cross-compilation tools" on how to set the compiler. In addition, in order to avoid the possible problems of using environment variables to set up the compiler, most of the compilers in the document use the absolute path of the compiler, and users should first find the absolute path of their own compiler for use. The following figure shows the compiler and compiler package used for this compilation.

From the figure above, we can see that the absolute path of the compiler is "/ usr/local/arm/arm-2009q3/bin/ arm-nonelinux-gnueabi-gcc".

63.1 driver support

First of all, we need to make some modifications to the Linux kernel driver to enable the operating system to support EC20, and first add VID and PID, that is, ID and device ID, the manufacturer of usb. Add the following two items to the kernel / drivers/usb/serial/option.c file in the kernel source code

# define EC20_VID 0x1E0E

# define EC20_PID 0x9001

The figure below is as follows

Then search for option_ids and add the following to the option_ids list.

{USB_DEVICE (EC20_VID, EC20_PID)}

The figure below is as follows

Go back to the kernel directory and configure make menuconfig for the following two items.

At this point, the study on "what is the method of transplanting Qt system" 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