lantiq: add Allnet ALL0333CJ support
[openwrt/openwrt.git] / target / linux / lantiq / image / Makefile
1 #
2 # Copyright (C) 2010-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 # boards missing since devicetree update
9 #EASY50712 ARV3527P
10
11 KERNEL_LOADADDR = 0x80002000
12 KERNEL_ENTRY = 0x80002000
13
14 include $(TOPDIR)/rules.mk
15 include $(INCLUDE_DIR)/image.mk
16
17 ifeq ($(SUBTARGET),xway)
18 UBIFS_OPTS := -m 512 -e 15872 -c 1959
19 else
20 UBIFS_OPTS := -m 2048 -e 126KiB -c 4096
21 endif
22
23 define Build/eva-image
24 lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ $@.new
25 ( dd if=$@.new bs=64k conv=sync; cat ./eva.dummy.squashfs; ) > $@
26 endef
27
28 define Build/dgn3500-sercom-footer
29 $(STAGING_DIR_HOST)/bin/dgn3500sum $@ $(1) $(2)
30 endef
31
32 define Build/mkbrncmdline
33 mkbrncmdline -i $@ -o $@.new BRN-BOOT
34 mv $@.new $@
35 endef
36
37 define Build/mkbrnimg
38 mkbrnimg -s $(SIGNATURE) -m $(MAGIC) -p $(CRC32_POLY) -o $@ $(IMAGE_KERNEL) $(IMAGE_ROOTFS)
39 endef
40
41 define Build/fullimage
42 mkimage -A mips -O linux -C lzma -T filesystem -a 0x00 \
43 -e 0x00 -n 'LEDE RootFS' \
44 -d $(IMAGE_ROOTFS) $(IMAGE_ROOTFS).new
45
46 cat $(IMAGE_KERNEL) $(IMAGE_ROOTFS).new > $@.tmp
47
48 mkimage -A mips -O linux -T multi -a 0x00 -C none \
49 -e 0x00 -n 'OpenWrt fullimage' \
50 -d $@.tmp $@
51
52 rm $(IMAGE_ROOTFS).new
53 rm $@.tmp
54 endef
55
56 # Shared device definition: applies to every defined device
57 define Device/Default
58 PROFILES = Default
59 KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
60 KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs
61 KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
62 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
63 FILESYSTEMS := squashfs
64 DEVICE_DTS := $(1)
65 DEVICE_DTS_DIR := ../dts
66 IMAGE_SIZE :=
67 SUPPORTED_DEVICES = $$(DEVICE_DTS)
68 IMAGES := sysupgrade.bin
69 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
70 endef
71 DEVICE_VARS += IMAGE_SIZE
72
73 define Device/NAND/xway
74 BLOCKSIZE := 16k
75 PAGESIZE := 512
76 SUBPAGESIZE := 256
77 FILESYSTEMS += ubifs
78 endef
79
80 define Device/NAND/xrx200
81 BLOCKSIZE := 128k
82 PAGESIZE := 2048
83 SUBPAGESIZE := 512
84 FILESYSTEMS += ubifs
85 endef
86
87 define Device/NAND
88 $(Device/NAND/$(SUBTARGET))
89 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
90 endef
91
92 define Device/lantiqBrnImage
93 KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
94 IMAGES := factory.bin
95 IMAGE/factory.bin := mkbrnimg | check-size $$$$(IMAGE_SIZE)
96 endef
97 DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY
98
99 define Device/lantiqFullImage
100 KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-offset 4 0
101 IMAGES := sysupgrade.bin fullimage.img
102 IMAGE/fullimage.img := fullimage | check-size $$$$(IMAGE_SIZE)
103 endef
104
105 define Device/AVM
106 KERNEL := kernel-bin | append-dtb | lzma | eva-image
107 endef
108
109 ifeq ($(SUBTARGET),ase)
110
111 define Device/ALL0333CJ
112 IMAGE_SIZE := 3700k
113 DEVICE_DTS := ALL0333CJ
114 DEVICE_TITLE := Allnet ALL0333CJ
115 DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \
116 kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \
117 ltq-adsl-app ppp-mod-pppoe
118 endef
119 TARGET_DEVICES += ALL0333CJ
120
121 define Device/DGN1000B
122 IMAGE_SIZE := 6000k
123 DEVICE_DTS := DGN1000B
124 DEVICE_TITLE := Netgear DGN1000B
125 DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \
126 kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \
127 ltq-adsl-app ppp-mod-pppoe
128 endef
129 TARGET_DEVICES += DGN1000B
130
131 endif
132
133 ifeq ($(SUBTARGET),xway_legacy)
134
135 define Device/ARV4520PW
136 IMAGE_SIZE := 3648k
137 DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW
138 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
139 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
140 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
141 ltq-adsl-app ppp-mod-pppoa \
142 kmod-rt61-pci wpad-mini
143 endef
144 TARGET_DEVICES += ARV4520PW
145
146 define Device/ARV4525PW
147 IMAGE_SIZE := 3776k
148 DEVICE_TITLE := Speedport W502V Typ A - ARV4525PW
149 DEVICE_PACKAGES := kmod-ath5k wpad-mini \
150 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
151 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
152 ltq-adsl-app ppp-mod-pppoa -swconfig
153 endef
154 TARGET_DEVICES += ARV4525PW
155
156 define Device/ARV452CQW
157 IMAGE_SIZE := 3776k
158 DEVICE_TITLE := Easybox 801 - ARV452CQW
159 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
160 kmod-ath5k wpad-mini \
161 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
162 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
163 ltq-adsl-app ppp-mod-pppoa
164 endef
165 TARGET_DEVICES += ARV452CQW
166
167 define Device/ARV4518PWR01
168 IMAGE_SIZE := 3776k
169 DEVICE_TITLE := ARV4518PWR01
170 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
171 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
172 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
173 ltq-adsl-app ppp-mod-pppoa \
174 kmod-ath5k wpad-mini
175 endef
176 TARGET_DEVICES += ARV4518PWR01
177
178 define Device/ARV4518PWR01A
179 IMAGE_SIZE := 3776k
180 DEVICE_TITLE := ARV4518PWR01A
181 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
182 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
183 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
184 ltq-adsl-app ppp-mod-pppoa \
185 kmod-ath5k wpad-mini
186 endef
187 TARGET_DEVICES += ARV4518PWR01A
188
189 endif
190
191 ifeq ($(SUBTARGET),xway)
192
193 # Danube
194
195 define Device/BTHOMEHUBV2B
196 $(Device/NAND)
197 DEVICE_TITLE := BT Home Hub 2B
198 DEVICE_PACKAGES := kmod-usb-dwc2 \
199 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
200 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
201 kmod-ltq-deu-danube \
202 ltq-adsl-app ppp-mod-pppoa \
203 kmod-ath9k kmod-owl-loader wpad-mini
204 endef
205 TARGET_DEVICES += BTHOMEHUBV2B
206
207 define Device/EASY50712
208 IMAGE_SIZE := 3776k
209 DEVICE_TITLE := Lantiq Danube - EASY50712
210 endef
211 TARGET_DEVICES += EASY50712
212
213 define Device/ACMP252
214 IMAGE_SIZE := 14848k
215 DEVICE_TITLE := AudioCodes MediaPack MP-252
216 DEVICE_PACKAGES := kmod-rt2x00-pci wpad-mini \
217 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
218 kmod-ltq-adsl-danube-fw-a kmod-ltq-ptm-danube \
219 ltq-adsl-app -swconfig
220 endef
221 TARGET_DEVICES += ACMP252
222
223 define Device/ARV4510PW
224 IMAGE_SIZE := 15616k
225 DEVICE_TITLE := Wippies, Elisa - ARV4510PW
226 DEVICE_PACKAGES := kmod-usb-ledtrig-usbport kmod-usb2-pci kmod-usb-uhci \
227 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
228 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
229 ltq-adsl-app ppp-mod-pppoa \
230 kmod-ltq-tapi kmod-ltq-vmmc \
231 kmod-rt2800-pci kmod-ath5k wpad-mini
232 endef
233 TARGET_DEVICES += ARV4510PW
234
235 define Device/ARV7525PW
236 IMAGE_SIZE := 3776k
237 DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW
238 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini \
239 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
240 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
241 ltq-adsl-app ppp-mod-pppoa -swconfig
242 endef
243 TARGET_DEVICES += ARV7525PW
244
245 define Device/ARV4519PW
246 IMAGE_SIZE := 3776k
247 DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW
248 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
249 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
250 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
251 ltq-adsl-app ppp-mod-pppoa
252 endef
253 TARGET_DEVICES += ARV4519PW
254
255 define Device/ARV7506PW11
256 IMAGE_SIZE := 7808k
257 DEVICE_TITLE := Alice/O2 IAD 4421 - ARV7506PW11
258 DEVICE_PACKAGES := kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
259 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
260 ltq-adsl-app ppp-mod-pppoa \
261 kmod-rt2800-pci wpad-mini
262 endef
263 TARGET_DEVICES += ARV7506PW11
264
265 define Device/ARV7510PW22
266 IMAGE_SIZE := 31232k
267 DEVICE_TITLE := Astoria - ARV7510PW22
268 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
269 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
270 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
271 ltq-adsl-app ppp-mod-pppoa \
272 kmod-ltq-tapi kmod-ltq-vmmc \
273 kmod-rt2800-pci wpad-mini \
274 kmod-usb-uhci kmod-usb2 kmod-usb2-pci
275 endef
276 TARGET_DEVICES += ARV7510PW22
277
278 define Device/ARV7518PW
279 IMAGE_SIZE := 7872k
280 DEVICE_TITLE := Astoria - ARV7518PW
281 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
282 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
283 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
284 ltq-adsl-app ppp-mod-pppoa \
285 kmod-ath9k kmod-owl-loader wpad-mini
286 endef
287 TARGET_DEVICES += ARV7518PW
288
289 define Device/ARV7519PW
290 IMAGE_SIZE := 15488k
291 DEVICE_TITLE := Astoria - ARV7519PW
292 DEVICE_PACKAGES := kmod-usb-dwc2 \
293 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
294 kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
295 ltq-adsl-app ppp-mod-pppoa \
296 kmod-rt2800-pci wpad-mini
297 endef
298 TARGET_DEVICES += ARV7519PW
299
300 define Device/ARV752DPW
301 IMAGE_SIZE := 7872k
302 DEVICE_TITLE := Easybox 802 - ARV752DPW
303 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
304 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
305 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
306 ltq-adsl-app ppp-mod-pppoa \
307 kmod-ltq-tapi kmod-ltq-vmmc \
308 kmod-rt2800-pci wpad-mini
309 endef
310 TARGET_DEVICES += ARV752DPW
311
312 define Device/ARV752DPW22
313 IMAGE_SIZE := 7616k
314 DEVICE_TITLE := Easybox 803 - ARV752DPW22
315 DEVICE_PACKAGES := kmod-usb2-pci kmod-usb-uhci kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
316 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
317 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
318 ltq-adsl-app ppp-mod-pppoa \
319 kmod-ltq-tapi kmod-ltq-vmmc \
320 kmod-rt2800-pci wpad-mini
321 endef
322 TARGET_DEVICES += ARV752DPW22
323
324 define Device/ARV8539PW22
325 IMAGE_SIZE := 7616k
326 DEVICE_TITLE := Speedport W504V Typ A - ARV8539PW22
327 DEVICE_PACKAGES := kmod-usb-dwc2 \
328 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
329 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
330 ltq-adsl-app ppp-mod-pppoa \
331 kmod-ath9k kmod-owl-loader wpad-mini
332 endef
333 TARGET_DEVICES += ARV8539PW22
334
335 define Device/GIGASX76X
336 IMAGE_SIZE := 7680k
337 DEVICE_TITLE := Gigaset sx76x
338 DEVICE_PACKAGES := kmod-usb-dwc2 \
339 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
340 kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
341 ltq-adsl-app ppp-mod-pppoe \
342 kmod-ath5k wpad-mini
343 endef
344 TARGET_DEVICES += GIGASX76X
345
346
347 # AR9
348
349 define Device/BTHOMEHUBV3A
350 $(Device/NAND)
351 DEVICE_TITLE := BT Home Hub 3A
352 DEVICE_PACKAGES := kmod-usb-dwc2 \
353 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
354 kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
355 kmod-ltq-deu-ar9 \
356 ltq-adsl-app ppp-mod-pppoa \
357 kmod-ath9k kmod-owl-loader wpad-mini \
358 uboot-envtools
359 endef
360 TARGET_DEVICES += BTHOMEHUBV3A
361
362 DGN3500_KERNEL_OFFSET_HEX=0x50000
363 DGN3500_KERNEL_OFFSET_DEC=327680
364 define Device/DGN3500
365 IMAGE_SIZE := 16000k
366 IMAGES := \
367 sysupgrade-NA.bin sysupgrade-WW.bin \
368 factory-NA.bin factory-WW.bin
369 IMAGE/sysupgrade-NA.bin := \
370 append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "NA" | \
371 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
372 IMAGE/sysupgrade-WW.bin := \
373 append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "WW" | \
374 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
375 IMAGE/factory-NA.bin := \
376 pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
377 dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "NA" | pad-rootfs | \
378 check-size 16320k | pad-to 16384k
379 IMAGE/factory-WW.bin := \
380 pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
381 dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "WW" | pad-rootfs | \
382 check-size 16320k | pad-to 16384k
383 DEVICE_TITLE := Netgear DGN3500
384 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
385 kmod-ath9k kmod-owl-loader wpad-mini \
386 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
387 kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
388 ltq-adsl-app ppp-mod-pppoa \
389 kmod-ltq-deu-ar9
390 endef
391 TARGET_DEVICES += DGN3500
392
393 define Device/DGN3500B
394 IMAGE_SIZE := 16000k
395 IMAGES += factory.bin
396 IMAGE/sysupgrade.bin := \
397 append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "DE" | \
398 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
399 IMAGE/factory.bin := \
400 pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
401 dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "DE" | pad-rootfs | \
402 check-size 16320k | pad-to 16384k
403 DEVICE_TITLE := Netgear DGN3500B
404 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
405 kmod-ath9k kmod-owl-loader wpad-mini \
406 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
407 kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
408 ltq-adsl-app ppp-mod-pppoa \
409 kmod-ltq-deu-ar9
410 endef
411 TARGET_DEVICES += DGN3500B
412
413 define Device/WBMRA
414 IMAGE_SIZE := 31488k
415 DEVICE_DTS := WBMR
416 DEVICE_TITLE := Buffalo WBMR-HP-G300H (A) - WBMR
417 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
418 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
419 kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
420 ltq-adsl-app ppp-mod-pppoa \
421 kmod-ath9k kmod-owl-loader wpad-mini
422 endef
423 TARGET_DEVICES += WBMRA
424
425 define Device/WBMRB
426 IMAGE_SIZE := 31488k
427 DEVICE_DTS := WBMR
428 DEVICE_TITLE := Buffalo WBMR-HP-G300H (B) - WBMR
429 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
430 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
431 kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
432 ltq-adsl-app ppp-mod-pppoa \
433 kmod-ath9k kmod-owl-loader wpad-mini
434 endef
435 TARGET_DEVICES += WBMRB
436
437 define Device/FRITZ7320
438 $(Device/AVM)
439 IMAGE_SIZE := 15744k
440 DEVICE_TITLE := 1&1 HomeServer - FRITZ7320
441 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini \
442 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
443 kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
444 ltq-adsl-app ppp-mod-pppoa \
445 kmod-ltq-deu-ar9 kmod-usb-dwc2 -swconfig
446 endef
447 TARGET_DEVICES += FRITZ7320
448
449 define Device/H201L
450 IMAGE_SIZE := 7808k
451 DEVICE_TITLE := ZTE H201L - H201L
452 DEVICE_PACKAGES := kmod-ath9k-htc wpad-mini \
453 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
454 kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
455 ltq-adsl-app ppp-mod-pppoe \
456 kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
457 kmod-ltq-tapi kmod-ltq-vmmc
458 endef
459 TARGET_DEVICES += H201L
460
461 define Device/P2601HNFX
462 IMAGE_SIZE := 15616k
463 DEVICE_TITLE := ZyXEL P-2601HN-Fx
464 DEVICE_PACKAGES := kmod-rt2800-usb wpad-mini \
465 kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
466 kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
467 ltq-adsl-app ppp-mod-pppoe \
468 kmod-ltq-deu-ar9 kmod-usb-dwc2
469 endef
470 TARGET_DEVICES += P2601HNFX
471
472
473 endif
474
475
476 ifeq ($(SUBTARGET),xrx200)
477
478 # VR9
479
480 define Device/P2812HNUF1
481 $(Device/NAND)
482 DEVICE_TITLE := ZyXEL P-2812HNU-F1
483 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
484 endef
485 TARGET_DEVICES += P2812HNUF1
486
487 define Device/P2812HNUF3
488 $(Device/NAND)
489 DEVICE_TITLE := ZyXEL P-2812HNU-F3
490 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
491 endef
492 TARGET_DEVICES += P2812HNUF3
493
494 define Device/ARV7519RW22
495 IMAGE_SIZE := 31232k
496 DEVICE_TITLE := Livebox Astoria ARV7519RW22
497 DEVICE_PACKAGES := kmod-usb-dwc2
498 endef
499 TARGET_DEVICES += ARV7519RW22
500
501 define Device/ASL56026
502 IMAGE_SIZE := 7488k
503 DEVICE_TITLE := BT OpenReach - ECI VDSL Modem V-2FUb/I
504 endef
505 TARGET_DEVICES += ASL56026
506
507 define Device/BTHOMEHUBV5A
508 $(Device/NAND)
509 DEVICE_TITLE := BT Home Hub 5A
510 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \
511 kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2
512 endef
513 TARGET_DEVICES += BTHOMEHUBV5A
514
515 define Device/EASY80920NAND
516 $(Device/lantiqFullImage)
517 IMAGE_SIZE := 64512k
518 DEVICE_TITLE := Lantiq VR9 - EASY80920NAND
519 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
520 endef
521 TARGET_DEVICES += EASY80920NAND
522
523 define Device/EASY80920NOR
524 IMAGE_SIZE := 7936k
525 DEVICE_TITLE := Lantiq VR9 - EASY80920NOR
526 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
527 endef
528 TARGET_DEVICES += EASY80920NOR
529
530 define Device/FRITZ3370
531 $(Device/AVM)
532 $(Device/NAND)
533 DEVICE_TITLE := Fritz!Box WLan - FRITZ3370
534 DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2
535 endef
536 TARGET_DEVICES += FRITZ3370
537
538 define Device/FRITZ7360SL
539 $(Device/AVM)
540 IMAGE_SIZE := 15744k
541 DEVICE_TITLE := 1&1 HomeServer - FRITZ7360SL
542 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2
543 endef
544 TARGET_DEVICES += FRITZ7360SL
545
546 define Device/VG3503J
547 IMAGE_SIZE := 8000k
548 DEVICE_TITLE := BT OpenReach - ECI VDSL Modem V-2FUb/R
549 endef
550 TARGET_DEVICES += VG3503J
551
552 include tp-link.mk
553
554 define Device/WBMR300
555 IMAGE_SIZE := 15616k
556 DEVICE_TITLE := Buffalo WBMR-300HPD
557 DEVICE_PACKAGES := kmod-mt7603 wpad-mini kmod-usb-dwc2
558 endef
559 TARGET_DEVICES += WBMR300
560
561 define Device/VGV7510KW22NOR
562 IMAGE_SIZE := 15232k
563 DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (NOR)
564 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
565 endef
566 TARGET_DEVICES += VGV7510KW22NOR
567
568 define Device/VGV7510KW22BRN
569 $(Device/lantiqBrnImage)
570 IMAGE_SIZE := 7168k
571 SIGNATURE := BRNDA6431
572 MAGIC := 0x12345678
573 CRC32_POLY := 0x04c11db7
574 DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (BRN)
575 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
576 endef
577 TARGET_DEVICES += VGV7510KW22BRN
578
579 define Device/VGV7519NOR
580 IMAGE_SIZE := 15360k
581 DEVICE_TITLE := Experiabox 8 VGV7519
582 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
583 endef
584 TARGET_DEVICES += VGV7519NOR
585
586 define Device/VGV7519BRN
587 $(Device/lantiqBrnImage)
588 IMAGE_SIZE := 7168k
589 SIGNATURE := 5D00008000
590 MAGIC := 0x12345678
591 CRC32_POLY := 0x2083b8ed
592 DEVICE_TITLE := Experiabox 8 VGV7519 (BRN)
593 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
594 endef
595 TARGET_DEVICES += VGV7519BRN
596
597 endif
598
599
600 ifeq ($(SUBTARGET),falcon)
601
602 define Device/EASY98000NOR
603 IMAGE_SIZE := 3904k
604 DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NOR
605 DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
606 endef
607 TARGET_DEVICES += EASY98000NOR
608
609 define Device/EASY98000NAND
610 IMAGE_SIZE := 3904k
611 DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NAND
612 DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
613 endef
614 TARGET_DEVICES += EASY98000NAND
615
616 define Device/EASY98000SFLASH
617 IMAGE_SIZE := 7424k
618 DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board SFLASH
619 DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
620 endef
621 TARGET_DEVICES += EASY98000SFLASH
622
623 define Device/FALCON-MDU
624 IMAGE_SIZE := 7424k
625 DEVICE_TITLE := MDU - Lantiq Falcon / VINAXdp MDU Board
626 endef
627 TARGET_DEVICES += FALCON-MDU
628
629 define Device/EASY88388
630 IMAGE_SIZE := 7424k
631 DEVICE_TITLE := EASY88388 - Lantiq Falcon FTTDP8 Reference Board
632 endef
633 TARGET_DEVICES += EASY88388
634
635 define Device/EASY88444
636 IMAGE_SIZE := 7424k
637 DEVICE_TITLE := EASY88444 - Lantiq Falcon FTTdp G.FAST Reference Board
638 endef
639 TARGET_DEVICES += EASY88444
640
641 define Device/FALCON-SFP
642 IMAGE_SIZE := 7424k
643 DEVICE_TITLE := SFP - Lantiq Falcon SFP Stick
644 endef
645 TARGET_DEVICES += FALCON-SFP
646
647 define Device/EASY98035SYNCE
648 IMAGE_SIZE := 7424k
649 DEVICE_TITLE := EASY98035SYNCE - Lantiq Falcon SFP Stick with Synchronous Ethernet
650 endef
651 TARGET_DEVICES += EASY98035SYNCE
652
653 define Device/EASY98035SYNCE1588
654 IMAGE_SIZE := 7424k
655 DEVICE_TITLE := EASY98035SYNCE1588 - Lantiq Falcon SFP Stick with SyncE and IEEE1588
656 endef
657 TARGET_DEVICES += EASY98035SYNCE1588
658
659 define Device/EASY98020
660 IMAGE_SIZE := 7424k
661 DEVICE_TITLE := EASY98020 - Lantiq Falcon SFU Reference Board
662 endef
663 TARGET_DEVICES += EASY98020
664
665 define Device/EASY98020V18
666 IMAGE_SIZE := 7424k
667 DEVICE_TITLE := EASY98020V18 - Lantiq Falcon SFU Reference Board V1.8
668 endef
669 TARGET_DEVICES += EASY98020V18
670
671 define Device/EASY98021
672 IMAGE_SIZE := 7424k
673 DEVICE_TITLE := EASY98021 - Lantiq Falcon HGU Reference Board
674 endef
675 TARGET_DEVICES += EASY98021
676
677 endif
678
679 $(eval $(call BuildImage))