linux 内核编译
Tofloor
poster avatar
六七
deepin
2020-09-22 18:03
Author
有那位大神出一个编译 linux 5.8.1 内核的超详细教程(最好是语音版)
从准备-查硬件开始-如何选参数-优化


Reply Favorite View the author
All Replies
辉夜
deepin
2020-09-22 18:23
#1
这么硬核?
Reply View the author
SamLukeYes
deepin
2020-09-22 18:36
#2
Reply View the author
lcw0268
deepin
2020-09-22 18:53
#3
1,安装依赖。
2,下载源码包。
3,编译。可以打包。
4,安装。可以用打包的包安装。
楼主还是安装打包好的吧。
Reply View the author
六七
deepin
2020-09-22 19:28
#4
https://bbs.deepin.org/post/202652
1,安装依赖。
2,下载源码包。
3,编译。可以打包。

就想自己来编译一次,高度符合自己硬件的
Reply View the author
lcw0268
deepin
2020-09-22 19:51
#5
https://bbs.deepin.org/post/202652
就想自己来编译一次,高度符合自己硬件的

理想很美好,现实和理想差距很大。
编译内核,要配置文件,这配置文件我们都是从自己电脑的系统搬来-----这不是最好的配置文件,是最省事的配置文件,你有耐心逐条配置吗?你知道那条的意思吗?
。。。。。。
还是用现成的吧。
Reply View the author
Feng Yu
deepin
2020-09-22 20:20
#6
快速上手直接看LFS文档就行了: http://www.linuxfromscratch.org/ ... apter10/kernel.html
Reply View the author
六七
deepin
2020-09-22 20:43
#7
https://bbs.deepin.org/post/202652
快速上手直接看LFS文档就行了: http://www.linuxfromscratch.org/lfs/view/development/chapter10/kernel. ...

全英文看不懂
Reply View the author
jiutian123
deepin
2020-09-24 08:06
#8
https://bbs.deepin.org/post/202652
1,安装依赖。
2,下载源码包。
3,编译。可以打包。

打包好的 在哪下载?谢谢
Reply View the author
lcw0268
deepin
2020-09-24 10:08
#9
https://bbs.deepin.org/post/202652
打包好的 在哪下载?谢谢

http://mirrors.163.com/debian/pool/main/l/linux/
要几个包都要下载:
linux-image-x.x.x-amd64
linux-headers-x.x.x-amd64
linux-headwrs-x.x.x-common
linux-kbuild-x.x
刚才看了,就5.8.0-2的最新。
5.9的都是rc版。deepin和debian同源,应该不冲突。
各镜像源都有的,你把地址栏的debian换成deepin, 就是deepin的了。
Reply View the author
lcw0268
deepin
2020-09-24 10:11
#10
https://bbs.deepin.org/post/202652
打包好的 在哪下载?谢谢

刚才回帖限制。
不能回答你。
Reply View the author
zhangn1985
deepin
2020-09-24 18:29
#11
别听他们的看什么Archwiki、LFS,这个最正宗啦:https://kernel-team.pages.debian.net/kernel-handbook/
Reply View the author
jiutian123
deepin
2020-09-25 05:42
#12
本帖最后由 jiutian123 于 2020-9-24 21:52 编辑

看错了
Reply View the author
Feng Yu
deepin
2020-09-25 06:05
#13
本帖最后由 abcfy2 于 2020-9-24 22:06 编辑
https://bbs.deepin.org/post/202652
别听他们的看什么Archwiki、LFS,这个最正宗啦:https://kernel-team.pages.debian.net/kernel-handbook/
...

最正宗,最原汁原味的难道不应该是这个 https://www.kernel.org/doc/html/latest/
Reply View the author
zhangn1985
deepin
2020-09-25 06:21
#14
https://bbs.deepin.org/post/202652
最正宗,最原汁原味的难道不应该是这个 https://www.kernel.org/doc/html/latest/ ?  ...

当然不是呀,你那个是内核指南,他要的是内核编译指南,而deepin是Debian系,所以Debian的文档才是最根本的。
Reply View the author