Template:iMX8M-LINUX: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(change compiler version to 11.1)
(add link for toolchain download)
 
Line 6: Line 6:
  $ export ARCH=arm64
  $ export ARCH=arm64
  $ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-
  $ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-
Cross compiler can be downloaded from here:
http://download.ronetix.at/toolchains/crosstool-ng


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

Latest revision as of 11:22, 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-

Cross compiler can be downloaded from here: http://download.ronetix.at/toolchains/crosstool-ng

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