iMX8M-CM Linux: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
m Ilko moved page IMX8M-CM Linux to iMX8M-CM Linux without leaving a redirect
No edit summary
Line 4: Line 4:
-->{{#vardefine:DTB_NAME|imx8mq-cm.dtb}} <!--
-->{{#vardefine:DTB_NAME|imx8mq-cm.dtb}} <!--
-->
-->
[[File:imx8m-cm top.png|thumb]]
[[File:imx8m-cm-top.png|thumb]]
= Overview =
= Overview =
The Linux kernel provides support for on-board peripherals and interfaces of the {{#var:HARDWARE_NAME}} System-on-Module
The Linux kernel provides support for on-board peripherals and interfaces of the {{#var:HARDWARE_NAME}} System-on-Module

Revision as of 14:52, 7 October 2021

File:imx8m-cm-top.png

Overview

The Linux kernel provides support for on-board peripherals and interfaces of the i.MX8M-CM System-on-Module

Building kernel for i.MX8M-CM

This Linux kernel is based on https://source.codeaurora.org/external/imx/linux-imx.git, 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-10.2/bin/aarch64-ronetix-linux-gnu-

Clone the latest revision of the repo

$ git clone https://github.com/ronetix/linux.git linux-ronetix --depth=1 -b 5.4-2.1.x-imx_rnx
$ cd linux-ronetix

Configure and build

$ make imx8mq_cm_defconfig
$ make

Build Results

The resulted images are located in arch/arm64/boot

File Name Description
zImage Linux kernel image
dts/freescale/imx8mq-cm.dtb Device tree blob for i.MX8M-CM

See also