ramips: drop rt-n56u factory image
[openwrt/staging/chunkeey.git] / target / linux / ramips / image / rt3883.mk
1 #
2 # RT3662/RT3883 Profiles
3 #
4 define Build/mkrtn56uimg
5 $(STAGING_DIR_HOST)/bin/mkrtn56uimg $(1) $@
6 endef
7
8 define Device/br-6475nd
9 DTS := BR-6475ND
10 BLOCKSIZE := 64k
11 IMAGE_SIZE := 7744k
12 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
13 edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \
14 append-metadata | check-size $$$$(IMAGE_SIZE)
15 DEVICE_TITLE := Edimax BR-6475nD
16 DEVICE_PACKAGES := swconfig
17 endef
18 TARGET_DEVICES += br-6475nd
19
20 define Device/cy-swr1100
21 DTS := CY-SWR1100
22 BLOCKSIZE := 64k
23 KERNEL := $(KERNEL_DTB)
24 IMAGES += factory.bin
25 IMAGE/sysupgrade.bin := \
26 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
27 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
28 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
29 IMAGE/factory.bin := \
30 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
31 append-rootfs | pad-rootfs -x 64 | \
32 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
33 seama-seal -m "signature=wrgnd10_samsung_ss815" | \
34 check-size $$$$(IMAGE_SIZE)
35 DEVICE_TITLE := Samsung CY-SWR1100
36 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
37 endef
38 TARGET_DEVICES += cy-swr1100
39
40
41 define Device/dir-645
42 DTS := DIR-645
43 BLOCKSIZE := 4k
44 KERNEL := $(KERNEL_DTB)
45 IMAGES += factory.bin
46 IMAGE/sysupgrade.bin := \
47 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
48 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
49 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
50 IMAGE/factory.bin := \
51 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
52 append-rootfs | pad-rootfs -x 64 | \
53 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
54 seama-seal -m "signature=wrgn39_dlob.hans_dir645" | \
55 check-size $$$$(IMAGE_SIZE)
56 DEVICE_TITLE := D-Link DIR-645
57 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
58 endef
59 TARGET_DEVICES += dir-645
60
61
62 define Device/hpm
63 DTS := HPM
64 BLOCKSIZE := 64k
65 IMAGE_SIZE := 16064k
66 DEVICE_TITLE := Omnima HPM
67 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
68 endef
69 TARGET_DEVICES += hpm
70
71
72 define Device/rt-n56u
73 DTS := RT-N56U
74 BLOCKSIZE := 64k
75 IMAGES += factory.bin
76 IMAGE/sysupgrade.bin += | mkrtn56uimg -s
77 DEVICE_TITLE := Asus RT-N56U
78 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
79 endef
80 TARGET_DEVICES += rt-n56u
81
82
83 define Device/tew-691gr
84 DTS := TEW-691GR
85 BLOCKSIZE := 64k
86 IMAGES += factory.bin
87 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
88 umedia-header 0x026910
89 DEVICE_TITLE := TRENDnet TEW-691GR
90 DEVICE_PACKAGES := swconfig
91 endef
92 TARGET_DEVICES += tew-691gr
93
94
95 define Device/tew-692gr
96 DTS := TEW-692GR
97 BLOCKSIZE := 64k
98 IMAGES += factory.bin
99 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
100 umedia-header 0x026920
101 DEVICE_TITLE := TRENDnet TEW-692GR
102 DEVICE_PACKAGES := swconfig
103 endef
104 TARGET_DEVICES += tew-692gr
105
106
107 define Device/wlr-6000
108 DTS := WLR-6000
109 BLOCKSIZE := 4k
110 IMAGE_SIZE := 7244k
111 IMAGES += factory.dlf
112 IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
113 senao-header -r 0x0202 -p 0x41 -t 2
114 DEVICE_TITLE := Sitecom WLR-6000
115 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
116 endef
117 TARGET_DEVICES += wlr-6000