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.
Ambil source
$ mkdir ~/rpi2 cd ~/rpi2 wget https://github.com/raspberrypi/linux/archive/rpi-4.0.y.zip unzip rpi-4.0.y.zip
Konfigurasi
Jalankan:
$ cd rpi-4.0.y ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnu- make bcm2709_defconfig ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnu- make menuconfig echo "Aktifkan konfigurasi tertentu...
ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnu- make -k -j6
ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnu- make modules_install INSTALL_MOD_PATH=../modules/
./imagetool-uncompressed.py ../../linux/arch/arm/boot/Image
Salin kernel
# echo "Salin kernel.img, modules dan firwmare"