In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how to get started with Linux program development. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Linux program development
The linux program is generally divided into two parts:
1. Underlying driver development
two。 Application layer application development
Driver program
In general, the driver is related to the kernel and hardware, the programming language is C language, need to understand some hardware knowledge, at least need to understand the hardware schematic diagram and chip manual.
The hardware schematic diagram tells us the logic of the underlying interface and the conditions under which the chip works (voltage, current, clock pulse, etc.)
The chip manual tells us how to configure and use the chip. The most important thing is to understand the register configuration. For the chip configuration, it is to configure each register, for example, to configure an AD audio and video capture chip: you need to configure the audio sampling rate, sampling points, sampling bits, and so on. Video needs also have corresponding parameters such as bit rate, frame rate, brightness, sharpness, data coding format (BT656, BT1120, etc.) and so on, and these parameters correspond to their registers one by one, that is, to find their corresponding registers and write the required values to the registers, then they can be configured as the corresponding modes.
In addition, we also need to understand the kernel, such as the driver framework of the kernel, the interface that the kernel provides for driver calls, the mechanism of the kernel scheduling drivers, and so on. Drivers usually have higher requirements for developers than application developers and need more knowledge, so they are usually paid more than application developers. However, the demand for driver development is not as much as that of applications, because after the driver is generally completed, it does not need to be changed, and general driver development is needed in chip manufacturers, and companies that do specific applications generally have few driver personnel.
Application program
Applications are basically through common programming languages to develop specific business programs, this programming language is no longer limited to C language, can be C, C++, java, Python, lua, shell, as well as web front-end development and so on.
Application layer, as the name implies, is application, different industries have different business, that is, different applications. For example, in the intelligent public transport industry, what we need to do is GPS positioning, location reporting, automatic stop announcement according to the location, and the platform needs to do GPS-based location information to achieve intelligent vehicle scheduling and so on. Therefore, the demand for application developers is much greater than that for driver developers. Another advantage of doing application development is that you can be familiar with the business knowledge of the industry, which may be beneficial to your career development. You can not confine your vision to technology, but realize business functions through technology, that is, to realize the needs of customers. You can gradually develop a market-oriented thinking instead of just focusing on technology. After all, technology is only a means and a tool. In the end, we have to solve the problems of customers or the market.
To do application development, the threshold for entry is relatively low, and you can do development just after graduation. But there is still a big difference between good application development engineers. Where are these differences? I think it is mainly reflected in the following aspects:
1. Analysis of requirements
two。 Architecture design of application program
3. Overall system design
Demand analysis
For the analysis of business requirements, different people have different degrees of understanding, and novices tend to underestimate technical difficulty and workload.
Application architecture design
In general, different industries or companies have their own set of application frameworks, which are generally based on business logic. This is not designed all at once, but is gradually improved according to the company's business. Eventually evolved.
Overall system design
This item may only exist in embedded systems; the system here refers to the software system of the entire device, including uboot, kernel, file system, and flash partition design; there are many skills, such as the more important one: upgrade function.
For embedded systems, upgrading is the most important thing to consider, and the frequency of equipment pre-upgrade may be relatively high, on the one hand, due to the existence of bug in the newly launched software, on the other hand, the increase in demand. If the early design of the system is not reasonable, upgrading the system or applications in the later stage may be troublesome, so before the equipment goes online, the upgrade should be very stable, and it is best to support remote upgrade; in addition, in the partition design of flash, it is best to make a backup system partition, that is, in case the main system is abnormally unable to start, you can choose to start through the backup system, and then update and repair the main system. The details will not be detailed here, but will be specially introduced later.
Concluding remarks
For Linux application development, the introduction is very simple, embedded linux applications, and linux applications are basically not much different, if you are familiar with the Cmax Cure + language, then it is easy to start, experienced several complete projects, filled some holes, is considered to enter the industry.
After reading the above, do you have any further understanding of how to get started with Linux program development? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.