[adm5120] Edimax BR-6104K/KP specific fixes
authorGabor Juhos <juhosg@openwrt.org>
Fri, 5 Oct 2007 14:50:53 +0000 (14:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 5 Oct 2007 14:50:53 +0000 (14:50 +0000)
 * add profile for Edimax BR-6104KP which contains the experimental USB driver by default
 * generate CSYS style images which are uploadable via ADMBoot/TFTPBoot (saves 64KB of space)
 * update kernel configuration

SVN-Revision: 9141

target/linux/adm5120/image/router_le.mk
target/linux/adm5120/router_be/config-2.6.22
target/linux/adm5120/router_le/config-2.6.22
target/linux/adm5120/router_le/profiles/Edimax.mk [new file with mode: 0644]

index 9f1aa9b..f910971 100644 (file)
@@ -16,7 +16,11 @@ define Image/Build/Edimax
        $(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d -w \
                -r $(KDIR)/loader-$(2).gz \
                -x $(call imgname,$(1),$(2)).trx \
-               $(call imgname,$(1),$(2)).bin
+               $(call imgname,$(1),$(2))-webui.bin
+       $(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d \
+               -r $(KDIR)/loader-$(2).gz \
+               -x $(call imgname,$(1),$(2)).trx \
+               $(call imgname,$(1),$(2))-xmodem.bin
 endef
 
 define Image/Build/Infineon
@@ -195,10 +199,6 @@ define Image/Build/Board/BR6104K/squashfs
        $(call Image/Build/Board/BR6104K,squashfs)
 endef
 
-define Image/Build/Board/BR6104K/jffs2-64k
-       $(call Image/Build/Board/BR6104K,jffs2-64k)
-endef
-
 define Image/Build/Board/BR6104K/Initramfs
        $(call Image/Build/LZMAKernel/Admboot,br-6104k,gz)
 endef
@@ -308,6 +308,10 @@ define Image/Build/Profile/CAS771W
        $(call Image/Build/Board/CAS771W/$(1))
 endef
 
+define Image/Build/Profile/BR6104KP
+       $(call Image/Build/Board/BR6104K/$(1))
+endef
+
 define Image/Build/Profile/RouterBoard
        $(call Image/Build/Board/RB1xx/$(1))
 endef
index 43476e2..0fca8f8 100644 (file)
@@ -230,7 +230,6 @@ CONFIG_TMPFS_POSIX_ACL=y
 # CONFIG_TOSHIBA_RBTX4938 is not set
 CONFIG_TRAD_SIGNALS=y
 # CONFIG_UNUSED_SYMBOLS is not set
-CONFIG_USB=y
 # CONFIG_USBPCWATCHDOG is not set
 # CONFIG_USB_ACM is not set
 CONFIG_USB_ADM5120_HCD=m
index 0f93b1a..a876583 100644 (file)
@@ -239,7 +239,6 @@ CONFIG_TMPFS_POSIX_ACL=y
 # CONFIG_TOSHIBA_RBTX4938 is not set
 CONFIG_TRAD_SIGNALS=y
 # CONFIG_UNUSED_SYMBOLS is not set
-CONFIG_USB=y
 # CONFIG_USBPCWATCHDOG is not set
 # CONFIG_USB_ACM is not set
 CONFIG_USB_ADM5120_HCD=m
diff --git a/target/linux/adm5120/router_le/profiles/Edimax.mk b/target/linux/adm5120/router_le/profiles/Edimax.mk
new file mode 100644 (file)
index 0000000..34798b2
--- /dev/null
@@ -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/BR6104KP
+       NAME:=Edimax BR-6104KP
+       PACKAGES:=kmod-usb-core kmod-usb-adm5120
+endef
+
+define Profile/BR6104KP/Description
+       Package set optimized for the Edimax BR-6104KP
+endef
+
+$(eval $(call Profile,BR6104KP))