wb_editors
14 391
правка
(Новая страница: «or via ssh if you have an account: <pre> git clone git@github.com:contactless/linux.git KERNEL </pre>») |
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Сборка ядра/en в How To Build Linux Kernel/en без оставления перенаправления: Часть переводимой страницы Сборка ядра.) |
||
(не показано 13 промежуточных версий 1 участника) | |||
Строка 32: | Строка 32: | ||
</pre> | </pre> | ||
'''3.''' | '''3.''' Initialize external modules: | ||
<pre> | <pre> | ||
cd KERNEL</pre> | cd KERNEL</pre> | ||
Строка 39: | Строка 39: | ||
<pre> | <pre> | ||
git submodule update</pre> | git submodule update</pre> | ||
'''4.''' | '''4.''' Install config for build on Wiren Board<pre> | ||
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- mxs_wirenboard_defconfig | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- mxs_wirenboard_defconfig | ||
</pre> | </pre> | ||
== | ==Building the kernel== | ||
The kernel built with the package in tar.gz archives: | |||
./build.sh | ./build.sh | ||
Build the Debian package | |||
./build_deb.sh | ./build_deb.sh | ||
== | == Installing on Wiren Board == | ||
export kernel_version=3.19.0-imxv5-x0.1 | export kernel_version=3.19.0-imxv5-x0.1 | ||
( | (the version string should be taken from the output of the Assembly scripts from the previous paragraph) | ||
Скрипты: | Скрипты: | ||
* tools/copy_kernel_latest_deb.sh - | * tools/copy_kernel_latest_deb.sh - copies and installs the latest. deb kernel package. Argument: folder with rootfs (or mounted eMMC/microSD drive Wiren Board) | ||
* tools/scp_kernel_latest_deb.sh - | * tools/scp_kernel_latest_deb.sh - copies and installs the latest deb package with the kernel. Argument: root@hostname, where hostname is the IP address of the Wiren Board | ||
== | == Managing kernel config == | ||
=== | === Editing the kernel config === | ||
cd KERNEL | cd KERNEL | ||
Строка 72: | Строка 72: | ||
=== | === List of changes relative to the standard config === | ||
./config_diff.sh | ./config_diff.sh | ||
=== | === Applying the changes to the standard config === | ||
This item is needed to change the standard configuration of the Wiren Board, for example to send a patch or pull request. | |||
cd KERNEL | cd KERNEL | ||