Template:iMX8M-LINUX: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(Initial import)
 
(change compiler version to 11.1)
Line 5: Line 5:
==== Setup the cross compiler and CPU architecture ====
==== Setup the cross compiler and CPU architecture ====
  $ export ARCH=arm64
  $ export ARCH=arm64
  $ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-10.2/bin/aarch64-ronetix-linux-gnu-
  $ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-


==== Clone the latest revision of the repo ====
==== Clone the latest revision of the repo ====

Revision as of 11:20, 11 October 2021

Overview

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

Building kernel for

This Linux kernel is based on https://source.codeaurora.org/external/imx/linux-imx.git, branch

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-

Clone the latest revision of the repo

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

Configure and build

$ make 
$ make

Build Results

The resulted images are located in arch/arm64/boot

File Name Description
zImage Linux kernel image
dts/freescale/ Device tree blob for

See also