Commit 8fdc3d2c authored by Guido Gunther's avatar Guido Gunther

Update kernel build instructions

parent 8c6a91e1
......@@ -2,24 +2,15 @@ To build the kernel on x86 there are some prerequisits, a crosscompile and build
sudo apt-get install gcc-arm-linux-gnueabihf build-essential crossbuild-essential-armhf
Checkout the fslc kernel
Checkout the mainline kernel
git clone
cp kernel_dot_config linux-fslc/.config
cd linux-fslc
git checkout 4.14.x+fslc
git clone
cp kernel_dot_config linux/.config
cd linux
git checkout v4.15-rc2
Build it
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=../../kernel
Copy the files needed for the SD card image
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=../../kernel modules_install
mkdir -p ../../dtbs
cp arch/arm/boot/dts/imx53-qsb.dtb ../../dtbs
cp arch/arm/boot/dts/imx6q-nitrogen6*.dtb ../../dtbs
cp zImage ../../zImage-4.14.2+
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- deb-pkg
Copy the generated deb in to the folder you invoke ./ from.
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment