iMX7-CM Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(add branch in "git clone") |
||
Line 1: | Line 1: | ||
{{#vardefine:HARDWARE_NAME|iMX7-CM}} | {{#vardefine:HARDWARE_NAME|iMX7-CM}} | ||
{{#vardefine:KERNEL_BRANCH|5.4-2.1.x-imx_rnx}} | |||
{{#vardefine:DEFCONFIG_NAME|imx7_cm_defconfig}} | |||
{{#vardefine:DTB_NAME|dts/imx7d-cm.dtb}} | |||
[[File:iMX7-CM-top.png|thumb]] | [[File:iMX7-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 | ||
Line 14: | Line 15: | ||
==== Clone the latest revision of the repo ==== | ==== Clone the latest revision of the repo ==== | ||
$ git clone https://github.com/ronetix/linux.git linux-ronetix --depth=1 | $ git clone https://github.com/ronetix/linux.git linux-ronetix --depth=1 -b {{#var:KERNEL_BRANCH}} | ||
$ cd linux-ronetix | $ cd linux-ronetix | ||
Latest revision as of 10:55, 11 October 2021
Overview
The Linux kernel provides support for on-board peripherals and interfaces of the iMX7-CM System-on-Module
Building kernel for iMX7-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=arm $ export CROSS_COMPILE=/opt/cross/arm-ronetix-eabi-8.3.0/bin/arm-ronetix-eabi-
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 imx7_cm_defconfig $ make
Build Results
The resulted images are located in arch/arm/boot
File Name | Description |
---|---|
zImage | Linux kernel image |
dts/imx7d-cm.dtb | Device tree blob for iMX7-CM |