How can I build/patch a Kernel fitting the OS (without downloading an existing one) and how to run QEMU properly? Copying some of the Kernels from the Internet never led to success because they are not fit for the OS. I think that the problem is to get the right Kernel. Now I can copy the boot image, that is a compressed kernel image that auto-extracts in RAM, to my workspace: cp linux-4.4.16/arch/arm/boot/zImage zImageĪnd run QEMU qemu-system-arm -kernel zImage -M vexpress-a9 -m 1024 -cpu cortex-a9 -no-reboot -serial stdio -hda 016-05-27-raspbian-jessie-lite.img -append "root=/dev/sda2 rootfstype=ext4"īut all I see is a black filled QEMU-window. Now cross compiling the Kernel: export ARCH=arm In my case I chose Rasbian Lite with Kernel 4.4: wget I figured out that I need to patch a Linux Kernel fitting the desired OS. I've tried several approaches described on the internet but without any success. I'm trying to emulate a Raspberry Pi with the Raspian OS using QEMU.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |