From the course: Linux Device Drivers: Reading, Writing, and Debugging

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Challenge: Download and make a Linux kernel

Challenge: Download and make a Linux kernel - Linux Tutorial

From the course: Linux Device Drivers: Reading, Writing, and Debugging

Challenge: Download and make a Linux kernel

(bright music) - [Instructor] Let's talk about some challenges. ome good stuff here. Let's just start out with getting some source code. So fetch a kernel source tarball from kernel.org. Yeah, maybe 6.14.1. Pick one. And also, do a Git clone for the Linux kernel source for Ubuntu Noble. And we're going to do some stuff with that tree, so even if you're not using Ubuntu, it might be helpful to follow along if you do pick that one. So in the Noble tree, right, we got that with Git, check out the branch remote/origin/master-next-2024.10-28-1. Then, in that branch, do a Git blame on the make file, and look through the commits, and see the commit number where the variable name got changed. And then do a Git show with that number, and determine what the old value for name was, and what the new value for name is. Finally, in your kernel source tree, we want to build a kernel and modules. We want you to use make minus j8 or something appropriate. I usually use a j number of two times the…

Contents