Linux system transplantation: Kernel top-level Makefile (Part 2)
Continue to analyze the top-level Makefile execution process of Linux kernel source code
1, make defconfig procedure
Like the top-level makefile of uboot, make XXX should be used before compiling the source code_ Defconfig configures the Linux kernel, and the code configure ...
Posted by jason97673 on Thu, 03 Mar 2022 14:59:28 +0100
At the beginning of this month, I sorted out the technical articles: The article [gcc compilation optimization series] shows you how C code is compiled , I have received praise from several friends; At the same time, I was particularly surprised to receive the senior leaders of the forum aozima I'm really honored to recommend a ...
Posted by Pr0digy on Fri, 31 Dec 2021 23:35:30 +0100
1. Overview of MHA
At present, MHA is a relatively mature solution in mysql high availability. It is developed by Japanese DeNA company youshimaton (now working in Facebook company), and it is an excellent high availability software for failover and master-slave improvement in mysql high availability environment. In the process of mysql failov ...
Posted by dbakker on Sun, 22 Mar 2020 16:49:22 +0100
Adding modules to the kernel
Add drivers to the linux source directory, typically inside / Drivers
Add the project compilation option corresponding to the driver in the Kconfig file where the directory is located
Add compilation statements for new drivers to the Makefile file file ...
Posted by jonnyw6969 on Mon, 16 Mar 2020 02:26:13 +0100
There is a log library for developers to use in boost, but the efficiency is not the highest:
Add the header file "include < boost / log / trial. HPP > to import the log Library
The log Library in boost has the following six levels:
BOOST_LOG_TRIVIAL(trace) << "A trace severity message" ...
Posted by phpyoungdeveloper on Mon, 27 Jan 2020 15:23:30 +0100
Using the tree command under linux can easily view the file tree structure under the specified directory, but some systems do not install the command, so you need to install it manually. Take the installation of Ubuntu as an example, and other linux systems are similar.
To install under ubuntu:
With the net ...
Posted by bedted on Tue, 31 Dec 2019 06:39:21 +0100
The main contents of this chapter are as follows:
Python Keyword - cdef
Typedef and function pointer
C / C + + log to Python
C / C + + calls Python ConfigParser
Python to C / C + + callback
Integration with build systems
Embedding python in C/C + +
Posted by _rhod on Sat, 28 Dec 2019 16:21:24 +0100
It is really too pit, really want to Tucao about this operation system practice, each time is compile the kernel. The textbook was written in 2009, all the code before kernel 3.3.
I record the system call experiment, hope you can avoid stepping on the pit.
Method 1: kernel compilation
Here I give you a link. This blog is wel ...
Posted by derrick1123 on Sat, 30 Nov 2019 12:19:12 +0100
I. Driver Module Transfer Parameters
1. Pass a single parameter
(1) Location: in include/linux/moduleparam.h under the source directory
(2) Function prototype
* module_param - typesafe helper for a module/cmdline parameter
* @value: the variable to alter, and exposed parameter name.
* @type: th ...
Posted by trevorturtle on Wed, 02 Oct 2019 13:55:16 +0200