mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 21:14:44 +08:00
0af2de76a2
After converting to multiplatform the old IXP4xx defconfig doesn't even activate the ethernet driver anymore, we need to refresh this thoroughly. - Drop options that ARCH_MULTI_V5 selects for us. - Some options moved around because of multiplatform and because generic Kconfig movements. - Drop all MACH_* that do not exist anymore. - Compress the kernel and initramfs with XZ as the memory is often limited for these machines. - Make sure IXP4XX_QMGR and IXP4XX_NPE is selected. - Make sure the MTD_PHYSMAP_IXP4XX is selected and not the old MTD_IXP4XX (will be deleted). - Activate CRYPTO_DEV_IXP4XX - Add some very basic default drivers such as AT24 EEPROMs used in many routers. - Add some kernel configs needed to bring up OpenWrt which is the only userspace for these devices: CGROUPS, DEVTMPFS, INOTIFY_USER, SIGNALFD, TIMERFD, EPOLL, OVERLAY_FS and SQUASHFS. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@kernel.org> Cc: Krzysztof Halasa <khalasa@piap.pl> Cc: Imre Kaloz <kaloz@openwrt.org> Link: https://lore.kernel.org/r/20220407204502.2470560-1-linus.walleij@linaro.org' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
177 lines
3.7 KiB
Plaintext
177 lines
3.7 KiB
Plaintext
CONFIG_KERNEL_XZ=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_INITRAMFS_COMPRESSION_XZ=y
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_ARCH_MULTI_V7 is not set
|
|
CONFIG_ARCH_IXP4XX=y
|
|
# CONFIG_ARM_THUMB is not set
|
|
CONFIG_CPU_BIG_ENDIAN=y
|
|
CONFIG_AEABI=y
|
|
CONFIG_CMDLINE="console=ttyS0,115200"
|
|
CONFIG_STRICT_KERNEL_RWX=y
|
|
CONFIG_STRICT_MODULE_RWX=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODVERSIONS=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_ADVANCED_ROUTER=y
|
|
CONFIG_IP_MULTIPLE_TABLES=y
|
|
CONFIG_IP_ROUTE_MULTIPATH=y
|
|
CONFIG_IP_ROUTE_VERBOSE=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
CONFIG_IP_MROUTE=y
|
|
CONFIG_IP_PIMSM_V1=y
|
|
CONFIG_IP_PIMSM_V2=y
|
|
CONFIG_SYN_COOKIES=y
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_IP_VS=m
|
|
CONFIG_IP_VS_DEBUG=y
|
|
CONFIG_IP_VS_RR=m
|
|
CONFIG_IP_VS_WRR=m
|
|
CONFIG_IP_VS_LC=m
|
|
CONFIG_IP_VS_WLC=m
|
|
CONFIG_IP_VS_LBLC=m
|
|
CONFIG_IP_VS_LBLCR=m
|
|
CONFIG_IP_VS_DH=m
|
|
CONFIG_IP_VS_SH=m
|
|
CONFIG_IP_NF_IPTABLES=m
|
|
CONFIG_IP_NF_MATCH_TTL=m
|
|
CONFIG_IP_NF_FILTER=m
|
|
CONFIG_IP_NF_TARGET_REJECT=m
|
|
CONFIG_IP_NF_MANGLE=m
|
|
CONFIG_IP_NF_ARPTABLES=m
|
|
CONFIG_IP_NF_ARPFILTER=m
|
|
CONFIG_ATM=y
|
|
CONFIG_ATM_CLIP=y
|
|
CONFIG_ATM_LANE=m
|
|
CONFIG_ATM_MPOA=m
|
|
CONFIG_ATM_BR2684=m
|
|
CONFIG_BRIDGE=m
|
|
CONFIG_VLAN_8021Q=m
|
|
CONFIG_ATALK=m
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BLK_DEV_BSG is not set
|
|
# CONFIG_SCSI_LOWLEVEL is not set
|
|
CONFIG_ATA=y
|
|
CONFIG_PATA_IXP4XX_CF=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_DUMMY=y
|
|
CONFIG_ATM_TCP=m
|
|
CONFIG_IXP4XX_ETH=y
|
|
CONFIG_WAN=y
|
|
CONFIG_HDLC=y
|
|
CONFIG_HDLC_RAW=m
|
|
CONFIG_HDLC_CISCO=m
|
|
CONFIG_HDLC_FR=m
|
|
CONFIG_HDLC_PPP=m
|
|
CONFIG_IXP4XX_HSS=m
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
CONFIG_KEYBOARD_GPIO=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_MISC=y
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_VT is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=2
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_GPIO=y
|
|
CONFIG_GPIO_GW_PLD=y
|
|
CONFIG_GPIO_PCA953X=y
|
|
CONFIG_SENSORS_AD7418=y
|
|
CONFIG_SENSORS_W83781D=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_IXP4XX_WATCHDOG=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
CONFIG_LEDS_TRIGGER_DISK=y
|
|
CONFI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