You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dhruv Vyas afe411f2c9
Merge pull request #89 from core-process/master
5 years ago
..
.gitignore add loopdev support 5 years ago
README.md Added a bug warning about USB into tools/README 8 years ago
build-kernel-qemu Merge pull request #89 from core-process/master 5 years ago
build-kernel-qemu.conf-4.14.79 add loopdev support 5 years ago
config_file tools: Split most configuration from script 6 years ago
config_file_3.10.25 moved config file to tools 9 years ago
config_file_4.4.34 tools: Restore patch and config for kernel 4.4.34 6 years ago
config_file_4.19.50 Add Debian Buster image and config 5 years ago
config_ip_tables Enable ip_tables 9 years ago
config_loopdev add aes and xts crypto support 5 years ago
config_webcam tools: Split webcam configuration from script 6 years ago
linux-arm-4.4.34.patch tools: Restore patch and config for kernel 4.4.34 6 years ago
linux-arm.patch tools: Refresh linux-arm.patch 6 years ago
qemu_choose_vm.sh Name error correction for a package 7 years ago

README.md

In this subsection, I've included tools and instructions for those who want to build kernel themselves.

build-kernel-qemu script helps one to automate kernel building process for any debian based distro. The ARM toolchain can be found in the debian package gcc-arm-linux-gnueabihf or at https://github.com/raspberrypi/tools. For other OSes, like windows or Mac OS X, one can have similar tools like gcc-arm-linux-gnueabihf- and other dependencies and refer build-kernel-qemu line by line to build the kernel.

If you enable USB webcam modules in the build script, make sure that the correct drivers for your web camera are selected in menuconfig. A word of warning, though: USB works in Qemu in general but USB web cameras have some problems actually.

Please note that build-kernel-qemu is not an original work of mine and credit for it goes to the original author (https://github.com/johnlane).

I've taken building references from the links below:

https://web.archive.org/web/20131210001638/http://xecdesign.com/compiling-a-kernel/ https://web.archive.org/web/20131209235952/http://xecdesign.com/compiling-qemu/ https://web.archive.org/web/20131210001407/http://xecdesign.com/working-with-qemu/ https://web.archive.org/web/20131210001526/http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/

build-kernel-qemu references :

https://github.com/johnlane/rpi-utils/blob/master/kernel/build-kernel-qemu

https://github.com/polaco1782/raspberry-qemu/blob/master/build-kernel-qemu