Then, QEMU will uncompress the kernel image to a proper memory location and start to run the kernel code. We could just use “-kernel” to pass kernel image to QEMU. It is a very handy function!! Because of this feature, we don’t need to bother the complicated boot sequence and problems on locating Kernel Image. QEMU has a command argument called “-kernel”. Here I would like to point out how QEMU boot Linux, which is the most central and fundamental part that one should understand!! You can Google it to find the detail version. Many people know boot loader and some Linux boot sequence. I believe this is very comprehensive for someone who want to learn or start a new project on ARM with QEMU or other ARM platforms. The last part is how to run existing kernel and images on QEMU. The second part is a tutorial for building a Linux kernel and rootfs running on QEMU. The first part teaches you how a Linux works from a programmer’s view who wants to port Linux on different platforms, such as QEMU. I use Vexpress as the target board in the tutorial. This post could be very useful for those who want to know how Linux works with minimum requirements (root file system, in short rootfs). I decided to write a comprehensive post to share some knowledge and how to build you own ARM image. Recently, I updated my ARM image and found that it has some difficulties to make an ARM image and could be an impossible job for those who are not familiar with embedded systems. Hello there! I’ve been using QEMU for a while.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |