Skip to content

compulab-yokneam/linux-compulab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel Build Manual

Prerequisites

It is up to developers to prepare the host machine; it requires:

CompuLab Linux Kernel setup

  • WorkDir:
mkdir -p compulab-bsp/linux-compulab && cd compulab-bsp/linux-compulab
  • Set a CompuLab machine:
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
  • Clone the source code:
git clone -b linux-compulab_v5.15.71 https://github.com/compulab-yokneam/linux-compulab.git .

Compile the Kernel

  • Apply the default CompuLab config:
make ${MACHINE}_defconfig compulab.config
  • Ussue menuconfig on order to change the default CompuLab configuration:
make menuconfig
  • Build the kernel
nice make -j`nproc`
  • Builds' targets
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