mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
c08293893a
Some targets need 4K sectors for small flash chips (e.g. some routerboards, where the entire chip is just one "erase block"), whereas on other devices 4K sectors lead to horrible flash erase/write performance. Set the default limit in the generic kernel configuration to 4 MiB to ensure that all new platforms don't use 4K sectors for bigger flash chips. On all existing targets use 16 MiB for now to avoid regressions. They will be changed individually in follow-up commits. Signed-off-by: Felix Fietkau <nbd@nbd.name>
342 lines
8.4 KiB
Groff
342 lines
8.4 KiB
Groff
CONFIG_ARCH_BINFMT_ELF_STATE=y
|
|
CONFIG_ARCH_CLOCKSOURCE_DATA=y
|
|
CONFIG_ARCH_DISCARD_MEMBLOCK=y
|
|
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
|
|
# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set
|
|
# CONFIG_ARCH_HAS_SG_CHAIN is not set
|
|
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
|
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
|
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
|
|
CONFIG_ARCH_SUPPORTS_UPROBES=y
|
|
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
|
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
|
|
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_BOARD_SCACHE=y
|
|
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
|
|
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1
|
|
CONFIG_BOOT_ELF32=y
|
|
CONFIG_CEVT_R4K=y
|
|
CONFIG_CLKDEV_LOOKUP=y
|
|
CONFIG_CLKSRC_MIPS_GIC=y
|
|
CONFIG_CLKSRC_OF=y
|
|
CONFIG_CLKSRC_PISTACHIO=y
|
|
CONFIG_CLKSRC_PROBE=y
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YPTO_NULL2=y
|
|
CONFIG_CRYPTO_RNG=y
|
|
CONFIG_CRYPTO_RNG2=y
|
|
CONFIG_CRYPTO_SHA1=y
|
|
CONFIG_CRYPTO_SHA256=y
|
|
CONFIG_CRYPTO_WORKQUEUE=y
|
|
CONFIG_CSRC_R4K=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_DMA_ENGINE=y
|
|
CONFIG_DMA_NONCOHERENT=y
|
|
CONFIG_DMA_OF=y
|
|
CONFIG_DMA_VIRTUAL_CHANNELS=y
|
|
CONFIG_DTC=y
|
|
CONFIG_DWMAC_GENERIC=y
|
|
CONFIG_EARLY_PRINTK=y
|
|
CONFIG_EARLY_PRINTK_8250=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
|
CONFIG_EXT4_FS_SECURITY=y
|
|
CONFIG_FIXED_PHY=y
|
|
CONFIG_FS_MBCACHE=y
|
|
CONFIG_FS_POSIX_ACL=y
|
|
CONFIG_GENERIC_ALLOCATOR=y
|
|
CONFIG_GENERIC_ATOMIC64=y
|
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
|
CONFIG_GENERIC_CMOS_UPDATE=y
|
|
CONFIG_GENERIC_IO=y
|
|
CONFIG_GENERIC_IRQ_CHIP=y
|
|
CONFIG_GENERIC_IRQ_IPI=y
|
|
CONFIG_GENERIC_IRQ_SHOW=y
|
|
CONFIG_GENERIC_PCI_IOMAP=y
|
|
CONFIG_GENERIC_PHY=y
|
|
CONFIG_GENERIC_PINCONF=y
|
|
CONFIG_GENERIC_SCHED_CLOCK=y
|
|
CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
|
CONFIG_GENERIC_TIME_VSYSCALL=y
|
|
CONFIG_GPIOLIB=y
|
|
CONFIG_GPIOLIB_IRQCHIP=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
CONFIG_HANDLE_DOMAIN_IRQ=y
|
|
CONFIG_HARDWARE_WATCHPOINTS=y
|
|
CONFIG_HAS_DMA=y
|
|
CONFIG_HAS_IOMEM=y
|
|
CONFIG_HAS_IOPORT_MAP=y
|
|
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
|
# CONFIG_HAVE_ARCH_BITREVERSE is not set
|
|
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
|
CONFIG_HAVE_ARCH_KGDB=y
|
|
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
|
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
|
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
|
CONFIG_HAVE_CBPF_JIT=y
|
|
CONFIG_HAVE_CC_STACKPROTECTOR=y
|
|
CONFIG_HAVE_CLK=y
|
|
CONFIG_HAVE_CLK_PREPARE=y
|
|
CONFIG_HAVE_CONTEXT_TRACKING=y
|
|
CONFIG_HAVE_C_RECORDMCOUNT=y
|
|
CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
|
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
|
|
CONFIG_HAVE_DMA_API_DEBUG=y
|
|
CONFIG_HAVE_DMA_CONTIGUOUS=y
|
|
CONFIG_HAVE_DYNAMIC_FTRACE=y
|
|
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
|
|
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
|
CONFIG_HAVE_FUNCTION_TRACER=y
|
|
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
|
CONFIG_HAVE_IDE=y
|
|
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
|
|
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
|
CONFIG_HAVE_KVM=y
|
|
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
|
|
CONFIG_HAVE_MEMBLOCK=y
|
|
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
|
|
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
|
|
CONFIG_HAVE_NET_DSA=y
|
|
CONFIG_HAVE_OPROFILE=y
|
|
CONFIG_HAVE_PERF_EVENTS=y
|
|
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
|
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
|
|
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
|
CONFIG_HOTPLUG_CPU=y
|
|
CONFIG_I2C=y
|
|
CONFIG_I2C_BOARDINFO=y
|
|
CONFIG_I2C_IMG=y
|
|
CONFIG_IMGPDC_WDT=y
|
|
CONFIG_IMG_MDC_DMA=y
|
|
CONFIG_INITRAMFS_SOURCE=""
|
|
CONFIG_IRQCHIP=y
|
|
CONFIG_IRQ_DOMAIN=y
|
|
CONFIG_IRQ_DOMAIN_HIERARCHY=y
|
|
CONFIG_IRQ_FORCED_THREADING=y
|
|
CONFIG_IRQ_MIPS_CPU=y
|
|
CONFIG_IRQ_WORK=y
|
|
CONFIG_JBD2=y
|
|
CONFIG_LEDS_PWM=y
|
|
CONFIG_LIBFDT=y
|
|
CONFIG_LKDTM=y
|
|
CONFIG_LOCKUP_DETECTOR=y
|
|
CONFIG_LOG_BUF_SHIFT=18
|
|
CONFIG_LZO_COMPRESS=y
|
|
CONFIG_LZO_DECOMPRESS=y
|
|
CONFIG_MACH_PISTACHIO=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0
|
|
CONFIG_MDIO_BOARDINFO=y
|
|
# CONFIG_MFD_MAX77620 is not set
|
|
CONFIG_MFD_SYSCON=y
|
|
CONFIG_MICREL_PHY=y
|
|
CONFIG_MIPS=y
|
|
CONFIG_MIPS_ASID_BITS=8
|
|
CONFIG_MIPS_ASID_SHIFT=0
|
|
CONFIG_MIPS_CLOCK_VSYSCALL=y
|
|
CONFIG_MIPS_CM=y
|
|
# CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set
|
|
CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y
|
|
# CONFIG_MIPS_CMDLINE_FROM_DTB is not set
|
|
CONFIG_MIPS_CPC=y
|
|
CONFIG_MIPS_CPS=y
|
|
# CONFIG_MIPS_CPS_CPUIDLE is not set
|
|
# CONFIG_MIPS_CPS_NS16550 is not set
|
|
CONFIG_MIPS_CPS_PM=y
|
|
CONFIG_MIPS_CPU_SCACHE=y
|
|
# CONFIG_MIPS_ELF_APPENDED_DTB is not set
|
|
CONFIG_MIPS_EXTERNAL_TIMER=y
|
|
CONFIG_MIPS_FPU_EMULATOR=y
|
|
CONFIG_MIPS_GIC=y
|
|
# CONFIG_MIPS_HUGE_TLB_SUPPORT is not set
|
|
CONFIG_MIPS_L1_CACHE_SHIFT=5
|
|
# CONFIG_MIPS_MACHINE is not set
|
|
CONFIG_MIPS_MT=y
|
|
CONFIG_MIPS_MT_FPAFF=y
|
|
CONFIG_MIPS_MT_SMP=y
|
|
CONFIG_MIPS_NO_APPENDED_DTB=y
|
|
CONFIG_MIPS_PERF_SHARED_TC_COUNTERS=y
|
|
# CONFIG_MIPS_RAW_APPENDED_DTB is not set
|
|
CONFIG_MIPS_SPRAM=y
|
|
# CONFIG_MIPS_VPE_LOADER is not set
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_BLOCK=y
|
|
CONFIG_MMC_DW=y
|
|
# CONFIG_MMC_DW_EXYNOS is not set
|
|
# CONFIG_MMC_DW_K3 is not set
|
|
CONFIG_MMC_DW_PLTFM=y
|
|
CONFIG_MODULES_USE_ELF_REL=y
|
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_M25P80=y
|
|
CONFIG_MTD_NAND=y
|
|
CONFIG_MTD_NAND_ECC=y
|
|
# CONFIG_MTD_PHYSMAP_OF_VERSATILE is not set
|
|
CONFIG_MTD_SPI_NAND=y
|
|
CONFIG_MTD_SPI_NAND_DEVICES=y
|
|
CONFIG_MTD_SPI_NOR=y
|
|
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
|
|
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS_LIMIT=16384
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_MTD_UBI_BEB_LIMIT=20
|
|
CONFIG_MTD_UBI_BLOCK=y
|
|
CONFIG_MTD_UBI_FASTMAP=y
|
|
# CONFIG_MTD_UBI_GLUEBI is not set
|
|
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
|
CONFIG_NAMESPACES=y
|
|
CONFIG_NEED_DMA_MAP_STATE=y
|
|
CONFIG_NET_FLOW_LIMIT=y
|
|
CONFIG_NET_NS=y
|
|
CONFIG_NET_PTP_CLASSIFY=y
|
|
CONFIG_NLS=y
|
|
CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_NO_HZ_COMMON=y
|
|
CONFIG_NO_HZ_IDLE=y
|
|
# CONFIG_NO_IOPORT_MAP is not set
|
|
CONFIG_NR_CPUS=4
|
|
CONFIG_OF=y
|
|
CONFIG_OF_ADDRESS=y
|
|
CONFIG_OF_EARLY_FLATTREE=y
|
|
CONFIG_OF_FLATTREE=y
|
|
CONFIG_OF_GPIO=y
|
|
CONFIG_OF_IRQ=y
|
|
CONFIG_OF_MDIO=y
|
|
CONFIG_OF_NET=y
|
|
CONFIG_PADATA=y
|
|
CONFIG_PCI_DRIVERS_LEGACY=y
|
|
CONFIG_PERF_USE_VMALLOC=y
|
|
CONFIG_PGTABLE_LEVELS=2
|
|
# CONFIG_PGTABLE_MAPPING is not set
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PHY_PISTACHIO_USB=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_PISTACHIO=y
|
|
CONFIG_PISTACHIO_GPTIMER_CLKSRC=y
|
|
CONFIG_POWER_SUPPLY=y
|
|
CONFIG_PPS=y
|
|
# CONFIG_PREEMPT_NONE is not set
|
|
CONFIG_PREEMPT_VOLUNTARY=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_PROC_EVENTS=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_PTP_1588_CLOCK=y
|
|
CONFIG_PWM=y
|
|
CONFIG_PWM_IMG=y
|
|
CONFIG_PWM_SYSFS=y
|
|
CONFIG_RATIONAL=y
|
|
CONFIG_RCU_STALL_COMMON=y
|
|
CONFIG_REGMAP=y
|
|
CONFIG_REGMAP_I2C=y
|
|
CONFIG_REGMAP_MMIO=y
|
|
CONFIG_REGMAP_SPI=y
|
|
CONFIG_REGULATOR=y
|
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
CONFIG_REGULATOR_GPIO=y
|
|
CONFIG_RESET_CONTROLLER=y
|
|
CONFIG_RESET_PISTACHIO=y
|
|
CONFIG_RFS_ACCEL=y
|
|
CONFIG_RPS=y
|
|
CONFIG_SCHEDSTATS=y
|
|
CONFIG_SCHED_INFO=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_SCSI_SPI_ATTRS=y
|
|
CONFIG_SERIAL_8250_DW=y
|
|
# CONFIG_SERIAL_8250_FSL is not set
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
CONFIG_SG_POOL=y
|
|
CONFIG_SMP=y
|
|
CONFIG_SMP_UP=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_IMG_SPFI=y
|
|
CONFIG_SPI_MASTER=y
|
|
CONFIG_SRAM=y
|
|
CONFIG_SRCU=y
|
|
CONFIG_STMMAC_ETH=y
|
|
CONFIG_STMMAC_PLATFORM=y
|
|
CONFIG_SWPHY=y
|
|
CONFIG_SYNC_R4K=y
|
|
CONFIG_SYSCTL_EXCEPTION_TRACE=y
|
|
CONFIG_SYS_HAS_CPU_MIPS32_R2=y
|
|
CONFIG_SYS_HAS_EARLY_PRINTK=y
|
|
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
|
|
CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
|
|
CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y
|
|
CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
|
|
CONFIG_SYS_SUPPORTS_MIPS_CPS=y
|
|
CONFIG_SYS_SUPPORTS_MULTITHREADING=y
|
|
CONFIG_SYS_SUPPORTS_RELOCATABLE=y
|
|
CONFIG_SYS_SUPPORTS_SCHED_SMT=y
|
|
CONFIG_SYS_SUPPORTS_SMP=y
|
|
CONFIG_SYS_SUPPORTS_ZBOOT=y
|
|
CONFIG_TICK_CPU_ACCOUNTING=y
|
|
CONFIG_TIMER_STATS=y
|
|
CONFIG_TMPFS_POSIX_ACL=y
|
|
CONFIG_TREE_RCU=y
|
|
CONFIG_UBIFS_FS=y
|
|
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
|
|
CONFIG_UBIFS_FS_LZO=y
|
|
CONFIG_UBIFS_FS_ZLIB=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
|
CONFIG_USB_COMMON=y
|
|
CONFIG_USB_DWC2=y
|
|
CONFIG_USB_DWC2_DUAL_ROLE=y
|
|
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
|
|
CONFIG_USB_EHCI_HCD=y
|
|
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
|
|
# CONFIG_USB_ETH is not set
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_SUPPORT=y
|
|
CONFIG_USER_NS=y
|
|
CONFIG_USE_GENERIC_EARLY_PRINTK_8250=y
|
|
CONFIG_USE_OF=y
|
|
CONFIG_WATCHDOG_CORE=y
|
|
CONFIG_WEAK_ORDERING=y
|
|
CONFIG_XPS=y
|
|
CONFIG_ZLIB_DEFLATE=y
|
|
CONFIG_ZLIB_INFLATE=y
|
|
CONFIG_ZSMALLOC=y
|
|
# CONFIG_ZSMALLOC_STAT is not set
|