linux内核分析编译体验

一、资源

linux-2.6.22.6 下载地址
https://mirrors.edge.kernel.org/pub/linux/kernel/v2.6/
linux-2.6.22.6_jz2440.patch下载地址
https://download.csdn.net/download/zjq_5586288/10438800?utm_source=bbsseo

二、打补丁

cd /home/li/kernel_learn/linux-2.6.22.6
patch -p1 < …/linux-2.6.22.6_jz2440.patch
linux内核分析编译体验_第1张图片

三、配置

三种方式
(1)make menuconfig
(2)使用默认配置(defconfig)在上面修改
(3)使用厂家提供的配置文件
第二种方式
find ./ -name *defconfig
cd arch/arm/config
寻找和单板名字相似的deconfig
在这里插入图片描述

四、

uImage:头部+真正的内核

你可能感兴趣的:(linux,运维,服务器)