diff --git a/教程/2.内核模块配置 b/教程/2.内核模块配置 new file mode 100644 index 0000000..3ed82ef --- /dev/null +++ b/教程/2.内核模块配置 @@ -0,0 +1,115 @@ +这是内核模块的配置 + +Device Drivers ---> + [*] Block devices ---> [BLK_DEV] + <*/M> RAM block device support [BLK_DEV_RAM] + [*] Multiple devices driver support (RAID and LVM) ---> [MD] + <*/M> Device mapper support [BLK_DEV_DM] + <*/M> Crypt target support [DM_CRYPT] + <*/M> Snapshot target [DM_SNAPSHOT] + <*/M> Thin provisioning target [DM_THIN_PROVISIONING] + <*/M> Cache target (EXPERIMENTAL) [DM_CACHE] + <*/M> Mirror target [DM_MIRROR] + <*/M> Zero target [DM_ZERO] + <*/M> I/O delaying target [DM_DELAY] + +Kernel hacking ---> + Generic Kernel Debugging Instruments ---> + [*] Magic SysRq key + +Processor type and features ---> + [*] EFI runtime service support [EFI] + [*] EFI stub support [EFI_STUB] + +-*- Enable the block layer ---> [BLOCK] + Partition Types ---> + [ /*] Advanced partition selection [PARTITION_ADVANCED] + [*] EFI GUID Partition support [EFI_PARTITION] + +Device Drivers ---> + Firmware Drivers ---> + [*] Mark VGA/VBE/EFI FB as generic system framebuffer [SYSFB_SIMPLEFB] + Graphics support ---> + <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> + ... [DRM] + [*] Enable legacy fbdev support for your modesetting driver + ... [DRM_FBDEV_EMULATION] + <*> Simple framebuffer driver [DRM_SIMPLEDRM] + Console display driver support ---> + [*] Framebuffer Console support [FRAMEBUFFER_CONSOLE] + +File systems ---> + DOS/FAT/EXFAT/NT Filesystems ---> + <*/M> VFAT (Windows-95) fs support [VFAT_FS] + Pseudo filesystems ---> + <*/M> EFI Variable filesystem [EFIVAR_FS] + -*- Native language support ---> [NLS] + <*/M> Codepage 437 (United States, Canada) [NLS_CODEPAGE_437] + <*/M> NLS ISO 8859-1 (Latin 1; Western European Languages) [NLS_ISO8859_1] + Processor type and features ---> + [*] EFI runtime service support [EFI] + [*] EFI stub support [EFI_STUB] + +-*- Enable the block layer ---> [BLOCK] + Partition Types ---> + [ /*] Advanced partition selection [PARTITION_ADVANCED] + [*] EFI GUID Partition support [EFI_PARTITION] + +Device Drivers ---> + Firmware Drivers ---> + [*] Mark VGA/VBE/EFI FB as generic system framebuffer [SYSFB_SIMPLEFB] + Graphics support ---> + <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> + ... [DRM] + [*] Enable legacy fbdev support for your modesetting driver + ... [DRM_FBDEV_EMULATION] + <*> Simple framebuffer driver [DRM_SIMPLEDRM] + Console display driver support ---> + [*] Framebuffer Console support [FRAMEBUFFER_CONSOLE] + +File systems ---> + DOS/FAT/EXFAT/NT Filesystems ---> + <*/M> VFAT (Windows-95) fs support [VFAT_FS] + Pseudo filesystems ---> + <*/M> EFI Variable filesystem [EFIVAR_FS] + -*- Native language support ---> [NLS] + <*/M> Codepage 437 (United States, Canada) [NLS_CODEPAGE_437] + <*/M> NLS ISO 8859-1 (Latin 1; Western European Languages) [NLS_ISO8859_1] + <*/M> FUSE (Filesystem in Userspace) support + <*/M> Overlay filesystem support + -*- Overlayfs: turn on redirect directory feature by default + [*] Overlayfs: follow redirects even if redirects are turned off + [*] Overlayfs: turn on inodes index feature by default + [*] Overlayfs: auto enable inode number mapping + [*] Overlayfs: turn on metadata only copy up feature by default + CD-ROM/DVD Filesystems --> + <*/M> ISO 9660 CDROM file system support + <*/M> UDF file system support + [*] Miscellaneous filesystems ---> + <*/M> SquashFS 4.0 - Squashed file system support + [*] Squashfs XATTR support + [*] Include support for ZLIB compressed file systems + [*] Include support for LZ4 compressed file systems + [*] Include support for LZO compressed file systems + [*] Include support for XZ compressed file systems + [*] Include support for ZSTD compressed file systems +Device Drivers ---> + Graphics support ---> + <*/M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> + ... [DRM] + # For r300 or r600: + < /*/M> ATI Radeon [DRM_RADEON] + # For radeonsi: + < /*/M> AMD GPU [DRM_AMDGPU] + [*] Enable amdgpu support for SI parts [DRM_AMDGPU_SI] + [*] Enable amdgpu support for CIK parts [DRM_AMDGPU_CIK] + Display Engine Configuration ---> + [*] AMD DC - Enable new display engine [DRM_AMD_DC] + # For nouveau: + < /*/M> Nouveau (NVIDIA) cards [DRM_NOUVEAU] + # For i915, crocus, or iris: + < /*/M> Intel 8xx/9xx/G3x/G4x/HD Graphics [DRM_I915] + # For swrast: + < /*/M> Virtual GEM provider [DRM_VGEM] + # For svga: + < /*/M> DRM driver for VMware Virtual GPU [DRM_VMWGFX] \ No newline at end of file