Thanks to visit codestin.com
Credit goes to github.com

Skip to content
 
 

Latest commit

 

History

1,062,339 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

ES

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:

make menuconfig

Build the kernel:

nice make -j`nproc`

Builds' targets:

target make command
Uncompressed kernel image make -jnproc Image
Build all modules make -jnproc modules
Build device tree blobs make -jnproc dtbs

About

Linux Kernel for CompuLab SOMs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages