From Ronetix's Wiki
Jump to navigation Jump to search


The Linux kernel provides support for on-board peripherals and interfaces of the iMX8MN-COMPACT-CM System-on-Module

Building kernel for iMX8MN-COMPACT-CM

This Linux kernel is based on, branch 5.4-2.1.x-imx_rnx

Setup the cross compiler and CPU architecture

$ export ARCH=arm64
$ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-

Cross compiler can be downloaded from here:

Clone the latest revision of the repo

$ git clone linux-ronetix --depth=1 -b 5.4-2.1.x-imx_rnx
$ cd linux-ronetix

Configure and build

$ make imx8mn_cm_defconfig
$ make

Build Results

The resulted images are located in arch/arm64/boot

File Name Description
zImage Linux kernel image
dts/freescale/imx8mn-cm.dtb Device tree blob for iMX8MN-COMPACT-CM

See also