It is up to developers to prepare the host machine; it requires:
CompuLab Linux Kernel setup
mkdir -p compulab-bsp/linux-compulab && cd compulab-bsp/linux-compulab
Machine
Command Line
ucm-imx8m-plus
export MACHINE=ucm-imx8m-plus
som-imx8m-plus
export MACHINE=som-imx8m-plus
iot-gate-imx8plus
export MACHINE=iot-gate-imx8plus
ucm-imx93
export MACHINE=ucm-imx93
git clone -b linux-compulab_v5.15.71 https://github.com/compulab-yokneam/linux-compulab.git .
Apply the default CompuLab config:
make ${MACHINE}_defconfig compulab.config
Ussue menuconfig on order to change the default CompuLab configuration:
target
make command
Uncompressed kernel image
make -j`nproc` Image
Build all modules
make -j`nproc` modules
Build device tree blobs
make -j`nproc` dtbs
To Cross Compile:
export MACHINE=som-imx8m-plus
export ARCH=arm64
export CROSS_COMPILE=/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
${CROSS_COMPILE} gcc --version
Apply the default CompuLab config:
make ${MACHINE} _defconfig compulab.config
Ussue menuconfig on order to change the default CompuLab configuration:
target
make command
Uncompressed kernel image
make -jnproc Image
Build all modules
make -jnproc modules
Build device tree blobs
make -jnproc dtbs