In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
I believe many inexperienced people don't know what to do about how to compile the raspberry linux kernel. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
We talked about the installation and configuration of the raspberry pie cross-compilation tool chain before. Today we will talk about how to use our installed cross-compiler to compile the raspberry pie linux kernel.
First, get the linux kernel source code with the following command, or you can download it yourself and copy it over.
$git clone-- depth=1 https://github.com/raspberrypi/linux
Since the little ape has already downloaded it, let's go directly to the following command, we are using raspberry pie 3, so the configuration is as follows
Enter the linux folder
Cd linuxKERNEL=kernel7make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig
You can see that the kernel image file zImage. The module is also compiled. If you have hands-on experience, you will find that compilation is much faster than compiling locally in the raspberry pie, which is why we install the cross-compilation tool chain. I hope everyone will learn how to install the cross-compiler and compile the kernel. Later, we compile all the programs based on cross-compilation on the ubuntu platform, and then download them to the raspberry pie board to run. We will talk about installing the image copy on the raspberry pie SD card later. Later, we will launch a linux video tutorial based on the raspberry pie hardware platform. Because of the more content, the recording will be slower. I hope you will understand.
After reading the above, have you mastered how to compile the raspberry pie linux kernel? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.