Building Linux Kernel for QEMU for ARM Board

Опубликовано: 16 Март 2026
на канале: EmbeddedCraft
12,208
180

In this video we are explaining building Linux Kernel for ARM Versatile/PB (ARM926EJ-S) board.
You will also observe building of Kernel Modules, Device Tree. We will also review Kernel Configuration file.
#QEMU #ARM #EmbeddedLinux #embeddedcraft
http://embeddedcraft.org/

Links used in video
Linux Kernel Source at Github
https://www.kernel.org/

Dependencies

Install QEMU
$ sudo apt-get install qemu-system-arm

Install lzop ( file compression software)
$ sudo apt-get install lzop

Install compiler gcc compiler for Linux “gcc-arm-linux-gnueabihf”
$ sudo apt-get install gcc-arm-linux-gnueabihf

Steps to building Linux Kernel
$ make j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf mrproper

(clear all previous kernel compilation configuration and files left from previous build)

$ make -j4 ARCH=arm versatile_defconfig
(Generate .config file)

$ make j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf zImage
(Building kernel to generate zImage)

$ make j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf modules
(Building kernel to generate Kernel Modules)
$ make j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf dtbs
(Building device tree)


Other Important videos

Building Linux Kernel, Kernel Modules and Device Tree for Beaglebone Black Board
   • Building Linux Kernel, Kernel Modules and ...  

Eclipse and GCC Compiler - Configuring Eclipse to use GCC Compiler for QEMU
   • Eclipse and GCC Compiler - Configuring Ecl...  

Beaglebone Black Board: Serial Port Interfacing, Connecting Beaglebone Black board with Serial Port
   • Beaglebone Black Board: Serial Port Interf...  

Embedded Linux - Building Tool chain with Crosstool-NG
   • Embedded Linux - Building Tool chain  with...  

Preparing bootable Micro SD card using command line on Linux Host
   • Preparing bootable Micro SD card using com...  

Raspberry PI remote desktop access | Using VNC Viewer on Linux Host to access Raspbian OS Desktop
   • Raspberry PI remote desktop access | Using...  

Using QEMU to Emulate Cortex M based board and Running LED Blinking Program
   • Using QEMU to Emulate Cortex M based board...  

Follow us ...
Facebook:   / embeddedcraft  
Twitter:   / embeddedcraft  
Linkedin :   / embeddedcraft-craft-99a47617  

More videos on Embedded System and related topics can be found at:
http://embeddedcraft.org/