IGOS Nusantara dan CROSS COMPILE untuk kernel: Perbedaan revisi
Dari IGNwiki
Baris 3: | Baris 3: | ||
Pasang: | Pasang: | ||
− | + | $ | |
− | yum -y install | + | 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 == | == Kompilasi == | ||
Baris 24: | Baris 33: | ||
== Referensi == | == Referensi == | ||
+ | * https://akanto.wordpress.com/2012/09/25/cross-compiling-kernel-for-raspberry-pi-on-fedora-17-part-1/ | ||
* https://devzone.nordicsemi.com/blogs/678/building-kernel-for-rpi2-with-bluetooth_6lowpan-fo/ | * https://devzone.nordicsemi.com/blogs/678/building-kernel-for-rpi2-with-bluetooth_6lowpan-fo/ |
Revisi per 23 April 2015 07.33
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"