Dies ist eine alte Version des Dokuments!
Fetch Linux sources:
$ cd $WD $ git clone git://github.com/ntb-ch/linux $ 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=../modules/
Eine Kurzanleitung ist im Toradex-Forum zu finden.
Patch Kernel.org RT Patch:
patch -p1 patch-3.14.28-rt25.patch < rt-patch-trdx-V2.5b3.patch
cd ${KERNELDIR}
patch -p1 < ../0001-ARM-imx6q-drop-unnecessary-semicolon.patch
patch -p1 < ../0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
patch -p1 < ../0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch
patch -p1 < ../0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch
patch -p1 < ../0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch
patch -p1 < ../patch-3.14.28-rt25.patch
patch -p1 < ../0001-fix-build.patch
patch -p1 < ../0002-fix-build-with-rt-enabled.patch
patch -p1 < ../0003-no-split-ptlocks.patch
patch -p1 < ../0004-imx-sdma-channel-use-raw-spinlock.patch
make colibri_imx6_defconfig
make menuconfig
--> Kernel Features --> Preemption Model (Fully Preemptible Kernel (RT))
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 künstliche Last).