Template:Build-Linux: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(Remove section "See Also", because it is moved to Template:SeeAlso)
(Change section level of "Build Results" to 3)
Line 21: Line 21:
  $ make
  $ make


== Build Results ==
=== Build Results ===
The resulted images are located in arch/arm64/boot
The resulted images are located in arch/arm64/boot



Revision as of 17:01, 16 November 2023

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 , branch

Set up 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
$ cd linux
$ git checkout remotes/origin/ -b 

Configure and build

$ make 
$ make

Build Results

The resulted images are located in arch/arm64/boot

File Name Description
Image Linux kernel image
zImage Linux kernel image, compressed
Device tree blob for