Kernel configuration - GrumpyMeow/XiaomiXiaofangFirmware GitHub Wiki

make kernelmenuconfig General setup * Prompt for development and/or incomplete code/drivers * Local version - append to kernel release : PwnHack * Kernel compression mode : LZMA [achieves best compression] * Support for paging of anonymous memory: yes [not sure] * RCU Subsystem > RCU Implementation > Tree-based hierarchical RCU : yes [is for blocking, multiple cpu, not sure] * RCU Subsystem > Tree-based hierarchical RCU fanout value: 32 [Also in Xiaomi kernel] * Optimize for size [compile time optimization] * Configure standard kernel features (for small systems) * Load all symbols for debugging/ksymoops: yes [but eventually disable to reduce memory usage] * Disable heap randomization: checked * Choose SLAB allocator: SLUB [Also in Xiaomi firmware] * Enable loadable module support: yes ... * Device Drivers * Memory Technology Device (MTD Support): Enabled * MTD partitioning support: Enables * Direct char device access to MTD devices: Enabled [Not sure] * Common interface to block layer for MTD 'translation layers' : Enabled [Not sure] * Caching block device access to MTD devices: Enabled [Not sure] * NFTL (NAND Flash Translation Layer) support: Enabled [Not sure] * RAM/ROM/Flash chip drivers * Detect flash chips by Common Flash Interface (CFI) probe: Enabled [?] * Support for AMD/Fujitsu/Spansion flash chips: Enab;ed [?] * SONiX Mass Storage: Enabled [?] * Mapping drivers for chip access * Flash device mapped on SN986XX: Enabled * Select flash device: Serial flash * Support non-linear mappings of flash chips: Enabled [expirement] * Physical system RAM: Enabled * [experient] * NAND Device support: Enabled* (?)

	* SONiX AHB DMA support : Enabled (also in Xiaomi firmware)


* Core Netfilter Configuration
	* Netfilter LOG over NFNETLINK interface: Enabled (also in Xiaomi firmware)
	* Netfilter connection tracking support: Enabled* (also in Xiaomi firmware)
	* Connection tracking flow accounting: Enabled* (also in Xiaomi firmware)
	* Connection tracking netlink interface: Enabled* (also in Xiaomi firmware)
	* "time" match support: Enabled* (also in Xiaomi firmware)
	* IP:L
	* ARP tables support: Enabled* (also in Xiaomi firmware)