IGOS Nusantara dan CROSS COMPILE untuk kernel
Dari IGNwiki
Masuk IGOS Nusantara X.1
Pasang:
$ sudo yum -y install gcc-arm-linux-gnu
Periksa versi:
$ arm-linux-gnu-cpp --version
Hasil:
arm-linux-gnu-cpp (GCC) 4.9.1 20140717 (Red Hat Cross 4.9.1-1) Copyright (C) 2014 Free Software Foundation, Inc.
Kompilasi
Jalankan:
# make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- bcm2709_defconfig make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig // to enable eGalax driver make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j6
make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-INSTALL_MOD_PATH=../modules/
./imagetool-uncompressed.py ../../linux/arch/arm/boot/Image
Salin kernel
# echo "Salin kernel.img, modules dan firwmare"