diff options
Diffstat (limited to 'target/linux/ramips/rt305x')
-rw-r--r-- | target/linux/ramips/rt305x/config-3.8 (renamed from target/linux/ramips/rt305x/config-3.3) | 99 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/allnet.mk | 19 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/alpha.mk | 19 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/broadway.mk | 19 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/dlink.mk | 20 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/fon.mk | 19 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/freestation5.mk | 2 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/n13u.mk | 17 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/tenda.mk | 13 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/upvel.mk | 18 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/target.mk | 3 |
11 files changed, 190 insertions, 58 deletions
diff --git a/target/linux/ramips/rt305x/config-3.3 b/target/linux/ramips/rt305x/config-3.8 index 1e067fbdd..e87d7607c 100644 --- a/target/linux/ramips/rt305x/config-3.3 +++ b/target/linux/ramips/rt305x/config-3.8 @@ -1,15 +1,18 @@ 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_BCMA_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_CLKDEV_LOOKUP=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 @@ -17,12 +20,16 @@ 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_CSRC_R4K=y -CONFIG_CSRC_R4K_LIB=y CONFIG_DECOMPRESS_LZMA=y CONFIG_DMA_NONCOHERENT=y +CONFIG_DTB_RT305X_EVAL=y +# CONFIG_DTB_RT_NONE is not set +CONFIG_DTC=y # CONFIG_DWC_OTG is not set CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_ATOMIC64=y @@ -30,8 +37,11 @@ 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_RALINK=y CONFIG_GPIO_SYSFS=y CONFIG_HARDWARE_WATCHPOINTS=y CONFIG_HAS_DMA=y @@ -39,7 +49,10 @@ CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAVE_ARCH_JUMP_LABEL=y CONFIG_HAVE_ARCH_KGDB=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=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 @@ -51,96 +64,80 @@ CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_HAVE_GENERIC_HARDIRQS=y CONFIG_HAVE_IDE=y CONFIG_HAVE_IRQ_WORK=y +CONFIG_HAVE_MACH_CLKDEV=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_HW_RANDOM=m CONFIG_IMAGE_CMDLINE_HACK=y CONFIG_INITRAMFS_SOURCE="" CONFIG_IRQ_CPU=y +CONFIG_IRQ_DOMAIN=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_HUGE_TLB_SUPPORT is not set CONFIG_MIPS_L1_CACHE_SHIFT=5 -CONFIG_MIPS_MACHINE=y +# CONFIG_MIPS_MACHINE is not set CONFIG_MIPS_MT_DISABLED=y -CONFIG_MIPS_RALINK=y +CONFIG_MODULES_USE_ELF_REL=y # CONFIG_MTD_CFI_INTELEXT is not set CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_M25P80=y +CONFIG_MTD_OF_PARTS=y CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_OF=y +CONFIG_MTD_UIMAGE_SPLIT=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_OF=y +CONFIG_OF_ADDRESS=y +CONFIG_OF_DEVICE=y +CONFIG_OF_EARLY_FLATTREE=y +CONFIG_OF_FLATTREE=y +CONFIG_OF_GPIO=y +CONFIG_OF_IRQ=y +CONFIG_OF_MDIO=y +CONFIG_OF_MTD=y +CONFIG_OF_NET=y CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_PERCPU_RWSEM=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_ALL0256N=y -CONFIG_RT305X_MACH_ALL5002=y -CONFIG_RT305X_MACH_ARGUS_ATP52B=y -CONFIG_RT305X_MACH_BC2=y -CONFIG_RT305X_MACH_CARAMBOLA=y -CONFIG_RT305X_MACH_DIR_300_REVB=y -CONFIG_RT305X_MACH_DIR_615_H1=y -CONFIG_RT305X_MACH_DAP_1350=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_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_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_RALINK=y +CONFIG_RALINK_WDT=y # CONFIG_SCSI_DMA is not set CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RT288X=y +CONFIG_SERIAL_OF_PLATFORM=y # CONFIG_SLAB is not set CONFIG_SLUB=y +# CONFIG_SOC_MT7620 is not set +# CONFIG_SOC_RT288X is not set CONFIG_SOC_RT305X=y +# CONFIG_SOC_RT3883 is not set CONFIG_SPI=y CONFIG_SPI_MASTER=y -CONFIG_SPI_RAMIPS=y +CONFIG_SPI_RALINK=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_USB_ARCH_HAS_EHCI is not set -# CONFIG_USB_ARCH_HAS_OHCI is not set +CONFIG_TICK_CPU_ACCOUNTING=y +CONFIG_UIDGID_CONVERTED=y # CONFIG_USB_ARCH_HAS_XHCI is not set CONFIG_USB_SUPPORT=y -CONFIG_XZ_DEC=y +CONFIG_USE_OF=y CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ramips/rt305x/profiles/allnet.mk b/target/linux/ramips/rt305x/profiles/allnet.mk index fb3e4d411..858891f4d 100644 --- a/target/linux/ramips/rt305x/profiles/allnet.mk +++ b/target/linux/ramips/rt305x/profiles/allnet.mk @@ -9,7 +9,7 @@ define Profile/ALL02393G NAME:=Allnet ALL0239-3G PACKAGES:=\ kmod-usb-core kmod-usb-rt305x-dwc_otg \ - kmod-ledtrig-usbdev + kmod-ledtrig-usbdev restorefactory endef define Profile/ALL02393G/Description @@ -20,7 +20,7 @@ $(eval $(call Profile,ALL02393G)) define Profile/ALL0256N NAME:=Allnet ALL0256N - PACKAGES:=rssileds + PACKAGES:=restorefactory rssileds endef define Profile/ALL0256N/Description @@ -31,7 +31,8 @@ $(eval $(call Profile,ALL0256N)) define Profile/ALL5002 NAME:=Allnet ALL5002 - PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x endef define Profile/ALL5002/Description @@ -39,3 +40,15 @@ define Profile/ALL5002/Description endef $(eval $(call Profile,ALL5002)) + +define Profile/ALL5003 + NAME:=Allnet ALL5003 + PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x +endef + +define Profile/ALL5003/Description + Package set for Allnet ALL5003 +endef + +$(eval $(call Profile,ALL5003)) diff --git a/target/linux/ramips/rt305x/profiles/alpha.mk b/target/linux/ramips/rt305x/profiles/alpha.mk new file mode 100644 index 000000000..a537509a9 --- /dev/null +++ b/target/linux/ramips/rt305x/profiles/alpha.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/ASL26555 + NAME:=Alpha ASL26555 + PACKAGES:=\ + kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-ledtrig-usbdev +endef + +define Profile/ASL26555/Description + Package set for Alpha ASL26555 +endef + +$(eval $(call Profile,ASL26555)) diff --git a/target/linux/ramips/rt305x/profiles/broadway.mk b/target/linux/ramips/rt305x/profiles/broadway.mk new file mode 100644 index 000000000..8e994bdb8 --- /dev/null +++ b/target/linux/ramips/rt305x/profiles/broadway.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/BROADWAY + NAME:=Hauppauge Broadway + PACKAGES:=\ + kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-ledtrig-usbdev restorefactory +endef + +define Profile/BROADWAY/Description + Package set for Hauppauge Broadway +endef + +$(eval $(call Profile,BROADWAY)) diff --git a/target/linux/ramips/rt305x/profiles/dlink.mk b/target/linux/ramips/rt305x/profiles/dlink.mk new file mode 100644 index 000000000..29d8b7c38 --- /dev/null +++ b/target/linux/ramips/rt305x/profiles/dlink.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/DIR615H1 + NAME:=Dlink DIR-615 H1 + PACKAGES:=\ + -kmod-usb-core -kmod-usb-rt305x-dwc_otg \ + -kmod-ledtrig-usbdev +endef + +define Profile/DIR615H1/Description + Package set for Dlink DIR-615 H1 board +endef + +$(eval $(call Profile,DIR615H1)) + diff --git a/target/linux/ramips/rt305x/profiles/fon.mk b/target/linux/ramips/rt305x/profiles/fon.mk new file mode 100644 index 000000000..2e58dd813 --- /dev/null +++ b/target/linux/ramips/rt305x/profiles/fon.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/FONERA20N + NAME:=Fonera 2.0N + PACKAGES:=\ + kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-ledtrig-usbdev +endef + +define Profile/FONERA20N/Description + Package set for Fonera 2.0N +endef + +$(eval $(call Profile,FONERA20N)) diff --git a/target/linux/ramips/rt305x/profiles/freestation5.mk b/target/linux/ramips/rt305x/profiles/freestation5.mk index 6da1e68c2..a3c105b95 100644 --- a/target/linux/ramips/rt305x/profiles/freestation5.mk +++ b/target/linux/ramips/rt305x/profiles/freestation5.mk @@ -12,7 +12,7 @@ define Profile/FREESTATION5 endef define Profile/FREESTATION5/Description - Package set for ARC Flex FreeStation5 + Package set for ARC FreeStation, Flex mARC, iFlex, and SplitStation endef $(eval $(call Profile,FREESTATION5)) diff --git a/target/linux/ramips/rt305x/profiles/n13u.mk b/target/linux/ramips/rt305x/profiles/n13u.mk new file mode 100644 index 000000000..6c81722ef --- /dev/null +++ b/target/linux/ramips/rt305x/profiles/n13u.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/RT-N13U + NAME:=Asus RT-N13U + PACKAGES:=kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-rt305x-dwc_otg +endef + +define Profile/RT-N13U/Description + Package set for Asus RT-N13U. +endef + +$(eval $(call Profile,RT-N13U)) diff --git a/target/linux/ramips/rt305x/profiles/tenda.mk b/target/linux/ramips/rt305x/profiles/tenda.mk index 5e45b5f91..10a4cb307 100644 --- a/target/linux/ramips/rt305x/profiles/tenda.mk +++ b/target/linux/ramips/rt305x/profiles/tenda.mk @@ -5,6 +5,19 @@ # See /LICENSE for more information. # +define Profile/3G300M + NAME:=Tenda 3G300M + PACKAGES:=\ + kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-ledtrig-usbdev +endef + +define Profile/3G300M/Description + Package set for Tenda 3G300M board +endef + +$(eval $(call Profile,3G300M)) + define Profile/W306R_V20 NAME:=Tenda W306R V2.0 PACKAGES:= diff --git a/target/linux/ramips/rt305x/profiles/upvel.mk b/target/linux/ramips/rt305x/profiles/upvel.mk index fa1c9936d..3910c8f16 100644 --- a/target/linux/ramips/rt305x/profiles/upvel.mk +++ b/target/linux/ramips/rt305x/profiles/upvel.mk @@ -5,14 +5,26 @@ # See /LICENSE for more information. # -define Profile/UPVEL +define Profile/UR-336UN NAME:=UPVEL UR-336UN PACKAGES:=\ kmod-usb-core kmod-usb-rt305x-dwc_otg \ kmod-ledtrig-usbdev endef -define Profile/UPVEL/Description +define Profile/UR-336UN/Description Default package set compatible with URVEL router board. endef -$(eval $(call Profile,UPVEL)) +$(eval $(call Profile,UR-336UN)) + +define Profile/UR-326N4G + NAME:=UPVEL UR-326N4G + PACKAGES:=\ + kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-ledtrig-usbdev +endef + +define Profile/UR-326N4G/Description + Default package set compatible with URVEL router board. +endef +$(eval $(call Profile,UR-326N4G)) diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk index 2c78756cf..cd5baa8ac 100644 --- a/target/linux/ramips/rt305x/target.mk +++ b/target/linux/ramips/rt305x/target.mk @@ -4,6 +4,9 @@ SUBTARGET:=rt305x BOARDNAME:=RT305x based boards +ARCH_PACKAGES:=ramips_24kec +FEATURES+=usb +CFLAGS+= -march=24kec -mdsp define Target/Description Build firmware images for Ralink RT305x based boards. |