Template:iMX8M-LINUX: Difference between revisions
Jump to navigation
Jump to search
change compiler version to 11.1 |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
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 | ||
= Building kernel for {{#var:HARDWARE_NAME}} = | = Building kernel for {{#var:HARDWARE_NAME}} = | ||
This Linux kernel is based on | This Linux kernel is based on {{#var:BASED_ON}} | ||
==== 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-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 09:16, 1 October 2026
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
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 |