ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
[openwrt.git] / target / linux / adm5120 / image / router_le.mk
index 266b0a5..7c4bf1d 100644 (file)
@@ -1,5 +1,5 @@
 #
 #
-# Copyright (C) 2007,2008 OpenWrt.org
+# Copyright (C) 2007-2009 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -43,6 +43,24 @@ define Image/Build/Edimax
        rm -f $(call imgname,$(1),$(2)).trx
 endef
 
        rm -f $(call imgname,$(1),$(2)).trx
 endef
 
+define Image/Build/Osbridge
+       $(call Image/Build/Loader,$(2),gz,0x80500000,0x6D8,y,$(2))
+       $(call Image/Build/TRXEdimax,$(call imgname,$(1),$(2)).trx,$(1))
+       $(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d \
+               -r $(KDIR)/loader-$(2).gz::0x1000 \
+               -x $(call imgname,$(1),$(2)).trx:0x10000 \
+               -x $(JFFS2MARK):0x10000 \
+               $(call imgname,$(1),$(2))-firmware.bin
+       $(STAGING_DIR_HOST)/bin/osbridge-crc \
+               -i $(call imgname,$(1),$(2))-firmware.bin \
+               -o $(call imgname,$(1),$(2))-temp.bin
+       $(STAGING_DIR_HOST)/bin/pc1crypt \
+               -i $(call imgname,$(1),$(2))-temp.bin \
+               -o $(call imgname,$(1),$(2))-webui.bin
+       rm -f $(call imgname,$(1),$(2))-temp.bin
+       rm -f $(call imgname,$(1),$(2)).trx
+endef
+
 define Image/Build/Infineon
        $(call Image/Build/Loader,$(2),gz,0x80500000,0x6D8,y,$(2))
        $(call Image/Build/TRXNoloader,$(call imgname,$(1),$(2)).trx,$(1))
 define Image/Build/Infineon
        $(call Image/Build/Loader,$(2),gz,0x80500000,0x6D8,y,$(2))
        $(call Image/Build/TRXNoloader,$(call imgname,$(1),$(2)).trx,$(1))
@@ -191,6 +209,14 @@ define Image/Build/Template/Infineon/Initramfs
        $(call Image/Build/LZMAKernel/Admboot,$(1),gz)
 endef
 
        $(call Image/Build/LZMAKernel/Admboot,$(1),gz)
 endef
 
+#
+# Generic EB-214A
+#
+define Image/Build/Template/Edimax/Initramfs
+       $(call Image/Build/LZMAKernel/Admboot,eb-214a,bin)
+endef
+
+
 #
 # Mikrotik RouterBOARD 1xx
 #
 #
 # Mikrotik RouterBOARD 1xx
 #
@@ -198,6 +224,21 @@ define Image/Build/Template/Mikrotik/Initramfs
        $(CP) $(KDIR)/vmlinux.elf $(call imgname,netboot,rb1xx)
 endef
 
        $(CP) $(KDIR)/vmlinux.elf $(call imgname,netboot,rb1xx)
 endef
 
+#
+# OSBRiDGE 5GXi/5XLi
+#
+define Image/Build/Template/Osbridge
+       $(call Image/Build/Osbridge,$(1),$(2))
+endef
+
+define Image/Build/Template/Osbridge/squashfs
+       $(call Image/Build/Template/Osbridge,squashfs,$(1))
+endef
+
+define Image/Build/Template/Osbridge/Initramfs
+       $(call Image/Build/LZMAKernel/Admboot,$(1),gz)
+endef
+
 #
 # Profiles
 #
 #
 # Profiles
 #
@@ -223,6 +264,7 @@ define Image/Build/Profile/NFS101U
        $(call Image/Build/Template/Cellvision/$(1),dns-120,nfs-101u)
        $(call Image/Build/Template/Cellvision/$(1),mu-5000fs,nfs-101u)
        $(call Image/Build/Template/Cellvision/$(1),tn-u100,nfs-101u)
        $(call Image/Build/Template/Cellvision/$(1),dns-120,nfs-101u)
        $(call Image/Build/Template/Cellvision/$(1),mu-5000fs,nfs-101u)
        $(call Image/Build/Template/Cellvision/$(1),tn-u100,nfs-101u)
+       $(call Image/Build/Template/Cellvision/$(1),cg-nsadp,nfs-101u)
 endef
 
 define Image/Build/Profile/NFS101WU
 endef
 
 define Image/Build/Profile/NFS101WU
@@ -298,6 +340,18 @@ define Image/Build/Profile/EASY5120RT
        $(call Image/Build/Template/Infineon/$(1),easy-5120-rt)
 endef
 
        $(call Image/Build/Template/Infineon/$(1),easy-5120-rt)
 endef
 
+define Image/Build/Profile/EASY5120PATA
+       $(call Image/Build/Template/Infineon/$(1),easy-5120p-ata)
+endef
+
+define Image/Build/Profile/PMUGW
+       $(call Image/Build/Template/Infineon/$(1),powerline-mugw)
+endef
+
+define Image/Build/Profile/5GXI
+       $(call Image/Build/Template/Osbridge/$(1),5gxi)
+endef
+
 define Image/Build/Profile/RouterBoard
        $(call Image/Build/Template/Mikrotik/$(1))
 endef
 define Image/Build/Profile/RouterBoard
        $(call Image/Build/Template/Mikrotik/$(1))
 endef
@@ -315,12 +369,17 @@ ifeq ($(CONFIG_BROKEN),y)
        $(call Image/Build/Profile/CAS771W,$(1))
        $(call Image/Build/Profile/CAS861,$(1))
        $(call Image/Build/Profile/CAS861W,$(1))
        $(call Image/Build/Profile/CAS771W,$(1))
        $(call Image/Build/Profile/CAS861,$(1))
        $(call Image/Build/Profile/CAS861W,$(1))
-       $(call Image/Build/Profile/NFS101U,$(1))
-       $(call Image/Build/Profile/NFS101WU,$(1))
+       # Motorola
+       $(call Image/Build/Profile/PMUGW,$(1))
+       # OSBRiDGE
+       $(call Image/Build/Profile/5GXI,$(1))
   endef
 endif
 
 define Image/Build/Profile/Generic
   endef
 endif
 
 define Image/Build/Profile/Generic
+       # Cellvision
+       $(call Image/Build/Profile/NFS101U,$(1))
+       $(call Image/Build/Profile/NFS101WU,$(1))
        # Compex
        $(call Image/Build/Profile/WP54,$(1))
        $(call Image/Build/Profile/NP27G,$(1))
        # Compex
        $(call Image/Build/Profile/WP54,$(1))
        $(call Image/Build/Profile/NP27G,$(1))
@@ -330,17 +389,20 @@ define Image/Build/Profile/Generic
        $(call Image/Build/Profile/BR6104KP,$(1))
        $(call Image/Build/Profile/BR6104WG,$(1))
        $(call Image/Build/Profile/BR6114WG,$(1))
        $(call Image/Build/Profile/BR6104KP,$(1))
        $(call Image/Build/Profile/BR6104WG,$(1))
        $(call Image/Build/Profile/BR6114WG,$(1))
+       $(call Image/Build/Profile/EB214A,$(1))
        # Infineon
        $(call Image/Build/Profile/EASY83000,$(1))
        $(call Image/Build/Profile/EASY5120RT,$(1))
        # Infineon
        $(call Image/Build/Profile/EASY83000,$(1))
        $(call Image/Build/Profile/EASY5120RT,$(1))
+       $(call Image/Build/Profile/EASY5120PATA,$(1))
        # Mikrotik
        $(call Image/Build/Profile/RB1xx/$(1))
        # Mikrotik
        $(call Image/Build/Profile/RB1xx/$(1))
+
        $(call Image/Build/Experimental,$(1))
 endef
 
 ifeq ($(PROFILE),RouterBoard)
   define Image/cmdline/yaffs2
        $(call Image/Build/Experimental,$(1))
 endef
 
 ifeq ($(PROFILE),RouterBoard)
   define Image/cmdline/yaffs2
-       root=/dev/mtdblock3 rootfstype=yaffs2 init=/etc/preinit
+       root=/dev/mtdblock3 rootfstype=yaffs2
   endef
 
   define Image/BuildKernel/RouterBoard
   endef
 
   define Image/BuildKernel/RouterBoard
This page took 0.026064 seconds and 4 git commands to generate.