Last active
September 28, 2017 14:52
-
-
Save alepez/eab0ecd6b92425398bd27bd9a610fb85 to your computer and use it in GitHub Desktop.
Cross Compile Raspberry Pi 3 Kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- bcm2709_defconfig | |
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- menuconfig | |
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- -j9 zImage modules dtbs | |
cp arch/arm/boot/zImage /mnt/raspberrypiroot/boot/ ; cp arch/arm/boot/dts/*.dtb /mnt/raspberrypiroot/boot/ ; cp arch/arm/boot/dts/overlays/*.dtb* /mnt/raspberrypiroot/boot/overlays/ ; | |
sudo make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- INSTALL_MOD_PATH=/mnt/raspberrypiroot modules_install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment