summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/adm5120/image/router_le.mk24
-rw-r--r--target/linux/adm5120/router_le/profiles/Conceptronic.mk17
-rw-r--r--tools/firmware-utils/src/csysimg.h1
-rw-r--r--tools/firmware-utils/src/mkcsysimg.c3
4 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/router_le.mk b/target/linux/adm5120/image/router_le.mk
index 4cb070ead..3053d2d8b 100644
--- a/target/linux/adm5120/image/router_le.mk
+++ b/target/linux/adm5120/image/router_le.mk
@@ -254,6 +254,21 @@ define Image/Build/Board/BR6104WG/Initramfs
endef
#
+# Conceptronic C54BSR4
+#
+define Image/Build/Board/C54BSR4
+ $(call Image/Build/Edimax,$(1),c54bsr4)
+endef
+
+define Image/Build/Board/C54BSR4/squashfs
+ $(call Image/Build/Board/C54BSR4,squashfs)
+endef
+
+define Image/Build/Board/C54BSR4/Initramfs
+ $(call Image/Build/LZMAKernel/Admboot,c54bsr4,gz)
+endef
+
+#
# Infineon EASY 83000
#
define Image/Build/Board/EASY83000
@@ -301,6 +316,10 @@ define Image/Build/Group/Compex
$(call Image/Build/Group/WP54G,$(1))
endef
+define Image/Build/Group/Conceptronic
+ $(call Image/Build/Board/C54BSR4/$(1))
+endef
+
define Image/Build/Group/Edimax
$(call Image/Build/Board/BR6104K/$(1))
$(call Image/Build/Board/BR6104KP/$(1))
@@ -314,6 +333,7 @@ endef
define Image/Build/Group/All
$(call Image/Build/Group/Cellvision,$(1))
$(call Image/Build/Group/Compex,$(1))
+ $(call Image/Build/Group/Conceptronic,$(1))
$(call Image/Build/Group/Edimax,$(1))
$(call Image/Build/Group/Cellvision,$(1))
$(call Image/Build/Group/Infineon,$(1))
@@ -367,6 +387,10 @@ define Image/Build/Profile/BR6104KP
$(call Image/Build/Board/BR6104KP/$(1))
endef
+define Image/Build/Profile/C54BSR4
+ $(call Image/Build/Board/C54BSR4/$(1))
+endef
+
define Image/Build/Profile/RouterBoard
$(call Image/Build/Board/RB1xx/$(1))
endef
diff --git a/target/linux/adm5120/router_le/profiles/Conceptronic.mk b/target/linux/adm5120/router_le/profiles/Conceptronic.mk
new file mode 100644
index 000000000..5344859df
--- /dev/null
+++ b/target/linux/adm5120/router_le/profiles/Conceptronic.mk
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2007 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/C54BSR4
+ NAME:=Conceptronic C54BSR4 (Unofficial)
+ PACKAGES:=kmod-net-ipw2200
+endef
+
+define Profile/BR6104KP/Description
+ Package set optimized for the C54BSR4
+endef
+
+$(eval $(call Profile,C54BSR4))
diff --git a/tools/firmware-utils/src/csysimg.h b/tools/firmware-utils/src/csysimg.h
index 740a7b891..7685cbb90 100644
--- a/tools/firmware-utils/src/csysimg.h
+++ b/tools/firmware-utils/src/csysimg.h
@@ -55,6 +55,7 @@
#define SIG_BR6541K "4--K"
#define SIG_BR6541KP "4-KP" /* FIXME: valid? */
#define SIG_BR6541WP "4-WP" /* FIXME: valid? */
+#define SIG_C54BSR4 SIG_BR6104IPC
#define SIG_EW7207APg "EWAS"
#define SIG_PS1205UWg "4000"
#define SIG_PS3205U "5010"
diff --git a/tools/firmware-utils/src/mkcsysimg.c b/tools/firmware-utils/src/mkcsysimg.c
index be53147f1..cf25bdbe4 100644
--- a/tools/firmware-utils/src/mkcsysimg.c
+++ b/tools/firmware-utils/src/mkcsysimg.c
@@ -179,6 +179,9 @@ static struct board_info boards[] = {
BOARD_ADM("XRT-401D", "Planet XRT-401D", 2, SIG_XRT401D),
BOARD_ADM("XRT-402D", "Planet XRT-402D", 2, SIG_XRT402D),
+ /* Conceptronic products */
+ BOARD_ADM("C54BSR4", "Conceptronic C54BSR4", 2, SIG_C54BSR4),
+
{.model = NULL}
};