X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fimage%2Fgeneric.mk;h=c4404bc49acc30d10fdfaada248c4291ed261a69;hp=eb6d6e534236235155d45c25586a7b205e6eb28d;hb=106a56238ff319469f58d6e844a3e6259925427a;hpb=c83bdd094ec4722b35811bd64781d8aacddb2344 diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index eb6d6e5342..c4404bc49a 100644 --- a/target/linux/ar71xx/image/generic.mk +++ b/target/linux/ar71xx/image/generic.mk @@ -1,5 +1,21 @@ DEVICE_VARS += DAP_SIGNATURE NETGEAR_BOARD_ID NETGEAR_HW_ID NETGEAR_KERNEL_MAGIC ROOTFS_SIZE SEAMA_SIGNATURE +define Build/alfa-network-rootfs-header + mkimage \ + -A mips -O linux -T filesystem -C lzma -a 0 -e 0 \ + -n 'RootfsImage' -d $@ $@.new + @mv $@.new $@ +endef + +define Build/append-md5sum-bin + $(STAGING_DIR_HOST)/bin/mkhash md5 $@ | sed 's/../\\\\x&/g' |\ + xargs echo -ne >> $@ +endef + +define Build/append-string + echo -n $(1) >> $@ +endef + define Build/mkbuffaloimg $(STAGING_DIR_HOST)/bin/mkbuffaloimg -B $(BOARDNAME) \ -R $$(($(subst k, * 1024,$(ROOTFS_SIZE)))) \ @@ -12,7 +28,7 @@ define Build/mkwrggimg $(STAGING_DIR_HOST)/bin/mkwrggimg -b \ -i $@ -o $@.imghdr -d /dev/mtdblock/1 \ -m $(BOARDNAME) -s $(DAP_SIGNATURE) \ - -v LEDE -B $(REVISION) + -v $(VERSION_DIST) -B $(REVISION) mv $@.imghdr $@ endef @@ -30,7 +46,7 @@ define Build/netgear-squashfs -A mips -O linux -T filesystem -C none \ -M $(NETGEAR_KERNEL_MAGIC) \ -a 0xbf070000 -e 0xbf070000 \ - -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \ + -n 'MIPS $(VERSION_DIST) Linux-$(LINUX_VERSION)' \ -d $@.squashfs $@ rm -rf $@.squashfs $@.fs endef @@ -61,12 +77,23 @@ define Build/seama-seal $(call Build/seama,-s $@.seama $(1)) endef +define Build/teltonika-fw-fake-checksum + # Teltonika U-Boot web based firmware upgrade/recovery routine compares + # 16 bytes from md5sum1[16] field in TP-Link v1 header (offset: 76 bytes + # from begin of the firmware file) with 16 bytes stored just before + # 0xdeadc0de marker. Values are only compared, MD5 sum is not verified. + let \ + offs="$$(stat -c%s $@) - 20"; \ + dd if=$@ bs=1 count=16 skip=76 |\ + dd of=$@ bs=1 count=16 seek=$$offs conv=notrunc +endef + define Build/uImageHiWiFi # Field ih_name needs to start with "tw150v1" mkimage -A $(LINUX_KARCH) \ -O linux -T kernel \ -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ - -n 'tw150v1 $(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d $@ $@.new + -n 'tw150v1 $(call toupper,$(LINUX_KARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION)' -d $@ $@.new @mv $@.new $@ endef @@ -83,7 +110,7 @@ define Device/ap121f CONSOLE := ttyATH0,115200 MTDPARTS := spi0.0:192k(u-boot)ro,64k(u-boot-env),64k(art)ro,-(firmware) SUPPORTED_DEVICES := ap121f - IMAGE/sysupgrade.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | \ + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) endef TARGET_DEVICES += ap121f @@ -105,12 +132,28 @@ define Device/ap90q endef TARGET_DEVICES += ap90q +define Device/ap91-5g + DEVICE_TITLE := ALFA Network AP91-5G + DEVICE_PACKAGES := rssileds -swconfig + BOARDNAME := AP91-5G + IMAGE_SIZE := 7744k + KERNEL_SIZE := 1600k + ROOTFS_SIZE := 6144k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),6144k(rootfs),1600k(kernel),64k(config)ro,64k(art)ro,7744k@0x50000(firmware) + IMAGES := sysupgrade.bin factory.bin + IMAGE/factory.bin := append-rootfs | pad-rootfs |\ + alfa-network-rootfs-header | append-kernel | check-size $$$$(IMAGE_SIZE) + IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs |\ + pad-to $$$$(ROOTFS_SIZE) | append-kernel | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += ap91-5g + define Device/arduino-yun DEVICE_TITLE := Arduino Yun DEVICE_PACKAGES := kmod-usb-core kmod-usb2 BOARDNAME := Yun IMAGE_SIZE := 15936k - CONSOLE = ttyATH0,250000 + CONSOLE := ttyATH0,250000 MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),15936k(firmware),64k(nvram),64k(art)ro endef TARGET_DEVICES += arduino-yun @@ -151,14 +194,31 @@ define Device/cf-e320n-v2 endef TARGET_DEVICES += cf-e320n-v2 -define Device/cf-e355ac - DEVICE_TITLE := COMFAST CF-E355AC +define Device/cf-e355ac-v1 + DEVICE_TITLE := COMFAST CF-E355AC v1 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca988x - BOARDNAME := CF-E355AC + BOARDNAME := CF-E355AC-V1 IMAGE_SIZE := 16192k MTDPARTS := spi0.0:64k(u-boot)ro,64k(art)ro,16192k(firmware),64k(art-backup)ro endef -TARGET_DEVICES += cf-e355ac +TARGET_DEVICES += cf-e355ac-v1 + +define Device/cf-e355ac-v2 + $(Device/cf-e355ac-v1) + DEVICE_TITLE := COMFAST CF-E355AC v2 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca9888 + BOARDNAME := CF-E355AC-V2 +endef +TARGET_DEVICES += cf-e355ac-v2 + +define Device/cf-e375ac + DEVICE_TITLE := COMFAST CF-E375AC + DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9888 + BOARDNAME := CF-E375AC + IMAGE_SIZE := 16000k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(art)ro,16000k(firmware),64k(art-backup)ro +endef +TARGET_DEVICES += cf-e375ac define Device/cf-e380ac-v1 DEVICE_TITLE := COMFAST CF-E380AC v1 @@ -229,26 +289,102 @@ define Device/dragino2 endef TARGET_DEVICES += dragino2 +define Device/e1700ac-v2-16M + DEVICE_TITLE := WHQX E1700AC v2 (16MB flash) + DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x kmod-usb-core \ + kmod-usb2 kmod-usb-ledtrig-usbport + BOARDNAME := E1700AC-V2 + SUPPORTED_DEVICES := e1700ac-v2 + IMAGE_SIZE := 15936k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(pri-data)ro,64k(art)ro,-(firmware) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) |\ + append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += e1700ac-v2-16M + +define Device/e1700ac-v2-8M + $(Device/e1700ac-v2-16M) + DEVICE_TITLE := WHQX E1700AC v2 (8MB flash) + IMAGE_SIZE := 7744k +endef +TARGET_DEVICES += e1700ac-v2-8M + +define Device/e600g-v2-16M + DEVICE_TITLE := WHQX E600G v2 (16MB flash) + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 -swconfig + BOARDNAME := E600G-V2 + SUPPORTED_DEVICES := e600g-v2 + IMAGE_SIZE := 15936k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(pri-data)ro,64k(art)ro,-(firmware) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) |\ + append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += e600g-v2-16M + +define Device/e600g-v2-8M + $(Device/e600g-v2-16M) + DEVICE_TITLE := WHQX E600G v2 (8MB flash) + IMAGE_SIZE := 7744k +endef +TARGET_DEVICES += e600g-v2-8M + +define Device/e600gac-v2-16M + DEVICE_TITLE := WHQX E600GAC v2 (16MB flash) + DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9887 kmod-usb-core \ + kmod-usb2 -swconfig + BOARDNAME := E600GAC-V2 + SUPPORTED_DEVICES := e600gac-v2 + IMAGE_SIZE := 15936k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(pri-data)ro,64k(art)ro,-(firmware) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) |\ + append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += e600gac-v2-16M + +define Device/e600gac-v2-8M + $(Device/e600gac-v2-16M) + DEVICE_TITLE := WHQX E600GAC v2 (8MB flash) + IMAGE_SIZE := 7744k +endef +TARGET_DEVICES += e600gac-v2-8M + +define Device/ew-balin + DEVICE_TITLE := Embedded Wireless Balin Platform + DEVICE_PACKAGES := kmod-usb-core kmod-usb-chipidea + BOARDNAME := EW-BALIN + IMAGE_SIZE := 16000k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),16000k(firmware),64k(art)ro +endef +TARGET_DEVICES += ew-balin + define Device/ew-dorin + $(Device/ew-balin) DEVICE_TITLE := Embedded Wireless Dorin Platform - DEVICE_PACKAGES := kmod-usb-core kmod-usb-chipidea - BOARDNAME = EW-DORIN + BOARDNAME := EW-DORIN CONSOLE := ttyATH0,115200 - IMAGE_SIZE = 16000k - MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env),16000k(firmware),64k(art)ro endef TARGET_DEVICES += ew-dorin define Device/ew-dorin-router + $(Device/ew-dorin) DEVICE_TITLE := Embedded Wireless Dorin Router Platform - DEVICE_PACKAGES := kmod-usb-core kmod-usb-chipidea - BOARDNAME = EW-DORIN-ROUTER - CONSOLE := ttyATH0,115200 - IMAGE_SIZE = 16000k - MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env),16000k(firmware),64k(art)ro + BOARDNAME := EW-DORIN-ROUTER endef TARGET_DEVICES += ew-dorin-router +define Device/rme-eg200 + DEVICE_TITLE := eTactica EG-200 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-oneshot \ + kmod-usb-serial kmod-usb-serial-ftdi \ + kmod-usb-storage \ + kmod-fs-ext4 + BOARDNAME := RME-EG200 + IMAGE_SIZE := 16000k + CONSOLE := ttyATH0,115200 + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro +endef +TARGET_DEVICES += rme-eg200 + define Device/weio DEVICE_TITLE := WeIO DEVICE_PACKAGES := kmod-usb-core kmod-usb2 @@ -287,6 +423,19 @@ define Device/gl-ar300m endef TARGET_DEVICES += gl-ar300m +define Device/gl-ar750 + DEVICE_TITLE := GL.iNet GL-AR750 + DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9887 kmod-usb-core \ + kmod-usb2 kmod-usb-storage + BOARDNAME := GL-AR750 + SUPPORTED_DEVICES := gl-ar750 + IMAGE_SIZE := 16000k + MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(art)ro,-(firmware) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ + append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += gl-ar750 + define Device/gl-domino DEVICE_TITLE := GL.iNet Domino Pi DEVICE_PACKAGES := kmod-usb-core kmod-usb2 @@ -315,7 +464,7 @@ define Device/gl-usb150 CONSOLE := ttyATH0,115200 MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro SUPPORTED_DEVICES := gl-usb150 - IMAGE/sysupgrade.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | \ + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) endef TARGET_DEVICES += gl-usb150 @@ -341,13 +490,14 @@ define Device/mr12 IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | append-kernel | check-size $$$$(IMAGE_SIZE) IMAGES := kernel.bin rootfs.bin sysupgrade.bin endef +TARGET_DEVICES += mr12 define Device/mr16 $(Device/mr12) DEVICE_TITLE := Meraki MR16 BOARDNAME := MR16 endef -TARGET_DEVICES += mr12 mr16 +TARGET_DEVICES += mr16 define Device/dr342 DEVICE_TITLE := Wallys DR342 @@ -392,6 +542,7 @@ define Device/wndr3700 IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE) IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | check-size $$$$(IMAGE_SIZE) endef +TARGET_DEVICES += wndr3700 define Device/wndr3700v2 $(Device/wndr3700) @@ -403,6 +554,7 @@ define Device/wndr3700v2 MTDPARTS := spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,15872k(firmware),64k(art)ro IMAGES := sysupgrade.bin factory.img endef +TARGET_DEVICES += wndr3700v2 define Device/wndr3800 $(Device/wndr3700v2) @@ -410,25 +562,28 @@ define Device/wndr3800 NETGEAR_BOARD_ID := WNDR3800 NETGEAR_HW_ID := 29763654+16+128 endef +TARGET_DEVICES += wndr3800 define Device/wndr3800ch $(Device/wndr3800) DEVICE_TITLE := NETGEAR WNDR3800 (Ch) NETGEAR_BOARD_ID := WNDR3800CH endef +TARGET_DEVICES += wndr3800ch define Device/wndrmac $(Device/wndr3700v2) DEVICE_TITLE := NETGEAR WNDRMAC NETGEAR_BOARD_ID := WNDRMAC endef +TARGET_DEVICES += wndrmac define Device/wndrmacv2 $(Device/wndr3800) DEVICE_TITLE := NETGEAR WNDRMAC v2 NETGEAR_BOARD_ID := WNDRMACv2 endef -TARGET_DEVICES += wndr3700 wndr3700v2 wndr3800 wndr3800ch wndrmac wndrmacv2 +TARGET_DEVICES += wndrmacv2 define Device/cap324 DEVICE_TITLE := PowerCloud CAP324 Cloud AP @@ -505,6 +660,7 @@ define Device/antminer-s1 TPLINK_HWID := 0x04440101 CONSOLE := ttyATH0,115200 endef +TARGET_DEVICES += antminer-s1 define Device/antminer-s3 $(Device/tplink-8mlzma) @@ -515,6 +671,7 @@ define Device/antminer-s3 TPLINK_HWID := 0x04440301 CONSOLE := ttyATH0,115200 endef +TARGET_DEVICES += antminer-s3 define Device/antrouter-r1 $(Device/tplink-8mlzma) @@ -525,6 +682,7 @@ define Device/antrouter-r1 TPLINK_HWID := 0x44440101 CONSOLE := ttyATH0,115200 endef +TARGET_DEVICES += antrouter-r1 define Device/el-m150 $(Device/tplink-8mlzma) @@ -535,6 +693,7 @@ define Device/el-m150 TPLINK_HWID := 0x01500101 CONSOLE := ttyATH0,115200 endef +TARGET_DEVICES += el-m150 define Device/el-mini $(Device/tplink-8mlzma) @@ -545,7 +704,7 @@ define Device/el-mini TPLINK_HWID := 0x01530001 CONSOLE := ttyATH0,115200 endef -TARGET_DEVICES += antminer-s1 antminer-s3 antrouter-r1 el-m150 el-mini +TARGET_DEVICES += el-mini define Device/gl-inet-6408A-v1 $(Device/tplink-8mlzma) @@ -556,6 +715,7 @@ define Device/gl-inet-6408A-v1 TPLINK_HWID := 0x08000001 CONSOLE := ttyATH0,115200 endef +TARGET_DEVICES += gl-inet-6408A-v1 define Device/gl-inet-6416A-v1 $(Device/tplink-16mlzma) @@ -566,7 +726,7 @@ define Device/gl-inet-6416A-v1 TPLINK_HWID := 0x08000001 CONSOLE := ttyATH0,115200 endef -TARGET_DEVICES += gl-inet-6408A-v1 gl-inet-6416A-v1 +TARGET_DEVICES += gl-inet-6416A-v1 define Device/jwap230 DEVICE_TITLE := jjPlus JWAP230 @@ -577,6 +737,18 @@ define Device/jwap230 endef TARGET_DEVICES += jwap230 +define Device/r36a + DEVICE_TITLE := ALFA Network R36A + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport -swconfig + BOARDNAME := R36A + SUPPORTED_DEVICES := r36a + IMAGE_SIZE := 15872k + MTDPARTS := spi0.0:384k(u-boot)ro,64k(u-boot-env),64k(art)ro,-(firmware) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ + append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += r36a + define Device/r602n DEVICE_TITLE := P&W R602N DEVICE_PACKAGES := kmod-usb-core kmod-usb2 @@ -586,15 +758,27 @@ define Device/r602n endef TARGET_DEVICES += r602n -define Device/rnx-n360rt - $(Device/tplink-4m) - DEVICE_TITLE := Rosewill RNX-N360RT - BOARDNAME := TL-WR941ND - DEVICE_PROFILE := RNXN360RT - TPLINK_HWID := 0x09410002 - TPLINK_HWREV := 0x00420001 +define Device/rut900 + DEVICE_TITLE := Teltonika RUT900 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 -uboot-envtools + BOARDNAME := RUT900 + SUPPORTED_DEVICES := rut900 + IMAGE_SIZE := 15552k + MTDPARTS := spi0.0:128k(u-boot)ro,64k(config)ro,64k(art)ro,15552k(firmware),576k(event-log)ro + TPLINK_HWID := 0x35000001 + TPLINK_HWREV := 0x1 + TPLINK_HEADER_VERSION := 1 + KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header + KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma + IMAGES := sysupgrade.bin factory.bin + IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs |\ + pad-rootfs | teltonika-fw-fake-checksum | append-string master |\ + append-md5sum-bin | check-size $$$$(IMAGE_SIZE) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) |\ + append-rootfs | pad-rootfs | append-metadata |\ + check-size $$$$(IMAGE_SIZE) endef -TARGET_DEVICES += rnx-n360rt +TARGET_DEVICES += rut900 define Device/mc-mac1200r $(Device/tplink-8mlzma) @@ -625,6 +809,7 @@ define Device/omy-g1 DEVICE_PROFILE := OMYG1 TPLINK_HWID := 0x06660101 endef +TARGET_DEVICES += omy-g1 define Device/omy-x1 $(Device/tplink-8mlzma) @@ -633,7 +818,7 @@ define Device/omy-x1 DEVICE_PROFILE := OMYX1 TPLINK_HWID := 0x06660201 endef -TARGET_DEVICES += omy-g1 omy-x1 +TARGET_DEVICES += omy-x1 define Device/onion-omega $(Device/tplink-16mlzma) @@ -732,6 +917,18 @@ define Device/oolite endef TARGET_DEVICES += oolite +define Device/n5q + DEVICE_TITLE := ALFA Network N5Q + DEVICE_PACKAGES := rssileds -swconfig + BOARDNAME := N5Q + SUPPORTED_DEVICES := n5q + IMAGE_SIZE := 15872k + MTDPARTS := spi0.0:384k(u-boot)ro,64k(u-boot-env),64k(art)ro,-(firmware) + IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ + append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += n5q + define Device/NBG6616 DEVICE_TITLE := ZyXEL NBG6616 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-rtc-pcf8563 kmod-ath10k ath10k-firmware-qca988x @@ -826,6 +1023,7 @@ define Device/dir-869-a1 seama | seama-seal -m "signature=$$$$(SEAMA_SIGNATURE)" | \ check-size $$$$(IMAGE_SIZE) endef +TARGET_DEVICES += dir-869-a1 define Device/mynet-n600 $(Device/seama) @@ -836,6 +1034,7 @@ define Device/mynet-n600 MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro SEAMA_SIGNATURE := wrgnd16_wd_db600 endef +TARGET_DEVICES += mynet-n600 define Device/mynet-n750 $(Device/seama) @@ -846,6 +1045,7 @@ define Device/mynet-n750 MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro SEAMA_SIGNATURE := wrgnd13_wd_av endef +TARGET_DEVICES += mynet-n750 define Device/qihoo-c301 $(Device/seama) @@ -856,7 +1056,7 @@ define Device/qihoo-c301 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) SEAMA_SIGNATURE := wrgac26_qihoo360_360rg endef -TARGET_DEVICES += dir-869-a1 mynet-n600 mynet-n750 qihoo-c301 +TARGET_DEVICES += qihoo-c301 define Device/dap-2695-a1 DEVICE_TITLE := D-Link DAP-2695 rev. A1 @@ -886,6 +1086,16 @@ define Device/bhr-4grv2 endef TARGET_DEVICES += bhr-4grv2 +define Device/wlr8100 + DEVICE_TITLE := Sitecom WLR-8100 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb3 \ + kmod-ath10k ath10k-firmware-qca988x + BOARDNAME := WLR8100 + IMAGE_SIZE := 15424k + MTDPARTS := spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,15424k(firmware),256k(manufacture)ro,64k(backup)ro,320k(storage)ro,64k(art)ro +endef +TARGET_DEVICES += wlr8100 + define Device/wpj-16m DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport MTDPARTS := spi0.0:192k(u-boot)ro,16128k(firmware),64k(art)ro @@ -897,6 +1107,7 @@ define Device/wpj342 DEVICE_TITLE := Compex WPJ342 (16MB flash) BOARDNAME := WPJ342 endef +TARGET_DEVICES += wpj342 define Device/wpj344 $(Device/wpj-16m) @@ -906,12 +1117,14 @@ define Device/wpj344 IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) endef +TARGET_DEVICES += wpj344 define Device/wpj531 $(Device/wpj-16m) DEVICE_TITLE := Compex WPJ531 (16MB flash) BOARDNAME := WPJ531 endef +TARGET_DEVICES += wpj531 define Device/wpj558 $(Device/wpj-16m) @@ -921,13 +1134,14 @@ define Device/wpj558 IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) endef +TARGET_DEVICES += wpj558 define Device/wpj563 $(Device/wpj-16m) DEVICE_TITLE := Compex WPJ563 (16MB flash) BOARDNAME := WPJ563 endef -TARGET_DEVICES += wpj342 wpj344 wpj531 wpj558 wpj563 +TARGET_DEVICES += wpj563 define Device/wrtnode2q DEVICE_TITLE := WRTnode2Q