IGN-ARM dan Kernel 4.0: Perbedaan revisi
Dari IGNwiki
Baris 16: | Baris 16: | ||
== Konfigurasi == | == Konfigurasi == | ||
+ | |||
+ | Kongurasi: | ||
# | # | ||
cd /root/kernel4/linux-vc4-kms-v3d-rpi2 | cd /root/kernel4/linux-vc4-kms-v3d-rpi2 | ||
echo "Pakai konfigurasi lama" | echo "Pakai konfigurasi lama" | ||
make bcm2709_defconfig | make bcm2709_defconfig | ||
+ | |||
+ | Modifikasi berkas .config | ||
+ | # | ||
+ | nano .config | ||
+ | |||
+ | Tambahkan: | ||
+ | CONFIG_DRM_VC4=y | ||
+ | CONFIG_CMA_SIZE_MBYTES=128 | ||
+ | |||
+ | Lanjutan: | ||
+ | # | ||
echo "Pakai xconfig" | echo "Pakai xconfig" | ||
make xconfig | make xconfig |
Revisi per 23 April 2015 06.26
Masuk QEMU
Pasang Paket
# yum -y install git unzip
Unduh source
# mkdir /root/kernel4/ cd /root/kernel4/ git clone https://github.com/anholt/linux/tree/vc4-kms-v3d-rpi2 unzip linux-vc4-kms-v3d-rpi2.zip
Konfigurasi
Kongurasi:
# cd /root/kernel4/linux-vc4-kms-v3d-rpi2 echo "Pakai konfigurasi lama" make bcm2709_defconfig
Modifikasi berkas .config
# nano .config
Tambahkan:
CONFIG_DRM_VC4=y CONFIG_CMA_SIZE_MBYTES=128
Lanjutan:
# echo "Pakai xconfig" make xconfig
Kompilasi
# make make modules_install make firmware_install cp System.map /boot cp arch/arm/boot/dts/bcm2709-rpi-2-b.dtb /boot rm -f /boot/kernel7.img.old echo "Backup kernel lama" mv /boot/kernel7.img /boot/kernel7.img.old cp arch/arm/boot/Image /boot/kernel7.img
Referensi
- ARM – Raspberry Pi 2 – Kernel Compile -> http://rglinuxtech.com/?p=1324
- https://devzone.nordicsemi.com/blogs/678/building-kernel-for-rpi2-with-bluetooth_6lowpan-fo/