d6d06aceb0
This is a Japanese market router, for details check http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB RAM, but base OpenWRT install worked fine for days without issues. Even an image with built-in Luci worked, but don't expect smooth experience, due to the lack of RAM. Wifi was not extensively tested, but seems it is working. GPIO LEDs & buttons, factory flash image and switch config are confirmed working. Tested against revision 34882 + this patch. [juhosg: move user-space support and image generation changes into separate patches] Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34925
166 lines
4.5 KiB
Groff
166 lines
4.5 KiB
Groff
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
|
|
CONFIG_ARCH_DISCARD_MEMBLOCK=y
|
|
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
|
|
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
|
|
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
|
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
|
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
|
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
CONFIG_CEVT_R4K=y
|
|
CONFIG_CEVT_R4K_LIB=y
|
|
CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
|
|
CONFIG_CMDLINE_BOOL=y
|
|
# CONFIG_CMDLINE_OVERRIDE is not set
|
|
CONFIG_CPU_GENERIC_DUMP_TLB=y
|
|
CONFIG_CPU_HAS_PREFETCH=y
|
|
CONFIG_CPU_HAS_SYNC=y
|
|
CONFIG_CPU_LITTLE_ENDIAN=y
|
|
CONFIG_CPU_MIPS32=y
|
|
# CONFIG_CPU_MIPS32_R1 is not set
|
|
CONFIG_CPU_MIPS32_R2=y
|
|
CONFIG_CPU_MIPSR2=y
|
|
CONFIG_CPU_R4K_CACHE_TLB=y
|
|
CONFIG_CPU_R4K_FPU=y
|
|
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
|
|
CONFIG_CPU_SUPPORTS_HIGHMEM=y
|
|
CONFIG_CRYPTO_AES=y
|
|
CONFIG_CRYPTO_ALGAPI=y
|
|
CONFIG_CRYPTO_ALGAPI2=y
|
|
CONFIG_CSRC_R4K=y
|
|
CONFIG_CSRC_R4K_LIB=y
|
|
CONFIG_DECOMPRESS_LZMA=y
|
|
CONFIG_DMA_NONCOHERENT=y
|
|
# CONFIG_DWC_OTG is not set
|
|
CONFIG_EARLY_PRINTK=y
|
|
CONFIG_GENERIC_ATOMIC64=y
|
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
|
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
|
CONFIG_GENERIC_CMOS_UPDATE=y
|
|
CONFIG_GENERIC_GPIO=y
|
|
CONFIG_GENERIC_IO=y
|
|
CONFIG_GENERIC_IRQ_SHOW=y
|
|
CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
|
CONFIG_GPIOLIB=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
CONFIG_HARDWARE_WATCHPOINTS=y
|
|
CONFIG_HAS_DMA=y
|
|
CONFIG_HAS_IOMEM=y
|
|
CONFIG_HAS_IOPORT=y
|
|
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
|
CONFIG_HAVE_ARCH_KGDB=y
|
|
CONFIG_HAVE_CLK=y
|
|
CONFIG_HAVE_C_RECORDMCOUNT=y
|
|
CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
|
CONFIG_HAVE_DMA_API_DEBUG=y
|
|
CONFIG_HAVE_DMA_ATTRS=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_FUNCTION_TRACE_MCOUNT_TEST=y
|
|
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
|
CONFIG_HAVE_GENERIC_HARDIRQS=y
|
|
CONFIG_HAVE_IDE=y
|
|
CONFIG_HAVE_IRQ_WORK=y
|
|
CONFIG_HAVE_MEMBLOCK=y
|
|
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
|
|
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
|
|
CONFIG_HAVE_OPROFILE=y
|
|
CONFIG_HAVE_PERF_EVENTS=y
|
|
CONFIG_HW_RANDOM=m
|
|
CONFIG_IMAGE_CMDLINE_HACK=y
|
|
CONFIG_INITRAMFS_SOURCE=""
|
|
CONFIG_IRQ_CPU=y
|
|
CONFIG_IRQ_FORCED_THREADING=y
|
|
CONFIG_M25PXX_USE_FAST_READ=y
|
|
CONFIG_MDIO_BOARDINFO=y
|
|
# CONFIG_MII is not set
|
|
CONFIG_MIPS=y
|
|
CONFIG_MIPS_L1_CACHE_SHIFT=5
|
|
CONFIG_MIPS_MACHINE=y
|
|
CONFIG_MIPS_MT_DISABLED=y
|
|
CONFIG_MIPS_RALINK=y
|
|
# CONFIG_MIPS_SEAD3 is not set
|
|
CONFIG_MODULES_USE_ELF_REL=y
|
|
# CONFIG_MTD_CFI_INTELEXT is not set
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_M25P80=y
|
|
CONFIG_MTD_PHYSMAP=y
|
|
CONFIG_NEED_DMA_MAP_STATE=y
|
|
CONFIG_NEED_PER_CPU_KM=y
|
|
CONFIG_NET_RAMIPS=y
|
|
# CONFIG_NET_RAMIPS_DEBUG is not set
|
|
# CONFIG_NET_RAMIPS_DEBUG_FS is not set
|
|
CONFIG_PAGEFLAGS_EXTENDED=y
|
|
CONFIG_PERF_USE_VMALLOC=y
|
|
CONFIG_PHYLIB=y
|
|
# CONFIG_PREEMPT_RCU is not set
|
|
CONFIG_RALINK_DEV_GPIO_BUTTONS=y
|
|
CONFIG_RALINK_DEV_GPIO_LEDS=y
|
|
# CONFIG_RALINK_RT288X is not set
|
|
CONFIG_RALINK_RT305X=y
|
|
# CONFIG_RALINK_RT3883 is not set
|
|
CONFIG_RAMIPS_WDT=y
|
|
CONFIG_RT305X_MACH_3G_6200N=y
|
|
CONFIG_RT305X_MACH_AIR3GII=y
|
|
CONFIG_RT305X_MACH_ALL0256N=y
|
|
CONFIG_RT305X_MACH_ALL5002=y
|
|
CONFIG_RT305X_MACH_ARGUS_ATP52B=y
|
|
CONFIG_RT305X_MACH_BC2=y
|
|
CONFIG_RT305X_MACH_BROADWAY=y
|
|
CONFIG_RT305X_MACH_CARAMBOLA=y
|
|
CONFIG_RT305X_MACH_DAP_1350=y
|
|
CONFIG_RT305X_MACH_DIR_300_REVB=y
|
|
CONFIG_RT305X_MACH_DIR_615_H1=y
|
|
CONFIG_RT305X_MACH_ESR_9753=y
|
|
CONFIG_RT305X_MACH_F5D8235_V2=y
|
|
CONFIG_RT305X_MACH_FONERA20N=y
|
|
CONFIG_RT305X_MACH_FREESTATION5=y
|
|
CONFIG_RT305X_MACH_HW550_3G=y
|
|
CONFIG_RT305X_MACH_MOFI3500_3GN=y
|
|
CONFIG_RT305X_MACH_MZKW300NH2=y
|
|
CONFIG_RT305X_MACH_NBG_419N=y
|
|
CONFIG_RT305X_MACH_NW718=y
|
|
CONFIG_RT305X_MACH_OMNI_EMB=y
|
|
CONFIG_RT305X_MACH_PSR_680W=y
|
|
CONFIG_RT305X_MACH_PWH2004=y
|
|
CONFIG_RT305X_MACH_RT_G32_REVB=y
|
|
CONFIG_RT305X_MACH_RT_N10_PLUS=y
|
|
CONFIG_RT305X_MACH_RT_N13U=y
|
|
CONFIG_RT305X_MACH_SL_R7205=y
|
|
CONFIG_RT305X_MACH_UR_336UN=y
|
|
CONFIG_RT305X_MACH_V22RW_2X2=y
|
|
CONFIG_RT305X_MACH_W306R_V20=y
|
|
CONFIG_RT305X_MACH_W502U=y
|
|
CONFIG_RT305X_MACH_WCR150GN=y
|
|
CONFIG_RT305X_MACH_WHR_G300N=y
|
|
CONFIG_RT305X_MACH_WL341V3=y
|
|
CONFIG_RT305X_MACH_WL351=y
|
|
CONFIG_RT305X_MACH_WL_330N=y
|
|
CONFIG_RT305X_MACH_WL_330N3G=y
|
|
CONFIG_RT305X_MACH_WR512_3GN=y
|
|
CONFIG_RT305X_MACH_WR6202=y
|
|
CONFIG_RT305X_MACH_XDX_RN502J=y
|
|
# CONFIG_SCSI_DMA is not set
|
|
CONFIG_SERIAL_8250_NR_UARTS=4
|
|
CONFIG_SERIAL_8250_RT288X=y
|
|
# CONFIG_SLAB is not set
|
|
CONFIG_SLUB=y
|
|
CONFIG_SOC_RT305X=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_MASTER=y
|
|
CONFIG_SPI_RAMIPS=y
|
|
CONFIG_SWCONFIG=y
|
|
CONFIG_SYS_HAS_CPU_MIPS32_R1=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_LITTLE_ENDIAN=y
|
|
CONFIG_TICK_CPU_ACCOUNTING=y
|
|
CONFIG_UIDGID_CONVERTED=y
|
|
# CONFIG_USB_ARCH_HAS_XHCI is not set
|
|
CONFIG_USB_SUPPORT=y
|
|
CONFIG_ZONE_DMA_FLAG=0
|