



Now, in a general sense, the kernel needs a root file system (RFS) to boot up and be usable. so that it can generate binaries sporting the platform.įollowing this, we need to compile the Linux kernel code using the cross-tool chain that we generated to produce a “Linux kernel boot executable” for the platform. So, we first need to cross-compile the tool chain itself. In our case, the platform is a virtualized environment. Qemu is the emulator that will help up work around the requirement of a physical development machine by providing a virtualized environment to bring up our kernel without putting your actual system in “harms way” 🙂īuildroot is basically a set of scripts the that will automate the process of cross-compiling the kernel and tool-chain for you.įirst, to get the basics right, To bring up any software in any new platform, you first need to have a tool chain that includes libraries, compiler, assembler, linker etc that supports your platform. The main components involved in our tutorial today are And the best part is, you do not have to own a development board or brick your PC while learning this. Here we will learn to cross-compile your own Linux kernel and bring up a complete system with that kernel. This tutorial introduces you to the world of Linux based embedded systems. Booting your first cross-compiled Linux based embedded system
