From: Felix Fietkau Date: Fri, 7 May 2010 16:20:32 +0000 (+0000) Subject: ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2598c32f063f410ee32fe967db85a02432992269;p=openwrt%2Fstaging%2Fmkresin.git ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image SVN-Revision: 21396 --- diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 540fe51d1c..d3bf6878d8 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -11,6 +11,7 @@ BOARD:=ar71xx BOARDNAME:=Atheros AR71xx/AR7240/AR913x FEATURES:=squashfs jffs2 targz CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time +SUBTARGETS:=generic nand LINUX_VERSION:=2.6.32.12 diff --git a/target/linux/ar71xx/config-2.6.32 b/target/linux/ar71xx/config-2.6.32 index 5c17220634..8987a63439 100644 --- a/target/linux/ar71xx/config-2.6.32 +++ b/target/linux/ar71xx/config-2.6.32 @@ -164,9 +164,6 @@ CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_JEDECPROBE=y CONFIG_MTD_M25P80=y CONFIG_MTD_MYLOADER_PARTS=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_RB4XX=y -CONFIG_MTD_NAND_RB750=y CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2 CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_WRT160NL_PARTS=y @@ -240,13 +237,4 @@ CONFIG_TRAD_SIGNALS=y # CONFIG_TREE_PREEMPT_RCU is not set CONFIG_TREE_RCU=y CONFIG_USB_SUPPORT=y -CONFIG_YAFFS_9BYTE_TAGS=y -CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y -CONFIG_YAFFS_AUTO_YAFFS2=y -# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set -# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y -CONFIG_YAFFS_YAFFS1=y -CONFIG_YAFFS_YAFFS2=y CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ar71xx/config-2.6.33 b/target/linux/ar71xx/config-2.6.33 index ca49737f78..0cd2358662 100644 --- a/target/linux/ar71xx/config-2.6.33 +++ b/target/linux/ar71xx/config-2.6.33 @@ -203,9 +203,6 @@ CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_JEDECPROBE=y CONFIG_MTD_M25P80=y CONFIG_MTD_MYLOADER_PARTS=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_RB4XX=y -CONFIG_MTD_NAND_RB750=y CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2 CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_WRT160NL_PARTS=y @@ -281,13 +278,4 @@ CONFIG_TRAD_SIGNALS=y # CONFIG_TREE_PREEMPT_RCU is not set CONFIG_TREE_RCU=y CONFIG_USB_SUPPORT=y -CONFIG_YAFFS_9BYTE_TAGS=y -CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y -CONFIG_YAFFS_AUTO_YAFFS2=y -# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set -# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y -CONFIG_YAFFS_YAFFS1=y -CONFIG_YAFFS_YAFFS2=y CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ar71xx/config-2.6.34 b/target/linux/ar71xx/config-2.6.34 index 7085b227bb..b11442c13c 100644 --- a/target/linux/ar71xx/config-2.6.34 +++ b/target/linux/ar71xx/config-2.6.34 @@ -226,9 +226,6 @@ CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_JEDECPROBE=y CONFIG_MTD_M25P80=y CONFIG_MTD_MYLOADER_PARTS=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_RB4XX=y -CONFIG_MTD_NAND_RB750=y CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2 CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_WRT160NL_PARTS=y @@ -306,13 +303,4 @@ CONFIG_TRAD_SIGNALS=y # CONFIG_TREE_PREEMPT_RCU is not set CONFIG_USB_SUPPORT=y CONFIG_VLAN_8021Q=m -CONFIG_YAFFS_9BYTE_TAGS=y -CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y -CONFIG_YAFFS_AUTO_YAFFS2=y -# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set -# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y -CONFIG_YAFFS_YAFFS1=y -CONFIG_YAFFS_YAFFS2=y CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ar71xx/generic/config-default b/target/linux/ar71xx/generic/config-default new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/linux/ar71xx/generic/profiles/00-default.mk b/target/linux/ar71xx/generic/profiles/00-default.mk new file mode 100644 index 0000000000..aa46f22c54 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/00-default.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile (all drivers) + PACKAGES:=kmod-ath9k kmod-madwifi kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig vsc7385-ucode-ap83 vsc7385-ucode-pb44 vsc7395-ucode-ap83 vsc7395-ucode-pb44 wpad-mini +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef +$(eval $(call Profile,Default)) diff --git a/target/linux/ar71xx/generic/profiles/01-minimal.mk b/target/linux/ar71xx/generic/profiles/01-minimal.mk new file mode 100644 index 0000000000..3651c88ab2 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/01-minimal.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/DefaultNoWifi + NAME:=Default Profile (no WiFi) + PACKAGES:= +endef + +define Profile/DefaultNoWifi/Description + Default package set compatible with most boards. +endef +$(eval $(call Profile,DefaultNoWifi)) diff --git a/target/linux/ar71xx/generic/profiles/02-madwifi.mk b/target/linux/ar71xx/generic/profiles/02-madwifi.mk new file mode 100644 index 0000000000..7c22c53db5 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/02-madwifi.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Madwifi + NAME:=Atheros WiFi (madwifi) + PACKAGES:=kmod-madwifi wpad-mini +endef + +define Profile/Madwifi/Description + Package set compatible with hardware using Atheros WiFi cards. +endef +$(eval $(call Profile,Madwifi)) diff --git a/target/linux/ar71xx/generic/profiles/atheros.mk b/target/linux/ar71xx/generic/profiles/atheros.mk new file mode 100644 index 0000000000..4ce0e605c6 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/atheros.mk @@ -0,0 +1,63 @@ +# +# Copyright (C) 2009-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/AP81 + NAME:=Atheros AP81 reference board + PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 +endef + +define Profile/AP81/Description + Package set optimized for the Atheros AP81 reference board. +endef + +$(eval $(call Profile,AP81)) + +define Profile/AP83 + NAME:=Atheros AP83 reference board + PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 \ + vsc7385-ucode-ap83 vsc7395-ucode-ap83 +endef + +define Profile/AP83/Description + Package set optimized for the Atheros AP83 reference board. +endef + +$(eval $(call Profile,AP83)) + +define Profile/PB42 + NAME:=Atheros PB42 reference board + PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 +endef + +define Profile/PB42/Description + Package set optimized for the Atheros PB42 reference board. +endef + +$(eval $(call Profile,PB42)) + +define Profile/PB44 + NAME:=Atheros PB44 reference board + PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 \ + vsc7385-ucode-pb44 vsc7395-ucode-pb44 +endef + +define Profile/PB44/Description + Package set optimized for the Atheros PB44 reference board. +endef + +$(eval $(call Profile,PB44)) + +define Profile/PB92 + NAME:=Atheros PB92 reference board + PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 +endef + +define Profile/PB92/Description + Package set optimized for the Atheros PB92 reference board. +endef + +$(eval $(call Profile,PB92)) diff --git a/target/linux/ar71xx/generic/profiles/atlantis.mk b/target/linux/ar71xx/generic/profiles/atlantis.mk new file mode 100644 index 0000000000..c63fd9c275 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/atlantis.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/A02RBW300N + NAME:=Atlantis-Land A02-RB-W300N + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/A02RBW300N/Description + Package set optimized for the Atlantis-Land A02-RB-W300N. +endef + +$(eval $(call Profile,A02RBW300N)) diff --git a/target/linux/ar71xx/generic/profiles/buffalo.mk b/target/linux/ar71xx/generic/profiles/buffalo.mk new file mode 100644 index 0000000000..69819e586d --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/buffalo.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/WZRHPG300NH + NAME:=Buffalo WZR-HP-G300NH + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 +endef + +define Profile/WZRHPG300NH/Description + Package set optimized for the Buffalo WZR-HP-G300NH +endef + +$(eval $(call Profile,WZRHPG300NH)) diff --git a/target/linux/ar71xx/generic/profiles/compex.mk b/target/linux/ar71xx/generic/profiles/compex.mk new file mode 100644 index 0000000000..38d963a5c1 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/compex.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/WP543 + NAME:=Compex WP543/WPJ543 + PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 +endef + +define Profile/WP543/Description + Package set optimized for the Compex WP543/WPJ543 boards. +endef + +$(eval $(call Profile,WP543)) diff --git a/target/linux/ar71xx/generic/profiles/d-link.mk b/target/linux/ar71xx/generic/profiles/d-link.mk new file mode 100644 index 0000000000..bf99e099a9 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/d-link.mk @@ -0,0 +1,41 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/DIR600A1 + NAME:=D-Link DIR-600 rev. A1 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/DIR600A1/Description + Package set optimized for the D-Link DIR-600 rev. A1. +endef + +$(eval $(call Profile,DIR600A1)) + + +define Profile/DIR615C1 + NAME:=D-Link DIR-615 rev. C1 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/DIR615C1/Description + Package set optimized for the D-Link DIR-615 rev. C1. +endef + +$(eval $(call Profile,DIR615C1)) + + +define Profile/DIR825B1 + NAME:=D-Link DIR-825 rev. B1 + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 +endef + +define Profile/DIR825B1/Description + Package set optimized for the D-Link DIR-825 rev. B1. +endef + +$(eval $(call Profile,DIR825B1)) diff --git a/target/linux/ar71xx/generic/profiles/linksys.mk b/target/linux/ar71xx/generic/profiles/linksys.mk new file mode 100644 index 0000000000..f3253e728f --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/linksys.mk @@ -0,0 +1,27 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/WRT160NL + NAME:=Linksys WRT160NL + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 swconfig +endef + +define Profile/WRT160NL/Description + Package set optimized for the Linksys WRT160NL. +endef + +define Profile/WRT400N + NAME:=Linksys WRT400N + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/WRT400N/Description + Package set optimized for the Linksys WRT400N. +endef + +$(eval $(call Profile,WRT160NL)) +$(eval $(call Profile,WRT400N)) diff --git a/target/linux/ar71xx/generic/profiles/netgear.mk b/target/linux/ar71xx/generic/profiles/netgear.mk new file mode 100644 index 0000000000..8545cad0c6 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/netgear.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/WNDR3700 + NAME:=NETGEAR WNDR3700 + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 +endef + +define Profile/WNDR3700/Description + Package set optimized for the NETGEAR WNDR3700 +endef + +$(eval $(call Profile,WNDR3700)) diff --git a/target/linux/ar71xx/generic/profiles/planex.mk b/target/linux/ar71xx/generic/profiles/planex.mk new file mode 100644 index 0000000000..63e539c4e4 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/planex.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/MZKW04NU + NAME:=Planex MZK-W04NU + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 +endef + +define Profile/MZKW04NU/Description + Package set optimized for the Planex MZK-W04NU. +endef + +$(eval $(call Profile,MZKW04NU)) + +define Profile/MZKW300NH + NAME:=Planex MZK-W300NH + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/MZKW300NH/Description + Package set optimized for the Planex MZK-W300NH. +endef + +$(eval $(call Profile,MZKW300NH)) diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk new file mode 100644 index 0000000000..7efb1a3766 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/tp-link.mk @@ -0,0 +1,94 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/TLWR741NDV1 + NAME:=TP-LINK TL-WR741ND v1 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR741NDV1/Description + Package set optimized for the TP-LINK TL-WR741ND v1. +endef + +$(eval $(call Profile,TLWR741NDV1)) + +define Profile/TLWR841NV15 + NAME:=TP-LINK TL-WR841N v1.5 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR841NV15/Description + Package set optimized for the TP-LINK TL-WR841N v1.5. +endef + +$(eval $(call Profile,TLWR841NV15)) + +define Profile/TLWR841NDV3 + NAME:=TP-LINK TL-WR841ND v3 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR841NDV3/Description + Package set optimized for the TP-LINK TL-WR841ND v3. +endef + +$(eval $(call Profile,TLWR841NDV3)) + +define Profile/TLWR841NDV5 + NAME:=TP-LINK TL-WR841ND v5 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR841NDV5/Description + Package set optimized for the TP-LINK TL-WR841ND v5. +endef + +$(eval $(call Profile,TLWR841NDV5)) + +define Profile/TLWR941NDV2 + NAME:=TP-LINK TL-WR941ND v2 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR941NDV2/Description + Package set optimized for the TP-LINK TL-WR941ND v2. +endef + +$(eval $(call Profile,TLWR941NDV2)) + +define Profile/TLWR941NDV3 + NAME:=TP-LINK TL-WR941ND v3 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR941NDV3/Description + Package set optimized for the TP-LINK TL-WR941ND v3. +endef + +$(eval $(call Profile,TLWR941NDV3)) + +define Profile/TLWR941NDV4 + NAME:=TP-LINK TL-WR941ND v4 + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TLWR941NDV4/Description + Package set optimized for the TP-LINK TL-WR941ND v4. +endef + +$(eval $(call Profile,TLWR941NDV4)) + +define Profile/TLWR1043NDV1 + NAME:=TP-LINK TL-WR1043ND v1 + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 +endef + +define Profile/TLWR1043NDV1/Description + Package set optimized for the TP-LINK TL-WR1043ND v1. +endef + +$(eval $(call Profile,TLWR1043NDV1)) diff --git a/target/linux/ar71xx/generic/profiles/trendnet.mk b/target/linux/ar71xx/generic/profiles/trendnet.mk new file mode 100644 index 0000000000..20a08f3842 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/trendnet.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/TEW632BRP + NAME:=TRENDNet TEW-632BRP + PACKAGES:=kmod-ath9k wpad-mini +endef + +define Profile/TEW632BRP/Description + Package set optimized for the TRENDNet TEW-632BRP. +endef + +$(eval $(call Profile,TEW632BRP)) + +define Profile/TEW652BRP + NAME:=TRENDNet TEW-652BRP + PACKAGES:=kmod-ath9k +endef + +define Profile/TEW652BRP/Description + Package set optimized for the TRENDNet TEW-652BRP. +endef + +$(eval $(call Profile,TEW652BRP)) diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk new file mode 100644 index 0000000000..a7fd9a2619 --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk @@ -0,0 +1,39 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/UBNTRS + NAME:=Ubiquiti RouterStation + PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 +endef + +define Profile/UBNTRS/Description + Package set optimized for the Ubiquiti RouterStation. +endef + +$(eval $(call Profile,UBNTRS)) + +define Profile/UBNTRSPRO + NAME:=Ubiquiti RouterStation Pro + PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 +endef + +define Profile/UBNTRSPRO/Description + Package set optimized for the Ubiquiti RouterStation Pro. +endef + +$(eval $(call Profile,UBNTRSPRO)) + +define Profile/UBNT + NAME:=Ubiquiti Products + PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 +endef + +define Profile/UBNT/Description + Build images for all Ubiquiti products (including LS-SR71, RouterStation and RouterStation Pro) +endef + +$(eval $(call Profile,UBNT)) diff --git a/target/linux/ar71xx/generic/profiles/zyxel.mk b/target/linux/ar71xx/generic/profiles/zyxel.mk new file mode 100644 index 0000000000..73ae4e224c --- /dev/null +++ b/target/linux/ar71xx/generic/profiles/zyxel.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/NBG_460N_550N_550NH + NAME:=Zyxel NBG 460N/550N/550NH + PACKAGES:=kmod-ath9k swconfig +endef + +define Profile/NBG_460N_550N_550NH/Description + Package set optimized for the Zyxel NBG 460N/550N/550NH Routers. +endef + +$(eval $(call Profile,NBG_460N_550N_550NH)) diff --git a/target/linux/ar71xx/generic/target.mk b/target/linux/ar71xx/generic/target.mk new file mode 100644 index 0000000000..9ba527bff0 --- /dev/null +++ b/target/linux/ar71xx/generic/target.mk @@ -0,0 +1,7 @@ +BOARDNAME:=Generic + +define Target/Description + Build firmware images for generic Atheros AR71xx/AR913x based boards. +endef + + diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default new file mode 100644 index 0000000000..3fa8d7b160 --- /dev/null +++ b/target/linux/ar71xx/nand/config-default @@ -0,0 +1,13 @@ +CONFIG_MTD_NAND=y +CONFIG_MTD_NAND_RB4XX=y +CONFIG_MTD_NAND_RB750=y +CONFIG_YAFFS_9BYTE_TAGS=y +CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y +CONFIG_YAFFS_AUTO_YAFFS2=y +# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set +# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set +CONFIG_YAFFS_FS=y +CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y +CONFIG_YAFFS_YAFFS1=y +CONFIG_YAFFS_YAFFS2=y + diff --git a/target/linux/ar71xx/nand/profiles/01-minimal.mk b/target/linux/ar71xx/nand/profiles/01-minimal.mk new file mode 100644 index 0000000000..3651c88ab2 --- /dev/null +++ b/target/linux/ar71xx/nand/profiles/01-minimal.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/DefaultNoWifi + NAME:=Default Profile (no WiFi) + PACKAGES:= +endef + +define Profile/DefaultNoWifi/Description + Default package set compatible with most boards. +endef +$(eval $(call Profile,DefaultNoWifi)) diff --git a/target/linux/ar71xx/nand/profiles/02-madwifi.mk b/target/linux/ar71xx/nand/profiles/02-madwifi.mk new file mode 100644 index 0000000000..7c22c53db5 --- /dev/null +++ b/target/linux/ar71xx/nand/profiles/02-madwifi.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Madwifi + NAME:=Atheros WiFi (madwifi) + PACKAGES:=kmod-madwifi wpad-mini +endef + +define Profile/Madwifi/Description + Package set compatible with hardware using Atheros WiFi cards. +endef +$(eval $(call Profile,Madwifi)) diff --git a/target/linux/ar71xx/nand/target.mk b/target/linux/ar71xx/nand/target.mk new file mode 100644 index 0000000000..f01ef645fa --- /dev/null +++ b/target/linux/ar71xx/nand/target.mk @@ -0,0 +1,8 @@ +BOARDNAME:=Devices with NAND flash + +define Target/Description + Build firmware images for Atheros AR71xx/AR913x based boards with + NAND flash, e.g. MikroTik RB-4xx or RB-750 +endef + + diff --git a/target/linux/ar71xx/profiles/00-default.mk b/target/linux/ar71xx/profiles/00-default.mk deleted file mode 100644 index aa46f22c54..0000000000 --- a/target/linux/ar71xx/profiles/00-default.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Default - NAME:=Default Profile (all drivers) - PACKAGES:=kmod-ath9k kmod-madwifi kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig vsc7385-ucode-ap83 vsc7385-ucode-pb44 vsc7395-ucode-ap83 vsc7395-ucode-pb44 wpad-mini -endef - -define Profile/Default/Description - Default package set compatible with most boards. -endef -$(eval $(call Profile,Default)) diff --git a/target/linux/ar71xx/profiles/01-minimal.mk b/target/linux/ar71xx/profiles/01-minimal.mk deleted file mode 100644 index 3651c88ab2..0000000000 --- a/target/linux/ar71xx/profiles/01-minimal.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/DefaultNoWifi - NAME:=Default Profile (no WiFi) - PACKAGES:= -endef - -define Profile/DefaultNoWifi/Description - Default package set compatible with most boards. -endef -$(eval $(call Profile,DefaultNoWifi)) diff --git a/target/linux/ar71xx/profiles/02-madwifi.mk b/target/linux/ar71xx/profiles/02-madwifi.mk deleted file mode 100644 index 7c22c53db5..0000000000 --- a/target/linux/ar71xx/profiles/02-madwifi.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Madwifi - NAME:=Atheros WiFi (madwifi) - PACKAGES:=kmod-madwifi wpad-mini -endef - -define Profile/Madwifi/Description - Package set compatible with hardware using Atheros WiFi cards. -endef -$(eval $(call Profile,Madwifi)) diff --git a/target/linux/ar71xx/profiles/atheros.mk b/target/linux/ar71xx/profiles/atheros.mk deleted file mode 100644 index 4ce0e605c6..0000000000 --- a/target/linux/ar71xx/profiles/atheros.mk +++ /dev/null @@ -1,63 +0,0 @@ -# -# Copyright (C) 2009-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/AP81 - NAME:=Atheros AP81 reference board - PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 -endef - -define Profile/AP81/Description - Package set optimized for the Atheros AP81 reference board. -endef - -$(eval $(call Profile,AP81)) - -define Profile/AP83 - NAME:=Atheros AP83 reference board - PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 \ - vsc7385-ucode-ap83 vsc7395-ucode-ap83 -endef - -define Profile/AP83/Description - Package set optimized for the Atheros AP83 reference board. -endef - -$(eval $(call Profile,AP83)) - -define Profile/PB42 - NAME:=Atheros PB42 reference board - PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 -endef - -define Profile/PB42/Description - Package set optimized for the Atheros PB42 reference board. -endef - -$(eval $(call Profile,PB42)) - -define Profile/PB44 - NAME:=Atheros PB44 reference board - PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 \ - vsc7385-ucode-pb44 vsc7395-ucode-pb44 -endef - -define Profile/PB44/Description - Package set optimized for the Atheros PB44 reference board. -endef - -$(eval $(call Profile,PB44)) - -define Profile/PB92 - NAME:=Atheros PB92 reference board - PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 -endef - -define Profile/PB92/Description - Package set optimized for the Atheros PB92 reference board. -endef - -$(eval $(call Profile,PB92)) diff --git a/target/linux/ar71xx/profiles/atlantis.mk b/target/linux/ar71xx/profiles/atlantis.mk deleted file mode 100644 index c63fd9c275..0000000000 --- a/target/linux/ar71xx/profiles/atlantis.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/A02RBW300N - NAME:=Atlantis-Land A02-RB-W300N - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/A02RBW300N/Description - Package set optimized for the Atlantis-Land A02-RB-W300N. -endef - -$(eval $(call Profile,A02RBW300N)) diff --git a/target/linux/ar71xx/profiles/buffalo.mk b/target/linux/ar71xx/profiles/buffalo.mk deleted file mode 100644 index 69819e586d..0000000000 --- a/target/linux/ar71xx/profiles/buffalo.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WZRHPG300NH - NAME:=Buffalo WZR-HP-G300NH - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 -endef - -define Profile/WZRHPG300NH/Description - Package set optimized for the Buffalo WZR-HP-G300NH -endef - -$(eval $(call Profile,WZRHPG300NH)) diff --git a/target/linux/ar71xx/profiles/compex.mk b/target/linux/ar71xx/profiles/compex.mk deleted file mode 100644 index 38d963a5c1..0000000000 --- a/target/linux/ar71xx/profiles/compex.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WP543 - NAME:=Compex WP543/WPJ543 - PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 -endef - -define Profile/WP543/Description - Package set optimized for the Compex WP543/WPJ543 boards. -endef - -$(eval $(call Profile,WP543)) diff --git a/target/linux/ar71xx/profiles/d-link.mk b/target/linux/ar71xx/profiles/d-link.mk deleted file mode 100644 index bf99e099a9..0000000000 --- a/target/linux/ar71xx/profiles/d-link.mk +++ /dev/null @@ -1,41 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/DIR600A1 - NAME:=D-Link DIR-600 rev. A1 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/DIR600A1/Description - Package set optimized for the D-Link DIR-600 rev. A1. -endef - -$(eval $(call Profile,DIR600A1)) - - -define Profile/DIR615C1 - NAME:=D-Link DIR-615 rev. C1 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/DIR615C1/Description - Package set optimized for the D-Link DIR-615 rev. C1. -endef - -$(eval $(call Profile,DIR615C1)) - - -define Profile/DIR825B1 - NAME:=D-Link DIR-825 rev. B1 - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 -endef - -define Profile/DIR825B1/Description - Package set optimized for the D-Link DIR-825 rev. B1. -endef - -$(eval $(call Profile,DIR825B1)) diff --git a/target/linux/ar71xx/profiles/linksys.mk b/target/linux/ar71xx/profiles/linksys.mk deleted file mode 100644 index f3253e728f..0000000000 --- a/target/linux/ar71xx/profiles/linksys.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WRT160NL - NAME:=Linksys WRT160NL - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 swconfig -endef - -define Profile/WRT160NL/Description - Package set optimized for the Linksys WRT160NL. -endef - -define Profile/WRT400N - NAME:=Linksys WRT400N - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/WRT400N/Description - Package set optimized for the Linksys WRT400N. -endef - -$(eval $(call Profile,WRT160NL)) -$(eval $(call Profile,WRT400N)) diff --git a/target/linux/ar71xx/profiles/netgear.mk b/target/linux/ar71xx/profiles/netgear.mk deleted file mode 100644 index 8545cad0c6..0000000000 --- a/target/linux/ar71xx/profiles/netgear.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WNDR3700 - NAME:=NETGEAR WNDR3700 - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 -endef - -define Profile/WNDR3700/Description - Package set optimized for the NETGEAR WNDR3700 -endef - -$(eval $(call Profile,WNDR3700)) diff --git a/target/linux/ar71xx/profiles/planex.mk b/target/linux/ar71xx/profiles/planex.mk deleted file mode 100644 index 63e539c4e4..0000000000 --- a/target/linux/ar71xx/profiles/planex.mk +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/MZKW04NU - NAME:=Planex MZK-W04NU - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 -endef - -define Profile/MZKW04NU/Description - Package set optimized for the Planex MZK-W04NU. -endef - -$(eval $(call Profile,MZKW04NU)) - -define Profile/MZKW300NH - NAME:=Planex MZK-W300NH - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/MZKW300NH/Description - Package set optimized for the Planex MZK-W300NH. -endef - -$(eval $(call Profile,MZKW300NH)) diff --git a/target/linux/ar71xx/profiles/tp-link.mk b/target/linux/ar71xx/profiles/tp-link.mk deleted file mode 100644 index 7efb1a3766..0000000000 --- a/target/linux/ar71xx/profiles/tp-link.mk +++ /dev/null @@ -1,94 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/TLWR741NDV1 - NAME:=TP-LINK TL-WR741ND v1 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR741NDV1/Description - Package set optimized for the TP-LINK TL-WR741ND v1. -endef - -$(eval $(call Profile,TLWR741NDV1)) - -define Profile/TLWR841NV15 - NAME:=TP-LINK TL-WR841N v1.5 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR841NV15/Description - Package set optimized for the TP-LINK TL-WR841N v1.5. -endef - -$(eval $(call Profile,TLWR841NV15)) - -define Profile/TLWR841NDV3 - NAME:=TP-LINK TL-WR841ND v3 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR841NDV3/Description - Package set optimized for the TP-LINK TL-WR841ND v3. -endef - -$(eval $(call Profile,TLWR841NDV3)) - -define Profile/TLWR841NDV5 - NAME:=TP-LINK TL-WR841ND v5 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR841NDV5/Description - Package set optimized for the TP-LINK TL-WR841ND v5. -endef - -$(eval $(call Profile,TLWR841NDV5)) - -define Profile/TLWR941NDV2 - NAME:=TP-LINK TL-WR941ND v2 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR941NDV2/Description - Package set optimized for the TP-LINK TL-WR941ND v2. -endef - -$(eval $(call Profile,TLWR941NDV2)) - -define Profile/TLWR941NDV3 - NAME:=TP-LINK TL-WR941ND v3 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR941NDV3/Description - Package set optimized for the TP-LINK TL-WR941ND v3. -endef - -$(eval $(call Profile,TLWR941NDV3)) - -define Profile/TLWR941NDV4 - NAME:=TP-LINK TL-WR941ND v4 - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TLWR941NDV4/Description - Package set optimized for the TP-LINK TL-WR941ND v4. -endef - -$(eval $(call Profile,TLWR941NDV4)) - -define Profile/TLWR1043NDV1 - NAME:=TP-LINK TL-WR1043ND v1 - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 -endef - -define Profile/TLWR1043NDV1/Description - Package set optimized for the TP-LINK TL-WR1043ND v1. -endef - -$(eval $(call Profile,TLWR1043NDV1)) diff --git a/target/linux/ar71xx/profiles/trendnet.mk b/target/linux/ar71xx/profiles/trendnet.mk deleted file mode 100644 index 20a08f3842..0000000000 --- a/target/linux/ar71xx/profiles/trendnet.mk +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/TEW632BRP - NAME:=TRENDNet TEW-632BRP - PACKAGES:=kmod-ath9k wpad-mini -endef - -define Profile/TEW632BRP/Description - Package set optimized for the TRENDNet TEW-632BRP. -endef - -$(eval $(call Profile,TEW632BRP)) - -define Profile/TEW652BRP - NAME:=TRENDNet TEW-652BRP - PACKAGES:=kmod-ath9k -endef - -define Profile/TEW652BRP/Description - Package set optimized for the TRENDNet TEW-652BRP. -endef - -$(eval $(call Profile,TEW652BRP)) diff --git a/target/linux/ar71xx/profiles/ubnt.mk b/target/linux/ar71xx/profiles/ubnt.mk deleted file mode 100644 index a7fd9a2619..0000000000 --- a/target/linux/ar71xx/profiles/ubnt.mk +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/UBNTRS - NAME:=Ubiquiti RouterStation - PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 -endef - -define Profile/UBNTRS/Description - Package set optimized for the Ubiquiti RouterStation. -endef - -$(eval $(call Profile,UBNTRS)) - -define Profile/UBNTRSPRO - NAME:=Ubiquiti RouterStation Pro - PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 -endef - -define Profile/UBNTRSPRO/Description - Package set optimized for the Ubiquiti RouterStation Pro. -endef - -$(eval $(call Profile,UBNTRSPRO)) - -define Profile/UBNT - NAME:=Ubiquiti Products - PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 -endef - -define Profile/UBNT/Description - Build images for all Ubiquiti products (including LS-SR71, RouterStation and RouterStation Pro) -endef - -$(eval $(call Profile,UBNT)) diff --git a/target/linux/ar71xx/profiles/zyxel.mk b/target/linux/ar71xx/profiles/zyxel.mk deleted file mode 100644 index 73ae4e224c..0000000000 --- a/target/linux/ar71xx/profiles/zyxel.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/NBG_460N_550N_550NH - NAME:=Zyxel NBG 460N/550N/550NH - PACKAGES:=kmod-ath9k swconfig -endef - -define Profile/NBG_460N_550N_550NH/Description - Package set optimized for the Zyxel NBG 460N/550N/550NH Routers. -endef - -$(eval $(call Profile,NBG_460N_550N_550NH))