简体   繁体   English

自定义Raspberry Pi的内核

[英]Customizing kernel for Raspberry Pi

I am trying to build a custom kernel for the Raspberry PI that is really light weight. 我正在尝试为Raspberry PI构建一个重量轻的自定义内核。 Basically all it is going to be doing is running Chrome. 基本上,它将要做的就是运行Chrome。 I am looking through the menuconfig options of what to remove. 我正在查看要删除的内容的menuconfig选项。 Which file systems can I remove without it breaking anything? 我可以删除哪些文件系统而不破坏任何内容? I have attached an image of this screen. 我已附上该屏幕的图像。 I already removed some that I didn't think were necessary (Dnotify support, GFS2 file system support, and OCFS2 file system support). 我已经删除了一些我认为不必要的东西(通知支持,GFS2文件系统支持和OCFS2文件系统支持)。 Here is an image of the menuconfig page I am looking at: Kernel Configuration 这是我正在查看的menuconfig页面的图像: 内核配置

Also, if you have any other suggestions of things that are large in the kernel that can be removed please let me know. 另外,如果您对内核中可以删除的较大内容还有其他建议,请告诉我。

The only filesystem required for your system to function properly is ext4. 系统正常运行所需的唯一文件系统是ext4。 The can safely remove JFS, XFS, FUSE, and all the network filesystems. 可以安全地删除JFS,XFS,FUSE和所有网络文件系统。 You can also remove the support for quotas. 您也可以删除对配额的支持。

(Not exactly specific to the OP but) In general, a good tutorial on building-from-scratch for the R Pi root filesystem and Linux kernel, using the excellent Buildroot tool, can be found here . (不是完全特定于OP,而是),通常可以在此处找到有关使用出色的Buildroot工具从头开始构建R Pi根文件系统和Linux内核的很好的教程。

[Btw, might be useful: I wrote a blog article on " A KDB / KGDB SESSION ON THE POPULAR RASPBERRY PI EMBEDDED LINUX BOARD " which includes this info and more...] [顺便说一句,可能有用:我写了一篇博客文章“ 在流行的树莓派嵌入式LINUX板上的KDB / KGDB会话 ”,其中包含此信息以及更多信息...]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM