Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
software:linux:toradex:kernel [2023-04-21 14:40] Urs Grafsoftware:linux:toradex:kernel [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1
Zeile 1: Zeile 1:
-====== Toradex i.MX6 Kernel ====== 
- 
-===== Prebuilt Kernel Images ===== 
- 
-There are numerous prebuilt kernel images available on the NTB ftp server: 
- 
-  * 3.14 
-  * 3.14 RT 
-  * 4.9 
-  * 4.9 RT 
- 
-Also there are 2 different rootfs images available: 
-  * minimal rootfs 
-  * pathos rootfs 
- 
-The minimal rootfs is the result of a build without any rootfs customisation. It is well suited for testing a new kernel build without any of the pathos modifications. Pathos rootfs contains the custom overlay for pathos and includes the pathos customisations. It is the result of following this entire build process. 
- 
-For information on loading a kernel please refer to [[ .:loading | Loading Image to a Board]] 
- 
-===== Creating images ===== 
- 
-Buildroot is the recommended way for building new kernel and rootfs images. Note that while both are automatically built they can be updated seperately (use with caution). While the device tree is also compiled during each build it is not necessary to reupload it to the board if the device tree (.dts) was not changed. 
- 
-==== Getting Buildroot ==== 
- 
-Download the latest stable version of buildroot: 
-replace a.b.x with the latest tagged release of buildroot (the prebuilt images were built using 2018.08.x) 
- 
-    git clone -b a.b.x https://github.com/buildroot/buildroot/ 
- 
-change into buildroot directory 
- 
-    cd buildroot 
- 
-==== Getting the cb20 specific customisations ==== 
- 
-Download our default buildroot config for the cb20 board (colibri i.MX6 SoC)   
- 
-    git clone / wget <link-to-config> 
- 
-TODO expand 
- 
-==== build images ==== 
- 
-To build images simply run: 
- 
-    make 
- 
-Note that at the time of writing buildroot only supports single threaded top level execution, so do not invoke make with the -j flag. However buildroot will automatically use the optimal number of parallel jobs (threads) internally. 
- 
-For  information on flashing the kernel image and rootfs please refer to [[ .:loading | Loading Image to a Board]] 
- 
-==== Customize buildroot (optional) ==== 
- 
-configure buildroot 
- 
-    make menuconfig 
- 
-configure the kernel 
- 
-    make linux-menuconfig 
- 
-configure busybox 
- 
-    make busybox-menuconfig 
- 
-=== Additional Files === 
- 
-These are configured if you use the premade overlay. 
-TODO rephrase 
- 
-__overlay__: rootfs overlay for additional files to be loaded into the rootfs image 
- 
-__useresColibri__: user table for users in addition to root 
-