f4ed7b34129c096c9dc0f0342a4569dac7b7b35a
[openwrt/openwrt.git] / target / linux / ath79 / image / generic.mk
1 include ./common-netgear.mk
2
3 define Device/avm_fritz300e
4 ATH_SOC := ar7242
5 DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
6 KERNEL := kernel-bin | append-dtb | lzma | eva-image
7 KERNEL_INITRAMFS := $$(KERNEL)
8 IMAGE_SIZE := 15232k
9 IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
10 append-squashfs-fakeroot-be | pad-to 256 | \
11 append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
12 DEVICE_PACKAGES := fritz-tffs rssileds -swconfig
13 endef
14 TARGET_DEVICES += avm_fritz300e
15
16 define Device/embeddedwireless_dorin
17 ATH_SOC := ar9331
18 DEVICE_TITLE := Embedded Wireless Dorin
19 DEVICE_PACKAGES := kmod-usb-chipidea2
20 IMAGE_SIZE := 16000k
21 SUPPORTED_DEVICES += ew-dorin
22 endef
23 TARGET_DEVICES += embeddedwireless_dorin
24
25 define Device/etactica-eg200
26 ATH_SOC := ar9331
27 DEVICE_TITLE := eTactica EG200
28 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
29 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
30 SUPPORTED_DEVICES += etactica,eg200 rme-eg200
31 endef
32 TARGET_DEVICES += etactica-eg200
33
34 define Device/glinet_ar150
35 ATH_SOC := ar9330
36 DEVICE_TITLE := GL.iNet GL-AR150
37 DEVICE_PACKAGES := kmod-usb-chipidea2
38 IMAGE_SIZE := 16000k
39 SUPPORTED_DEVICES += gl-ar150
40 endef
41 TARGET_DEVICES += glinet_ar150
42
43 define Device/glinet_ar300m_nor
44 ATH_SOC := qca9533
45 DEVICE_TITLE := GL.iNet GL-AR300M
46 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
47 IMAGE_SIZE := 16000k
48 SUPPORTED_DEVICES += gl-ar300m
49 endef
50 TARGET_DEVICES += glinet_ar300m_nor
51
52 define Device/openmesh_om5p-ac-v2
53 ATH_SOC := qca9558
54 DEVICE_TITLE := OpenMesh OM5P-AC v2
55 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x om-watchdog
56 IMAGE_SIZE := 7808k
57 SUPPORTED_DEVICES += om5p-acv2
58 endef
59 TARGET_DEVICES += openmesh_om5p-ac-v2
60
61 define Device/netgear_wndr3800
62 ATH_SOC := ar7161
63 DEVICE_TITLE := NETGEAR WNDR3800
64 NETGEAR_KERNEL_MAGIC := 0x33373031
65 KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
66 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
67 NETGEAR_BOARD_ID := WNDR3800
68 NETGEAR_HW_ID := 29763654+16+128
69 IMAGE_SIZE := 15872k
70 IMAGES := sysupgrade.bin factory.img
71 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
72 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
73 IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
74 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset
75 SUPPORTED_DEVICES += wndr3800
76 endef
77 TARGET_DEVICES += netgear_wndr3800
78
79 define Device/buffalo_wzr-hp-g450h
80 ATH_SOC := ar7242
81 DEVICE_TITLE := Buffalo WZR-HP-G450H
82 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
83 IMAGE_SIZE := 32256k
84 SUPPORTED_DEVICES += wzr-hp-g450h
85 endef
86 TARGET_DEVICES += buffalo_wzr-hp-g450h
87
88 define Device/phicomm-k2t
89 ATH_SOC := qca9563
90 DEVICE_TITLE := Phicomm K2T
91 KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
92 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
93 IMAGE_SIZE := 15744k
94 IMAGES := sysupgrade.bin
95 IMAGE/default := append-kernel | append-rootfs | pad-rootfs
96 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
97 DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k ath10k-firmware-qca9888
98 SUPPORTED_DEVICES += phicomm,k2t
99 endef
100 TARGET_DEVICES += phicomm-k2t