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

Qroomamppac An about Linux

2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Sorry, personal logical thinking is not very good, the following try to use visual analogy to explain, popular but not necessarily accurate. The accurate description still needs to turn over the document, just to throw a brick to attract jade.

Q1: what is the purpose of cross-compilers?

A1: just as people who speak two different languages need a translator to communicate, a cross-compiler is equivalent to a translation. Well, that's not exactly the case. The final result of the compiler is for a package of chip partners to use, so whether it runs on win, on arm, or on linux, it is a binary file. But these binaries are not universal because of their different architectures. Just like all compressed files, different formats need to be dealt with differently. With this product, a C program can be written under the win system, and then cross-compiled into the desired binary file and then downloaded to the embedded hardware for execution.

Q2: the learning method of embedded system?

A2: after reading a lot of materials and experience, learning embedded systems is the same as computer software design. Because the learning object is powerful, you can't delve into it like other technologies at the beginning. If you want to develop products that meet the needs of the market, you should pay more attention to how to make use of existing technologies and commonly used functions to achieve system integration. In the process of system iteration, you should conduct in-depth research on a certain aspect in order to obtain continuous improvement. Don't expect to make a perfect system at once. Rapid prototyping and focusing on iteration can conform to the trend of the times.

What is Q3:fastboot used for?

A3: connect the host computer and embedded hardware by USB OTG. On the computer side, open the cmd console and input relevant instructions to download uboot, kernel and file system (burning / brushing / writing). Put the files you need to download into the same folder as fastboot before downloading.

What is Q4:emmc?

A4: a high-speed, low-power memory suitable for mobile portable devices. E is embedded, born for embedded! For a detailed description, see Baidu or Samsung product description, remember that the storage unit of emmc is block (block), 1 block=512 byte. Pay attention to the declaration type when formatting: mmc.

What is related to the serial port in Q5:Linux is called "tty" instead of "UART", "srp" or other characters?

A5: a little bit of literal feeling, or a simple mention, easy to remember. Tty is teletypewrite (teletypewriter), derived from the ancient Unix system, the input mode of punched computers in the last century. Just like the name "train", although normal passenger trains no longer burn coal.

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

Servers

Wechat

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

12
Report