mirror of
https://github.com/feyisay07/meta-bsp-imx8mm.git
synced 2026-09-24 06:10:13 +01:00
Documentation: sync kernel and toolchain docs
Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
This commit is contained in:
@@ -14,8 +14,8 @@ Define the following environment variables:
|
|||||||
|
|
||||||
|Description|Command Line|
|
|Description|Command Line|
|
||||||
|---|---|
|
|---|---|
|
||||||
|NXP release name|export NXP_RELEASE=lf-5.10.y|
|
|NXP release name|export NXP_RELEASE=lf-5.15.y|
|
||||||
|CompuLab branch name|export CPL_BRANCH=iot-gate-imx8_r3.0|
|
|CompuLab branch name|export CPL_BRANCH=rel_imx_5.15.32-2.0.0-experimental|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
It is up to developer to setup arm64 build environment:
|
It is up to developer to setup arm64 build environment:
|
||||||
@@ -40,6 +40,6 @@ git -C linux-imx am ${PATCHES}/*.patch
|
|||||||
|
|
||||||
## Compile the Kernel
|
## Compile the Kernel
|
||||||
<pre>
|
<pre>
|
||||||
make -C linux-imx ${MACHINE}_defconfig
|
make -C linux-imx cl-imx8m-mini_defconfig ${MACHINE}.config
|
||||||
make -C linux-imx
|
make -C linux-imx
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
@@ -2,18 +2,19 @@
|
|||||||
|
|
||||||
* Downlaod the Linaro compiler:
|
* Downlaod the Linaro compiler:
|
||||||
<pre>
|
<pre>
|
||||||
|
export GCC_ARM=gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu
|
||||||
cd ~/Downloads
|
cd ~/Downloads
|
||||||
wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
|
wget https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/${GCC_ARM}.tar.xz
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
* Install it:
|
* Install it:
|
||||||
<pre>
|
<pre>
|
||||||
sudo tar -C /opt -xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
|
sudo tar -C /opt -xf ${GCC_ARM}.tar.xz
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
* Set environment variables:
|
* Set environment variables:
|
||||||
<pre>
|
<pre>
|
||||||
export ARCH=arm64
|
export ARCH=arm64
|
||||||
export CROSS_COMPILE=/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
|
export CROSS_COMPILE=/opt/${GCC_ARM}/bin/aarch64-none-linux-gnu-
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user