Make bzImage, modules, modules_install, and install to build and install a kernel and its modules.
- [Voiceover] Let's talk about building a kernel.…So the kernel Makefile is nice.…It's supports parallel builds, multiple jobs,…so you can use the -j option to make.…I typically put a number twice the number of cores…I have, so if I have a four core system,…I might do a j8.…So four things can be compiling at the same time…while four things are, say, waiting on the disk.…The target bzImage is to make the bootable image,…so you can say make bzImage,…or, of course, make -j8 bzImage.…
For other sorts of platforms,…maybe for an embedded device,…then the target would be uImage.…Some cases, mabye it's vmlinux, or something else.…Vmlinux is going to be built when you make bzImage,…and it's going to be inside a bzImage, in effect.…It will be stripped and compressed,…and put inside bzImage, so you're going to have both.…Vmlinux will be in the top-level directory,…and bzImage will be underneath the architecture.…After you make the kernel,…you typically make modules.…
And the kernel and modules are the default,…so if you just say make -j8,…
We survey the Linux kernel specification, boot process, and loadable kernel modules. You will practice techniques such as downloading and searching Linux kernel source code and configuring a Linux kernel from scratch. Challenge and solution videos at the end of almost every chapter allow you to test your new Linux skills along the way.
- What is the Linux kernel?
- Controlling hardware
- Reading Linux kernel messages
- Reading and writing files from the proc and sysfs filesystems
- Configuring GRUB
- Using kernel command-line parameters
- Configuring run levels
- Working with loadable kernel modules (LKMs)
- Searching the kernel source code
- Building and installing a Linux kernel
Skill Level Advanced
1. Surveying the Linux Kernel
3. Working with Loadable Kernel Modules
4. Examining Linux Kernel Source Code
5. Configuring and Building a Linux Kernel
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.