
through downloadable packages and GIT repositories. A general Linux kernel introduction from kernel.org can also be found at
https://www.kernel.org/doc/html/latest/admin-guide/README.html
.
Kernel Releases and relationship with Layerscape SDK
There are different Linux kernel releases coming from different sources. Below we listed the ones that are related to the LSDK
kernel.
Kernel.org official kernel releases
• Mainline
Mainline tree is maintained by Linus Torvalds. It's the tree where all new features are introduced and where all the exciting
new development happens. New mainline kernels are released every 2-3 months.
• Longterm (LTS)
There are usually several "longterm maintenance" kernel releases provided for the purposes of backporting bugfixes for older
kernel trees. Only important bugfixes are applied to such kernels and they don't usually see very frequent releases, especially
for older trees.
Refer to
https://www.kernel.org/category/releases.html
for the current maintained Longterm releases.
Linaro LSK kernel release
Linaro is an open organization focused on improving Linux on ARM. They are also providing a Linux kernel release called Linaro
Stable Kernel (LSK). It is based on kernel.org Longterm kernel releases and included ARM related features developed by Linaro.
Normally these features are generic kernel features for the ARM architecture. Please refer to https://wiki.linaro.org/LSK for more
information about the LSK releases.
NXP Layerscape SDK kernel
NXP’s SDK kernel often contains patches that are not upstream yet so essentially the LSDK kernel is an enhanced Linaro LSK
which is in turn an enhanced kernel.org LTS. In order to fully utilize the ARM open source eco-system. The kernel versions provided
in NXP LSDK will be chosen from the kernel.org Longterm releases to include the important bugfixes backported. It will also
include generic ARM kernel features provided by the Linaro LSK release which could be important for some users.
Getting the LSDK kernel source code
With Layerscape SDK, NXP owned/updated software components are published on github. You can use git commands to get the
latest kernel source code.
• Install git command if not there already. For example, on Ubuntu:
$ sudo apt-get install git
• Clone the Linux kernel source code with git.
$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/linux
4.1 Configuring and building
Configuring and building the Linux kernel is controlled by the Kbuild sub-system. You can find documents describing the internal
of Kbuild sub-system under the Documentation/kbuild/ folder in the Linux source code tree if you are adding new files or new
configure options to the kernel. Otherwise as a user of Linux kernel, you probably only want to know how to fine tune the kernel
configuration base on your system requirements and build new kernel image with updated configuration. These are done through
make
commands, below we will talk about
make
commands you probably need to know as a kernel user.
Linux kernel
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
38
NXP Semiconductors
Содержание Layerscape LS1028A BSP
Страница 135: ......