Compiler uboot, Linux kernel (kernel) and File System (System) of

First, the premise description

1, Andriod, Ubuntu, Linux Minimum system, QT, QTE belong to class Linux operating system, they are in fact by uboot, kernel and system composed of the main difference (Andriod, Ubuntu, Linux Minimum system, QT, QTE, etc. are system on)

2, when burning Andriod, Ubuntu, minimum Linux system, QT, QTE other operating systems, each of which is burning uboot, kernel and file system mirroring. And uboot image, kernel image and mirror system are compiled from its source.

Two, uboot, kernel and compiler system

1, uboot, kernel and system compiled four elements:

1.1 source code;

1.2 compiler;
the uboot kernel compiler and compiler tool chain cross arm-2009q3.tar.bz2system, Android file system compiler is GCC.

1.3 compile the script;

1.4 translation parameters;
The different hardware, different compiler parameters.

2, the step of compiling a generally

2.1 Download the appropriate compiler good, ready / prepared by the appropriate compiler good script;

2.2 Source copied to a directory on the PC Ubuntu system and decompression;

Step 2.3 enter the extract from the source folder, a command input to the compiler (typically compiled script name) and build parameters, wait compiled * (uboot compile time is shorter, about 1 minute; Kernel compile time is moderate, about 10 minutes; System compile a long time, about a few hours. the actual time depending on the specific source code compilation and size of the computer configuration) *, can be compiled to find the corresponding image file in the directory.

Published 34 original articles · won praise 7 · views 10000 +

Guess you like

Origin blog.csdn.net/y_q_m/article/details/103991814