1 DEVICE_VARS
+= DAP_SIGNATURE NETGEAR_BOARD_ID NETGEAR_HW_ID NETGEAR_KERNEL_MAGIC ROOTFS_SIZE SEAMA_SIGNATURE
3 define Build
/mkbuffaloimg
4 $(STAGING_DIR_HOST
)/bin
/mkbuffaloimg
-B
$(BOARDNAME
) \
5 -R
$$(($(subst k
, * 1024,$(ROOTFS_SIZE
)))) \
6 -K
$$(($(subst k
, * 1024,$(KERNEL_SIZE
)))) \
11 define Build
/mkwrggimg
12 $(STAGING_DIR_HOST
)/bin
/mkwrggimg
-b \
13 -i
$@
-o
$@.imghdr
-d
/dev
/mtdblock
/1 \
14 -m
$(BOARDNAME
) -s
$(DAP_SIGNATURE
) \
15 -v LEDE
-B
$(REVISION
)
19 define Build
/netgear-squashfs
20 rm -rf
$@.fs
$@.squashfs
22 cp
$@
$@.fs
/image
/uImage
23 $(STAGING_DIR_HOST
)/bin
/mksquashfs-lzma \
25 -noappend
-root-owned
-be
-b
65536 \
26 $(if
$(SOURCE_DATE_EPOCH
),-fixed-time
$(SOURCE_DATE_EPOCH
))
28 dd if
=/dev
/zero bs
=1k count
=1 >> $@.squashfs
30 -A mips
-O linux
-T filesystem
-C none \
31 -M
$(NETGEAR_KERNEL_MAGIC
) \
32 -a
0xbf070000 -e
0xbf070000 \
33 -n
'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
35 rm -rf
$@.squashfs
$@.fs
38 define Build
/netgear-uImage
39 $(call Build
/uImage
,$(1) -M
$(NETGEAR_KERNEL_MAGIC
))
42 define Build
/relocate-kernel
44 $(CP
) ..
/..
/generic
/image
/relocate
$@.relocate
45 $(MAKE
) -j1
-C
$@.relocate KERNEL_ADDR
=$(KERNEL_LOADADDR
) CROSS_COMPILE
=$(TARGET_CROSS
)
47 dd if
=$@.relocate
/loader.bin bs
=32 conv
=sync
&& \
48 perl
-e
'@s = stat("$@"); print pack("N", @s[7])' && \
56 $(STAGING_DIR_HOST
)/bin
/seama
-i
$@
$(if
$(1),$(1),-m
"dev=/dev/mtdblock/1" -m
"type=firmware")
60 define Build
/seama-seal
61 $(call Build
/seama
,-s
$@.seama
$(1))
64 define Build
/uImageHiWiFi
65 # Field ih_name needs to start with "tw150v1"
66 mkimage
-A
$(LINUX_KARCH
) \
68 -C
$(1) -a
$(KERNEL_LOADADDR
) -e
$(if
$(KERNEL_ENTRY
),$(KERNEL_ENTRY
),$(KERNEL_LOADADDR
)) \
69 -n
'tw150v1 $(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d
$@
$@.new
73 define Build
/wrgg-pad-rootfs
74 $(STAGING_DIR_HOST
)/bin
/padjffs2
$(IMAGE_ROOTFS
) -c
64 >>$@
79 DEVICE_TITLE
:= ALFA Network AP121F
80 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-storage
-swconfig
83 CONSOLE
:= ttyATH0
,115200
84 MTDPARTS
:= spi0.0
:192k
(u-boot
)ro
,64k
(u-boot-env
),64k
(art
)ro
,-(firmware
)
85 SUPPORTED_DEVICES
:= ap121f
86 IMAGE
/sysupgrade.bin
= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
87 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
89 TARGET_DEVICES
+= ap121f
92 DEVICE_TITLE
:= Rockeetech AP531B0
93 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
96 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
98 TARGET_DEVICES
+= ap531b0
101 DEVICE_TITLE
:= YunCore AP90Q
104 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),16000k
(firmware
),64k
(art
)ro
106 TARGET_DEVICES
+= ap90q
108 define Device
/arduino-yun
109 DEVICE_TITLE
:= Arduino Yun
110 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
113 CONSOLE
= ttyATH0
,250000
114 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),15936k
(firmware
),64k
(nvram
),64k
(art
)ro
116 TARGET_DEVICES
+= arduino-yun
119 DEVICE_TITLE
:= Smart Electronics Black Swift board
120 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
123 CONSOLE
:= ttyATH0
,115200
124 MTDPARTS
:= spi0.0
:128k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16128k
(firmware
),64k
(art
)ro
126 TARGET_DEVICES
+= bsb
128 define Device
/carambola2
129 DEVICE_TITLE
:= 8devices Carambola2
130 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
131 BOARDNAME
:= CARAMBOLA2
133 CONSOLE
:= ttyATH0
,115200
134 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
136 TARGET_DEVICES
+= carambola2
138 define Device
/cf-e316n-v2
139 DEVICE_TITLE
:= COMFAST CF-E316N v2
140 BOARDNAME
:= CF-E316N-V2
142 MTDPARTS
:= spi0.0
:64k
(u-boot
)ro
,64k
(art
)ro
,16192k
(firmware
),64k
(art-backup
)ro
144 TARGET_DEVICES
+= cf-e316n-v2
146 define Device
/cf-e320n-v2
147 $(Device
/cf-e316n-v2
)
148 DEVICE_TITLE
:= COMFAST CF-E320N v2
149 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
150 BOARDNAME
:= CF-E320N-V2
152 TARGET_DEVICES
+= cf-e320n-v2
154 define Device
/cf-e380ac-v1
155 DEVICE_TITLE
:= COMFAST CF-E380AC v1
156 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca988x
157 BOARDNAME
:= CF-E380AC-V1
159 MTDPARTS
:= spi0.0
:128k
(u-boot
)ro
,64k
(art
)ro
,16128k
(firmware
),64k
(art-backup
)ro
161 TARGET_DEVICES
+= cf-e380ac-v1
163 define Device
/cf-e380ac-v2
164 $(Device
/cf-e380ac-v1
)
165 DEVICE_TITLE
:= COMFAST CF-E380AC v2
166 BOARDNAME
:= CF-E380AC-V2
168 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(art
)ro
,16000k
(firmware
),64k
(art-backup
)ro
170 TARGET_DEVICES
+= cf-e380ac-v2
172 define Device
/cf-e520n
173 DEVICE_TITLE
:= COMFAST CF-E520N
174 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
175 BOARDNAME
:= CF-E520N
177 MTDPARTS
:= spi0.0
:64k
(u-boot
)ro
,64k
(art
)ro
,8000k
(firmware
),64k
(art-backup
)ro
179 TARGET_DEVICES
+= cf-e520n
181 define Device
/cf-e530n
183 DEVICE_TITLE
:= COMFAST CF-E530N
184 BOARDNAME
:= CF-E530N
186 TARGET_DEVICES
+= cf-e530n
188 define Device
/cpe505n
189 DEVICE_TITLE
:= P
&W CPE505N
192 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
194 TARGET_DEVICES
+= cpe505n
198 DEVICE_TITLE
:= YunCore CPE830
199 DEVICE_PACKAGES
:= rssileds
202 TARGET_DEVICES
+= cpe830
205 DEVICE_TITLE
:= YunCore CPE870
206 DEVICE_PACKAGES
:= rssileds
209 MTDPARTS
:= spi0.0
:64k
(u-boot
)ro
,64k
(u-boot-env
),7936k
(firmware
),64k
(config
)ro
,64k
(art
)ro
211 TARGET_DEVICES
+= cpe870
213 define Device
/dragino2
214 BOARDNAME
:= DRAGINO2
215 CONSOLE
:= ttyATH0
,115200
216 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
217 DEVICE_TITLE
:= Dragino
2 (MS14
)
219 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,16000k
(firmware
),64k
(config
)ro
,64k
(art
)ro
221 TARGET_DEVICES
+= dragino2
225 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
228 CONSOLE
:= ttyATH0
,115200
229 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
231 TARGET_DEVICES
+= weio
233 define Device
/gl-ar150
234 DEVICE_TITLE
:= GL.iNet GL-AR150
235 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
236 BOARDNAME
:= GL-AR150
238 CONSOLE
:= ttyATH0
,115200
239 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
241 TARGET_DEVICES
+= gl-ar150
243 define Device
/gl-ar300
244 DEVICE_TITLE
:= GL.iNet GL-AR300
245 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
246 BOARDNAME
:= GL-AR300
248 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
250 TARGET_DEVICES
+= gl-ar300
252 define Device
/gl-ar300m
253 DEVICE_TITLE
:= GL.iNet GL-AR300M
254 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
255 BOARDNAME
:= GL-AR300M
257 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),16000k
(firmware
),64k
(art
)ro
259 TARGET_DEVICES
+= gl-ar300m
261 define Device
/gl-domino
262 DEVICE_TITLE
:= GL.iNet Domino Pi
263 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
266 CONSOLE
:= ttyATH0
,115200
267 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
269 TARGET_DEVICES
+= gl-domino
271 define Device
/gl-mifi
272 DEVICE_TITLE
:= GL.iNet GL-MiFi
273 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
276 CONSOLE
:= ttyATH0
,115200
277 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
279 TARGET_DEVICES
+= gl-mifi
281 define Device
/gl-usb150
282 DEVICE_TITLE
:= GL.iNet GL-USB150
283 DEVICE_PACKAGES
:= -swconfig
284 BOARDNAME
:= GL-USB150
286 CONSOLE
:= ttyATH0
,115200
287 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
288 SUPPORTED_DEVICES
:= gl-usb150
289 IMAGE
/sysupgrade.bin
= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
290 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
292 TARGET_DEVICES
+= gl-usb150
295 DEVICE_TITLE
:= 8devices Lima
296 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
299 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,256k
(u-boot-env
)ro
,256k
(art
)ro
,-(firmware
)
301 TARGET_DEVICES
+= lima
304 DEVICE_TITLE
:= Meraki MR12
305 DEVICE_PACKAGES
:= kmod-spi-gpio
307 ROOTFS_SIZE
:= 13440k
309 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,256k
(u-boot-env
)ro
,13440k
(rootfs
),2240k
(kernel
),64k
(mac
),128k
(art
)ro
,15680k@
0x80000(firmware
)
310 IMAGE
/kernel.bin
:= append-kernel
311 IMAGE
/rootfs.bin
:= append-rootfs | pad-rootfs
312 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | pad-to
$$$$(ROOTFS_SIZE
) | append-kernel | check-size
$$$$(IMAGE_SIZE
)
313 IMAGES
:= kernel.bin rootfs.bin sysupgrade.bin
318 DEVICE_TITLE
:= Meraki MR16
321 TARGET_DEVICES
+= mr12 mr16
324 DEVICE_TITLE
:= Wallys DR344
329 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,6336k
(rootfs
),1408k
(kernel
),64k
(nvram
),64k
(art
)ro
,7744k@
0x50000(firmware
)
330 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | pad-to
$$$$(ROOTFS_SIZE
) | append-kernel | check-size
$$$$(IMAGE_SIZE
)
332 TARGET_DEVICES
+= dr344
335 DEVICE_TITLE
:= Wallys DR531
336 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
339 MTDPARTS
:= spi0.0
:192k
(u-boot
)ro
,64k
(u-boot-env
),64k
(partition-table
)ro
,7808k
(firmware
),64k
(art
)ro
341 TARGET_DEVICES
+= dr531
343 define Device
/wndr3700
344 DEVICE_TITLE
:= NETGEAR WNDR3700
345 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-wndr3700-usb
346 BOARDNAME
:= WNDR3700
347 NETGEAR_KERNEL_MAGIC
:= 0x33373030
348 NETGEAR_BOARD_ID
:= WNDR3700
350 MTDPARTS
:= spi0.0
:320k
(u-boot
)ro
,128k
(u-boot-env
)ro
,7680k
(firmware
),64k
(art
)ro
351 IMAGES
:= sysupgrade.bin factory.img factory-NA.img
352 KERNEL
:= kernel-bin | patch-cmdline | lzma
-d20 | netgear-uImage lzma
353 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | netgear-squashfs | append-rootfs | pad-rootfs
354 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | check-size
$$$$(IMAGE_SIZE
)
355 IMAGE
/factory.img
:= $$(IMAGE
/default
) | netgear-dni | check-size
$$$$(IMAGE_SIZE
)
356 IMAGE
/factory-NA.img
:= $$(IMAGE
/default
) | netgear-dni NA | check-size
$$$$(IMAGE_SIZE
)
359 define Device
/wndr3700v2
361 DEVICE_TITLE
:= NETGEAR WNDR3700 v2
362 NETGEAR_BOARD_ID
:= WNDR3700v2
363 NETGEAR_KERNEL_MAGIC
:= 0x33373031
364 NETGEAR_HW_ID
:= 29763654+16+64
366 MTDPARTS
:= spi0.0
:320k
(u-boot
)ro
,128k
(u-boot-env
)ro
,15872k
(firmware
),64k
(art
)ro
367 IMAGES
:= sysupgrade.bin factory.img
370 define Device
/wndr3800
372 DEVICE_TITLE
:= NETGEAR WNDR3800
373 NETGEAR_BOARD_ID
:= WNDR3800
374 NETGEAR_HW_ID
:= 29763654+16+128
377 define Device
/wndr3800ch
379 DEVICE_TITLE
:= NETGEAR WNDR3800
(Ch
)
380 NETGEAR_BOARD_ID
:= WNDR3800CH
383 define Device
/wndrmac
385 DEVICE_TITLE
:= NETGEAR WNDRMAC
386 NETGEAR_BOARD_ID
:= WNDRMAC
389 define Device
/wndrmacv2
391 DEVICE_TITLE
:= NETGEAR WNDRMAC v2
392 NETGEAR_BOARD_ID
:= WNDRMACv2
394 TARGET_DEVICES
+= wndr3700 wndr3700v2 wndr3800 wndr3800ch wndrmac wndrmacv2
397 DEVICE_TITLE
:= PowerCloud CAP324 Cloud AP
399 DEVICE_PROFILE
:= CAP324
401 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,15296k
(firmware
),640k
(certs
),64k
(nvram
),64k
(art
)ro
403 TARGET_DEVICES
+= cap324
405 define Device
/cap324-nocloud
406 DEVICE_TITLE
:= PowerCloud CAP324 Cloud AP
(No-Cloud
)
408 DEVICE_PROFILE
:= CAP324
410 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
412 TARGET_DEVICES
+= cap324-nocloud
415 DEVICE_TITLE
:= PowerCloud CR3000 Cloud Router
417 DEVICE_PROFILE
:= CR3000
419 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,7104k
(firmware
),640k
(certs
),64k
(nvram
),64k
(art
)ro
421 TARGET_DEVICES
+= cr3000
423 define Device
/cr3000-nocloud
424 DEVICE_TITLE
:= PowerCloud CR3000
(No-Cloud
)
426 DEVICE_PROFILE
:= CR3000
428 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,7808k
(firmware
),64k
(art
)ro
430 TARGET_DEVICES
+= cr3000-nocloud
433 DEVICE_TITLE
:= PowerCloud CR5000 Cloud Router
434 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-core
436 DEVICE_PROFILE
:= CR5000
438 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,7104k
(firmware
),640k
(certs
),64k
(nvram
),64k
(art
)ro
440 TARGET_DEVICES
+= cr5000
442 define Device
/cr5000-nocloud
443 DEVICE_TITLE
:= PowerCloud CR5000
(No-Cloud
)
444 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-core
446 DEVICE_PROFILE
:= CR5000
448 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,7808k
(firmware
),64k
(art
)ro
450 TARGET_DEVICES
+= cr5000-nocloud
452 define Device
/pqi-air-pen
453 DEVICE_TITLE
:= PQI Air Pen
454 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-storage
455 BOARDNAME
:= PQI-AIR-PEN
457 CONSOLE
:= ttyATH0
,115200
458 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,64k
(art
)ro
,64k
(NVRAM
)ro
,7680k
(firmware
),64k
(CONF
)
460 TARGET_DEVICES
+= pqi-air-pen
462 define Device
/antminer-s1
463 $(Device
/tplink-8mlzma
)
464 DEVICE_TITLE
:= Antminer-S1
465 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-crypto-manager kmod-i2c-gpio-custom kmod-usb-hid
466 BOARDNAME
:= ANTMINER-S1
467 DEVICE_PROFILE
:= ANTMINERS1
468 TPLINK_HWID
:= 0x04440101
469 CONSOLE
:= ttyATH0
,115200
472 define Device
/antminer-s3
473 $(Device
/tplink-8mlzma
)
474 DEVICE_TITLE
:= Antminer-S3
475 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-crypto-manager kmod-i2c-gpio-custom kmod-usb-hid
476 BOARDNAME
:= ANTMINER-S3
477 DEVICE_PROFILE
:= ANTMINERS3
478 TPLINK_HWID
:= 0x04440301
479 CONSOLE
:= ttyATH0
,115200
482 define Device
/antrouter-r1
483 $(Device
/tplink-8mlzma
)
484 DEVICE_TITLE
:= Antrouter-R1
485 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
486 BOARDNAME
:= ANTROUTER-R1
487 DEVICE_PROFILE
:= ANTROUTERR1
488 TPLINK_HWID
:= 0x44440101
489 CONSOLE
:= ttyATH0
,115200
492 define Device
/el-m150
493 $(Device
/tplink-8mlzma
)
494 DEVICE_TITLE
:= EasyLink EL-M150
495 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
497 DEVICE_PROFILE
:= ELM150
498 TPLINK_HWID
:= 0x01500101
499 CONSOLE
:= ttyATH0
,115200
502 define Device
/el-mini
503 $(Device
/tplink-8mlzma
)
504 DEVICE_TITLE
:= EasyLink EL-MINI
505 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
507 DEVICE_PROFILE
:= ELMINI
508 TPLINK_HWID
:= 0x01530001
509 CONSOLE
:= ttyATH0
,115200
511 TARGET_DEVICES
+= antminer-s1 antminer-s3 antrouter-r1 el-m150 el-mini
513 define Device
/gl-inet-6408A-v1
514 $(Device
/tplink-8mlzma
)
515 DEVICE_TITLE
:= GL.iNet
6408
516 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
518 DEVICE_PROFILE
:= GLINET
519 TPLINK_HWID
:= 0x08000001
520 CONSOLE
:= ttyATH0
,115200
523 define Device
/gl-inet-6416A-v1
524 $(Device
/tplink-16mlzma
)
525 DEVICE_TITLE
:= GL.iNet
6416
526 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
528 DEVICE_PROFILE
:= GLINET
529 TPLINK_HWID
:= 0x08000001
530 CONSOLE
:= ttyATH0
,115200
532 TARGET_DEVICES
+= gl-inet-6408A-v1 gl-inet-6416A-v1
534 define Device
/jwap230
535 DEVICE_TITLE
:= jjPlus JWAP230
536 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
539 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),16000k
(firmware
),64k
(art
)ro
541 TARGET_DEVICES
+= jwap230
544 DEVICE_TITLE
:= P
&W R602N
545 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
548 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,16000k
(firmware
),64k
(art
)ro
550 TARGET_DEVICES
+= r602n
552 define Device
/rnx-n360rt
554 DEVICE_TITLE
:= Rosewill RNX-N360RT
555 BOARDNAME
:= TL-WR941ND
556 DEVICE_PROFILE
:= RNXN360RT
557 TPLINK_HWID
:= 0x09410002
558 TPLINK_HWREV
:= 0x00420001
560 TARGET_DEVICES
+= rnx-n360rt
562 define Device
/mc-mac1200r
563 $(Device
/tplink-8mlzma
)
564 DEVICE_TITLE
:= Mercury MAC1200R
565 DEVICE_PACKAGES
:= kmod-ath10k ath10k-firmware-qca988x
566 BOARDNAME
:= MC-MAC1200R
567 DEVICE_PROFILE
:= MAC1200R
568 TPLINK_HWID
:= 0x12000001
570 TARGET_DEVICES
+= mc-mac1200r
572 define Device
/minibox-v1
573 $(Device
/tplink-16mlzma
)
574 DEVICE_TITLE
:= Gainstrong MiniBox V1.0
575 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
576 BOARDNAME
:= MINIBOX-V1
577 DEVICE_PROFILE
:= MINIBOXV1
578 TPLINK_HWID
:= 0x3C000201
579 CONSOLE
:= ttyATH0
,115200
581 TARGET_DEVICES
+= minibox-v1
584 $(Device
/tplink-16mlzma
)
585 DEVICE_TITLE
:= OMYlink OMY-G1
586 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
588 DEVICE_PROFILE
:= OMYG1
589 TPLINK_HWID
:= 0x06660101
593 $(Device
/tplink-8mlzma
)
594 DEVICE_TITLE
:= OMYlink OMY-X1
596 DEVICE_PROFILE
:= OMYX1
597 TPLINK_HWID
:= 0x06660201
599 TARGET_DEVICES
+= omy-g1 omy-x1
601 define Device
/onion-omega
602 $(Device
/tplink-16mlzma
)
603 DEVICE_TITLE
:= Onion Omega
604 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-storage kmod-i2c-core kmod-i2c-gpio-custom kmod-spi-bitbang kmod-spi-dev kmod-spi-gpio kmod-spi-gpio-custom kmod-usb-serial
605 BOARDNAME
:= ONION-OMEGA
606 DEVICE_PROFILE
:= OMEGA
607 TPLINK_HWID
:= 0x04700001
608 CONSOLE
:= ttyATH0
,115200
610 TARGET_DEVICES
+= onion-omega
613 DEVICE_TITLE
:= Abicom SC1750
614 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
617 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),15744k
(firmware
),128k
(APConfig
),128k
(kplog
),64k
(ART
)
619 TARGET_DEVICES
+= sc1750
622 DEVICE_TITLE
:= Abicom SC300M
623 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
626 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),15744k
(firmware
),128k
(APConfig
),128k
(kplog
),64k
(ART
)
628 TARGET_DEVICES
+= sc300m
631 DEVICE_TITLE
:= Abicom SC450
632 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
635 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),15744k
(firmware
),128k
(APConfig
),128k
(kplog
),64k
(ART
)
637 TARGET_DEVICES
+= sc450
639 define Device
/smart-300
640 $(Device
/tplink-8mlzma
)
641 DEVICE_TITLE
:= NC-LINK SMART-300
642 BOARDNAME
:= SMART-300
643 DEVICE_PROFILE
:= SMART-300
644 TPLINK_HWID
:= 0x93410001
646 TARGET_DEVICES
+= smart-300
648 define Device
/som9331
649 $(Device
/tplink-8mlzma
)
650 DEVICE_TITLE
:= OpenEmbed SOM9331
651 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-storage kmod-i2c-core kmod-i2c-gpio-custom kmod-spi-bitbang kmod-spi-dev kmod-spi-gpio kmod-spi-gpio-custom kmod-usb-serial
653 DEVICE_PROFILE
:= SOM9331
654 TPLINK_HWID
:= 0x04800054
655 CONSOLE
:= ttyATH0
,115200
657 TARGET_DEVICES
+= som9331
660 DEVICE_TITLE
:= YunCore SR3200
661 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca988x
664 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),16000k
(firmware
),64k
(art
)ro
666 TARGET_DEVICES
+= sr3200
670 DEVICE_TITLE
:= YunCore XD3200
671 DEVICE_PACKAGES
:= kmod-ath10k ath10k-firmware-qca988x
674 TARGET_DEVICES
+= xd3200
676 define Device
/tellstick-znet-lite
677 $(Device
/tplink-16mlzma
)
678 DEVICE_TITLE
:= TellStick ZNet Lite
679 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-acm kmod-usb-serial kmod-usb-serial-pl2303
680 BOARDNAME
:= TELLSTICK-ZNET-LITE
681 DEVICE_PROFILE
:= TELLSTICKZNETLITE
682 TPLINK_HWID
:= 0x00726001
683 CONSOLE
:= ttyATH0
,115200
685 TARGET_DEVICES
+= tellstick-znet-lite
688 $(Device
/tplink-16mlzma
)
689 DEVICE_TITLE
:= Gainstrong OOLITE
690 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
691 BOARDNAME
:= GS-OOLITE
692 DEVICE_PROFILE
:= OOLITE
693 TPLINK_HWID
:= 0x3C000101
694 CONSOLE
:= ttyATH0
,115200
696 TARGET_DEVICES
+= oolite
698 define Device
/NBG6616
699 DEVICE_TITLE
:= ZyXEL NBG6616
700 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-rtc-pcf8563 kmod-ath10k ath10k-firmware-qca988x
704 MTDPARTS
:= spi0.0
:192k
(u-boot
)ro
,64k
(env
)ro
,64k
(RFdata
)ro
,384k
(zyxel_rfsd
),384k
(romd
),64k
(header
),2048k
(kernel
),13184k
(rootfs
),15232k@
0x120000(firmware
)
706 IMAGES
:= sysupgrade.bin
707 KERNEL
:= kernel-bin | patch-cmdline | lzma | uImage lzma | jffs2 boot
/vmlinux.lzma.uImage
708 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
709 # We cannot currently build a factory image. It is the sysupgrade image
710 # prefixed with a header (which is actually written into the MTD device).
711 # The header is 2kiB and is filled with 0xff. The format seems to be:
713 # 2 bytes: checksum of the data partition (big endian)
714 # 4 bytes: length of the contained image file (big endian)
715 # 32 bytes: Firmware Version string (NUL terminated, 0xff padded)
717 # 2 bytes: checksum over the header partition (big endian)
718 # 32 bytes: Model (e.g. "NBG6616", NUL termiated, 0xff padded)
721 # The checksums are calculated by adding up all bytes and if a 16bit
722 # overflow occurs, one is added and the sum is masked to 16 bit:
723 # csum = csum + databyte; if (csum > 0xffff) { csum += 1; csum &= 0xffff };
724 # Should the file have an odd number of bytes then the byte len-0x800 is
726 # The checksum for the header is calcualted over the first 2048 bytes with
727 # the firmware checksum as the placeholder during calculation.
729 # The header is padded with 0xff to the erase block size of the device.
731 TARGET_DEVICES
+= NBG6616
734 DEVICE_TITLE
:= AirTight Networks C-55
735 DEVICE_PACKAGES
:= kmod-ath9k
739 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,128k
(u-boot-env
)ro
,2048k
(kernel
),13824k
(rootfs
),13824k
(opt
)ro
,2624k
(failsafe
)ro
,64k
(art
)ro
,15872k@
0x60000(firmware
)
740 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
742 TARGET_DEVICES
+= c-55
744 define Device
/hiwifi-hc6361
745 DEVICE_TITLE
:= HiWiFi HC6361
746 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-storage \
747 kmod-fs-ext4 kmod-nls-iso8859-1 e2fsprogs
748 BOARDNAME
:= HiWiFi-HC6361
749 DEVICE_PROFILE
:= HIWIFI_HC6361
751 KERNEL
:= kernel-bin | patch-cmdline | lzma | uImageHiWiFi lzma
752 CONSOLE
:= ttyATH0
,115200
753 MTDPARTS
:= spi0.0
:64k
(u-boot
)ro
,64k
(bdinfo
)ro
,16128k
(firmware
),64k
(backup
)ro
,64k
(art
)ro
755 TARGET_DEVICES
+= hiwifi-hc6361
760 KERNEL
:= kernel-bin | patch-cmdline | relocate-kernel | lzma
761 KERNEL_INITRAMFS
:= kernel-bin | patch-cmdline | lzma | seama
762 KERNEL_INITRAMFS_SUFFIX
= $$(KERNEL_SUFFIX
).seama
763 IMAGES
:= sysupgrade.bin factory.bin
766 # - 28 bytes seama_header
767 # - 36 bytes of META data (4-bytes aligned)
768 IMAGE
/default
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
769 IMAGE
/sysupgrade.bin
:= \
770 $$(IMAGE
/default
) | seama | pad-rootfs | \
771 check-size
$$$$(IMAGE_SIZE
)
772 IMAGE
/factory.bin
:= \
773 $$(IMAGE
/default
) | seama | pad-rootfs | \
774 seama-seal
-m
"signature=$$$$(SEAMA_SIGNATURE)" | \
775 check-size
$$$$(IMAGE_SIZE
)
779 define Device
/dir-869-a1
781 DEVICE_TITLE
:= D-Link DIR-869 rev. A1
782 DEVICE_PACKAGES
:= kmod-ath10k ath10k-firmware-qca988x
783 BOARDNAME
:= DIR-869-A1
785 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,64k
(devdata
)ro
,64k
(devconf
)ro
,15872k
(firmware
),64k
(radiocfg
)ro
786 SEAMA_SIGNATURE
:= wrgac54_dlink
.2015_dir869
787 IMAGE
/factory.bin
:= \
788 $$(IMAGE
/default
) | pad-rootfs
-x
64 | \
789 seama | seama-seal
-m
"signature=$$$$(SEAMA_SIGNATURE)" | \
790 check-size
$$$$(IMAGE_SIZE
)
793 define Device
/mynet-n600
795 DEVICE_TITLE
:= Western Digital My Net N600
796 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
797 BOARDNAME
:= MYNET-N600
799 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,64k
(devdata
)ro
,64k
(devconf
)ro
,15872k
(firmware
),64k
(radiocfg
)ro
800 SEAMA_SIGNATURE
:= wrgnd16_wd_db600
803 define Device
/mynet-n750
805 DEVICE_TITLE
:= Western Digital My Net N750
806 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
807 BOARDNAME
:= MYNET-N750
809 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,64k
(devdata
)ro
,64k
(devconf
)ro
,15872k
(firmware
),64k
(radiocfg
)ro
810 SEAMA_SIGNATURE
:= wrgnd13_wd_av
813 define Device
/qihoo-c301
815 DEVICE_TITLE
:= Qihoo C301
816 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
817 BOARDNAME
:= QIHOO-C301
819 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
),64k
(devdata
),64k
(devconf
),15744k
(firmware
),64k
(warm_start
),64k
(action_image_config
),64k
(radiocfg
)ro
;spi0.1
:15360k
(upgrade2
),1024k
(privatedata
)
820 SEAMA_SIGNATURE
:= wrgac26_qihoo360_360rg
822 TARGET_DEVICES
+= dir-869-a1 mynet-n600 mynet-n750 qihoo-c301
824 define Device
/dap-2695-a1
825 DEVICE_TITLE
:= D-Link DAP-2695 rev. A1
826 DEVICE_PACKAGES
:= ath10k-firmware-qca988x kmod-ath10k
827 BOARDNAME
:= DAP-2695-A1
828 IMAGES
:= factory.img sysupgrade.bin
830 IMAGE
/factory.img
:= append-kernel | pad-offset
65536 160 | append-rootfs | wrgg-pad-rootfs | mkwrggimg | check-size
$$$$(IMAGE_SIZE
)
831 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
65536 160 | mkwrggimg | append-rootfs | wrgg-pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
832 KERNEL
:= kernel-bin | patch-cmdline | relocate-kernel | lzma
833 KERNEL_INITRAMFS
:= $$(KERNEL
) | mkwrggimg
834 MTDPARTS
:= spi0.0
:256k
(bootloader
)ro
,64k
(bdcfg
)ro
,64k
(rgdb
)ro
,64k
(langpack
)ro
,15360k
(firmware
),448k
(captival
)ro
,64k
(certificate
)ro
,64k
(radiocfg
)ro
835 DAP_SIGNATURE
:= wapac02_dkbs_dap2695
837 TARGET_DEVICES
+= dap-2695-a1
839 define Device
/bhr-4grv2
840 DEVICE_TITLE
:= Buffalo BHR-4GRV2
841 BOARDNAME
:= BHR-4GRV2
842 ROOTFS_SIZE
:= 14528k
845 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,14528k
(rootfs
),1472k
(kernel
),64k
(art
)ro
,16000k@
0x50000(firmware
)
846 IMAGES
:= sysupgrade.bin factory.bin
847 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | pad-to
$$$$(ROOTFS_SIZE
) | append-kernel | check-size
$$$$(IMAGE_SIZE
)
848 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | mkbuffaloimg
850 TARGET_DEVICES
+= bhr-4grv2
852 define Device
/wpj-16m
853 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
854 MTDPARTS
:= spi0.0
:192k
(u-boot
)ro
,16128k
(firmware
),64k
(art
)ro
860 DEVICE_TITLE
:= Compex WPJ342
(16MB flash
)
866 DEVICE_TITLE
:= Compex WPJ344
(16MB flash
)
872 DEVICE_TITLE
:= Compex WPJ531
(16MB flash
)
878 DEVICE_TITLE
:= Compex WPJ558
(16MB flash
)
884 DEVICE_TITLE
:= Compex WPJ563
(16MB flash
)
887 TARGET_DEVICES
+= wpj342 wpj344 wpj531 wpj558 wpj563
889 define Device
/wrtnode2q
890 DEVICE_TITLE
:= WRTnode2Q
891 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-storage
892 BOARDNAME
:= WRTNODE2Q
894 MTDPARTS
:= spi0.0
:192k
(u-boot
)ro
,64k
(u-boot-env
),64k
(art
)ro
,16064k
(firmware
),16384k@
0x0(fullflash
)
896 TARGET_DEVICES
+= wrtnode2q
898 define Device
/zbt-we1526
899 DEVICE_TITLE
:= Zbtlink ZBT-WE1526
900 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
901 BOARDNAME
:= ZBT-WE1526
904 ROOTFS_SIZE
:= 14528k
905 MTDPARTS
:= spi0.0
:256k
(u-boot
)ro
,64k
(u-boot-env
)ro
,14528k
(rootfs
),1472k
(kernel
),64k
(art
)ro
,16000k@
0x50000(firmware
)
906 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | pad-to
$$$$(ROOTFS_SIZE
) | append-kernel | check-size
$$$$(IMAGE_SIZE
)
908 TARGET_DEVICES
+= zbt-we1526
910 define Device
/fritz300e
911 DEVICE_TITLE
:= AVM FRITZ
!WLAN Repeater
300E
912 DEVICE_PACKAGES
:= fritz-tffs rssileds
-swconfig
-uboot-envtools
913 BOARDNAME
:= FRITZ300E
914 SUPPORTED_DEVICES
:= fritz300e
916 KERNEL
:= kernel-bin | patch-cmdline | lzma | eva-image
917 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | \
918 append-squashfs-fakeroot-be | pad-to
256 | \
919 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
921 TARGET_DEVICES
+= fritz300e