make kernel_menuconfig内核配置
OpenWrt版本:18.06.04
在OpenWrt根目录,执行make kernel_menuconfig
修改的.config配置文件会copy至target/linux/ar71xx/config-4.9,该目录不在git管理的忽略列表
平台:
- Atheros AR71XX/AR724X/AR913X based boards 、Atheros AP147 reference board 、MIPS32
Flash:
Device Drivers —> <+> Memory Technology Device (MTD) support —> Self-contained MTD device drivers —> <+> Support most SPI Flash chips (AT26DF, M25P, W25X, …)
外设
硬件用到RTC,QCA9531外设资源有限,须使用GPIO实现I2C,系统已经实现了该功能,只需勾选打开即可,GPIO以及I2C的配置在menuconfig中打开。
Device Drivers —> I2C support —>
Device Drivers —> [+] Real Time Clock —>
在实际裁剪时,根据实际项目,还去掉了很多MTD解释器、Switch、PHY等未使用的驱动;
Kernel type --> [+] MIPS FPU Emulator
General setup --> [+]POSIX Message Queues
Device Drivers --> <+> Memory Technology Device(MTD) support -->
–> OpenWrt specific MTD options -->[]Seama firmware parser
[]WRGG firmware parser
Device Drivers --> <+> Memory Technology Device(MTD) support -->
–> []Cybertan partitioning support
[]MyLoader partition parsing
[]TP-Link AR7XXX/AR9XXX partitioning support
Device Drivers --> <+> Network device support --> Distributed Switch Architecture drivers->
–> <>Marvell 88E6060 ethernet switch chip support
[]Marvell 88E6063 ethernet switch chip support
Device Drivers --> <+> Network device support --> Ethernet driver support–>
–> []Amazon Devices
[]ARC devices
[]Aurora VLSI devices
[]Cadence devices
[]Broadcom devices
[]EZchip devices
[]Intel devices
[]Marvell devices
[]Micrel devices
[]Microchip devices
[]National Semi-conductor devices
[]Netronome® devices
[]Renesas devices
[]Rocker devices
[]Samsung Ethernet devices
[]SEEQ devices
[]SMC (SMSC)/Western Digital devices
[]STMicroelectronics devices
[]Synopsys devices
[]VIA devices
[]WIZnet devices
[]Xilinx devices
Device Drivers --> <+> Network device support --> PHY Device support and intrastructure->
–> []Driver for Atheros AR8216 switches
[]Driver for IC+ IP17xx switches
[]Driver for Realtek RTL8306S switches
[]Driver for the RTL8366 SMI interface
[]AT803X PHYs
[]MDIO Bus/PHY emulation with fixed speed/link PHYs
[]Intel XWAY PHYs
[]Marvel PHYs
[]Micrel PHYs
Device Drivers --> [+]SPI support --> []GPIO-based bitbanging SPI Master
Device Drivers --> -± GPIO support --> clear I2C GPIO expanders–>[]
[]NXP 74HC153 Dual 4-input multiplexer
Device Drivers --> [+]Real Time Clock --> <+> Philips PCF8563/Epson RTC8564
[]PC-style ‘CMOS’
Kernel hacking --> (rootfstype=squashfs,jffs2 noinitrd) Default kernel command string