ar71xx: image: update GL.iNet boards DEVICE_TITLE
[openwrt/openwrt.git] / target / linux / ar71xx / image / nand.mk
1 define Build/MerakiNAND
2 -$(STAGING_DIR_HOST)/bin/mkmerakifw \
3 -B $(BOARDNAME) -s \
4 -i $@ \
5 -o $@.new
6 @mv $@.new $@
7 endef
8
9 define Build/MerakiNAND-old
10 -$(STAGING_DIR_HOST)/bin/mkmerakifw-old \
11 -B $(BOARDNAME) -s \
12 -i $@ \
13 -o $@.new
14 @mv $@.new $@
15 endef
16
17
18 define Device/c-60
19 DEVICE_TITLE := AirTight C-60
20 DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-core kmod-usb2 kmod-ath9k
21 BOARDNAME = C-60
22 BLOCKSIZE := 64k
23 KERNEL_SIZE = 3648k
24 IMAGE_SIZE = 32m
25 IMAGES := sysupgrade.tar
26 MTDPARTS = spi0.0:256k(u-boot)ro,128k(u-boot-env)ro,3648k(kernel),64k(art)ro;ar934x-nfc:32m(ubi)
27 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
28 IMAGE/sysupgrade.tar := sysupgrade-tar
29 endef
30 TARGET_DEVICES += c-60
31
32 define Device/domywifi-dw33d
33 DEVICE_TITLE := DomyWifi DW33D
34 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
35 BOARDNAME = DW33D
36 IMAGE_SIZE = 16000k
37 MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14528k(rootfs),1472k(kernel),64k(art)ro,16000k@0x50000(firmware);ar934x-nfc:96m(rootfs_data),32m(backup)ro
38 IMAGE/sysupgrade.bin = append-rootfs | pad-rootfs | pad-to 14528k | append-kernel | check-size $$$$(IMAGE_SIZE)
39 endef
40 TARGET_DEVICES += domywifi-dw33d
41
42 define Device/hiveap-121
43 DEVICE_TITLE := Aerohive HiveAP-121
44 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-i2c-gpio-custom kmod-spi-gpio kmod-ath9k kmod-tpm-i2c-atmel
45 BOARDNAME = HiveAP-121
46 BLOCKSIZE := 128k
47 PAGESIZE := 2048
48 IMAGE_SIZE := 115m
49 KERNEL_SIZE := 5120k
50 UBINIZE_OPTS := -E 5
51 CONSOLE = ttyS0,9600
52 MTDPARTS = spi0.0:512k(u-boot)ro,64k(u-boot-env),64k(hw-info)ro,64k(boot-info)ro,64k(boot-sinfo)ro;ar934x-nfc:4096k(u-boot-1),4096k(u-boot-env-1),5m(kernel),111m(ubi),4096k(wifi-info)ro
53 IMAGES := sysupgrade.tar factory.bin
54 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
55 IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
56 IMAGE/sysupgrade.tar := sysupgrade-tar
57 endef
58 TARGET_DEVICES += hiveap-121
59
60 define Device/mr18
61 DEVICE_TITLE := Meraki MR18
62 DEVICE_PACKAGES := kmod-spi-gpio kmod-ath9k
63 BOARDNAME = MR18
64 BLOCKSIZE := 64k
65 MTDPARTS = ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro
66 IMAGES := sysupgrade.tar
67 KERNEL := kernel-bin | patch-cmdline | MerakiNAND
68 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND
69 IMAGE/sysupgrade.tar := sysupgrade-tar
70 endef
71 TARGET_DEVICES += mr18
72
73 define Device/rambutan
74 DEVICE_TITLE := 8devices Rambutan
75 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
76 BOARDNAME = RAMBUTAN
77 BLOCKSIZE = 128KiB
78 MTDPARTS = ar934x-nfc:3M(u-boot)ro,2M(u-boot-env),1M(art),122M(ubi)
79 PAGESIZE := 2048
80 KERNEL_IN_UBI := 1
81 IMAGES := factory.ubi sysupgrade.tar
82 IMAGE/sysupgrade.tar := sysupgrade-tar
83 IMAGE/factory.ubi := append-ubi
84 endef
85 TARGET_DEVICES += rambutan
86
87 define Device/z1
88 DEVICE_TITLE := Meraki Z1
89 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-spi-gpio kmod-ath9k kmod-owl-loader
90 BOARDNAME = Z1
91 BLOCKSIZE := 64k
92 MTDPARTS = ar934x-nfc:128K(loader1)ro,8064K(kernel),128K(loader2)ro,8064K(recovery),114560K(ubi),128K(origcaldata)ro
93 IMAGES := sysupgrade.tar
94 KERNEL := kernel-bin | patch-cmdline | MerakiNAND-old
95 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND-old
96 IMAGE/sysupgrade.tar := sysupgrade-tar
97 endef
98 TARGET_DEVICES += z1
99
100 define LegacyDevice/R6100
101 DEVICE_TITLE := NETGEAR R6100
102 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
103 endef
104 LEGACY_DEVICES += R6100
105
106 define LegacyDevice/WNDR3700V4
107 DEVICE_TITLE := NETGEAR WNDR3700v4
108 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
109 endef
110 LEGACY_DEVICES += WNDR3700V4
111
112 define LegacyDevice/WNDR4300V1
113 DEVICE_TITLE := NETGEAR WNDR4300v1
114 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
115 endef
116 LEGACY_DEVICES += WNDR4300V1
117
118 define LegacyDevice/NBG6716
119 DEVICE_TITLE := Zyxel NBG 6716
120 DEVICE_PACKAGES := kmod-rtc-pcf8563 kmod-ath10k ath10k-firmware-qca988x
121 endef
122 LEGACY_DEVICES += NBG6716