iMX7-CM: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(Created page with "{{#vardefine:HARDWARE_NAME|i.MX7-CM}} <!-- -->{{#vardefine:KERNEL_BRANCH|imx_4.19.35_1.0.0}} <!-- -->{{#vardefine:DEFCONFIG_NAME|imx7_cm_defconfig}} <!-- -->{{#vardefine:DTB_...")
 
No edit summary
Line 1: Line 1:
{{#vardefine:HARDWARE_NAME|i.MX7-CM}} <!--
{{summary|
-->{{#vardefine:KERNEL_BRANCH|imx_4.19.35_1.0.0}}  <!--
i.MX7-CM is a System-on-module (SoM) board in SODIMM204 format designed for embedded applications.
-->{{#vardefine:DEFCONFIG_NAME|imx7_cm_defconfig}} <!--
<p>
-->{{#vardefine:DTB_NAME|dts/imx7d-cm.dtb}} <!--
i.MX7-CM is using the NXP i.MX7D CPU with an advanced ARM Cortex-A7 CPU coupled with a dedicated real-time ARM Cortex-M4 MCU.
-->
</p>
[[File:iMX7-CM top.png|thumb]]
i.MX7-CM is provided with Linux Yocto distribution.<br>
= Overview =
|iMX7-CM_top.png|thumb}}
The Linux kernel provides support for on-board peripherals and interfaces of the {{#var:HARDWARE_NAME}} System-on-Module
= Building kernel for {{#var:HARDWARE_NAME}} =
This Linux kernel is based on https://source.codeaurora.org/external/imx/linux-imx.git, branch {{#var:KERNEL_BRANCH}}
==== 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 ====
<div style="background: white; border: 1px solid black; padding: 1em;">
$ git clone https://github.com/ronetix/linux.git linux-ronetix --depth=1
{| border="0" cellpadding="2" width="100%" align="center"
$ cd linux-ronetix
 
==== Configure and build ====
  $ make {{#var:DEFCONFIG_NAME}}
$ make
 
= Build Results =
The resulted images are located in arch/arm/boot
 
{| class="wikitable"
|-
|-
! scope="col" | File Name
! style="font-size: 125%; background-color: #eeeeee;" align="center" width="25%" | [[iMX7-CM Yocto Linux | Yocto Linux]]
! scope="col" | Description
! style="font-size: 125%; background-color: #eeeeee;" align="center" width="25%" | [[iMX7-CM Linux|Linux]]
|-
! style="font-size: 125%; background-color: #eeeeee;" align="center" width="25%" | [[iMX7-CM U-Boot|U-Boot]]
| style="padding: 5px;"| zImage
| style="padding: 5px;"| Linux kernel image
|-
| style="padding: 5px;"| {{#var:DTB_NAME}}
| style="padding: 5px;"| Device tree blob for {{#var:HARDWARE_NAME}}
|-
|-
| align="center" |  [[Image:logo_yocto.png|200px|link=iMX7-CM Yocto Linux]]
| align="center" |  [[Image:logo_linux.png|200px|link=iMX7-CM Linux]]
| align="center" |  [[Image:logo_uboot.png|200px|link=iMX7-CM U-Boot]]
|}
|}
 
</div>
= See also =
* [[iMX7-CM Yocto Linux | Yocto Linux]]
* [[iMX7-CM Linux|Building Linux Kernel]]
* [[iMX7-CM U-Boot|Building U-Boot]]

Revision as of 11:42, 20 July 2020