Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:toradex:kernel [2017-06-06 15:59] – kalberer | software:linux:toradex:kernel [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Toradex Colibri i.MX6 - Kernel ====== | ||
| - | Fetch Linux sources: | ||
| - | |||
| - | < | ||
| - | $ cd $WD | ||
| - | $ git clone git:// | ||
| - | $ cd linux | ||
| - | $ git branch | ||
| - | * efs | ||
| - | $ git describe | ||
| - | Apalis_iMX6_LinuxImageV2.3Beta6_20150112-1-g879d496 | ||
| - | </ | ||
| - | |||
| - | Configure and build Linux: | ||
| - | |||
| - | < | ||
| - | $ make colibri_imx6_defconfig | ||
| - | $ time make | ||
| - | $ make UIMAGE_LOADADDR=0x10008000 uImage | ||
| - | $ make modules | ||
| - | $ make modules_install INSTALL_MOD_PATH=../ | ||
| - | </ | ||
| - | |||
| - | For Kernel Config see https:// | ||
| - | |||
| - | ===== Preempt-RT Kernel 3.14.28 ===== | ||
| - | To patch the Linux Kernel for your iMX6 you can find short instructions on the [[https:// | ||
| - | |||
| - | You need to follow the following steps: | ||
| - | - Download RT Patch from [[https:// | ||
| - | - Download Toradex-Patch from their [[https:// | ||
| - | - Apply Toradex Patch to the RT-Patch from Kernel.org: < | ||
| - | patch -p1 patch-3.14.28-rt25.patch < rt-patch-trdx-V2.5b3.patch | ||
| - | </ | ||
| - | - Download and Patch your Kernel with the Patches given in the [[https:// | ||
| - | cd ${KERNELDIR} | ||
| - | |||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | patch -p1 < ../ | ||
| - | </ | ||
| - | - Configure your Kernel for your real-time use case. | ||
| - | - Use for Example the default '' | ||
| - | make colibri_imx6_defconfig | ||
| - | |||
| - | make menuconfig | ||
| - | --> Kernel Features --> Preemption Model (Fully Preemptible Kernel (RT)) | ||
| - | </ | ||
| - | |||
| - | ==== Resultate Cyclic Test 3.14.28-rt25 ==== | ||
| - | Um die Performance des iMX6 zu messen wurde der Cyclic-Test 24h laufen gelassen. Mit dd wurde künstliche Last (100%) für die beiden Kerne erzeugt (siehe [[..: | ||
| - | [{{: | ||