X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fimage%2Fgeneric.mk;h=badfa7cbab16de7c3c95bb36c09f52e70ebf10c8;hp=c6cecc20d3721f07b116f7434cdcab3685ece7c0;hb=c566439c9bf3cf2b4e5e5a059332c64199d97611;hpb=99df98442e1101607e3e6c902d5d957e72cea1d6;ds=sidebyside diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index c6cecc20d3..badfa7cbab 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -43,6 +43,16 @@ define Build/elecom-header endef +define Build/nec-fw + ( stat -c%s $@ | tr -d "\n" | dd bs=16 count=1 conv=sync; ) >> $@ + ( \ + echo -n -e "$(1)" | dd bs=16 count=1 conv=sync; \ + echo -n "0.0.00" | dd bs=16 count=1 conv=sync; \ + dd if=$@; \ + ) > $@.new + mv $@.new $@ +endef + define Device/avm_fritz300e ATH_SOC := ar7242 DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E @@ -262,6 +272,19 @@ define Device/iodata_wn-ag300dgr endef TARGET_DEVICES += iodata_wn-ag300dgr +define Device/nec_wg800hp + ATH_SOC := qca9563 + DEVICE_TITLE := NEC Aterm WG800HP + IMAGE_SIZE := 7104k + IMAGES += factory.bin + IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ + append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \ + xor-image -p 6A57190601121E4C004C1E1201061957 -x | \ + nec-fw LASER_ATERM + DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct-htt +endef +TARGET_DEVICES += nec_wg800hp + define Device/ocedo_koala ATH_SOC := qca9558 DEVICE_TITLE := OCEDO Koala