简体   繁体   中英

Customizing kernel for Raspberry Pi

I am trying to build a custom kernel for the Raspberry PI that is really light weight. Basically all it is going to be doing is running Chrome. I am looking through the menuconfig options of what to remove. 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). Here is an image of the menuconfig page I am looking at: Kernel Configuration

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. The can safely remove JFS, XFS, FUSE, and all the network filesystems. 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 .

[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...]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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