2018-06-20 14:21:07 +00:00
|
|
|
include ./common-netgear.mk
|
|
|
|
|
2019-01-02 22:19:04 +00:00
|
|
|
define Device/netgear_ar7240
|
2018-06-20 14:21:07 +00:00
|
|
|
ATH_SOC := ar7240
|
|
|
|
NETGEAR_KERNEL_MAGIC := 0x32303631
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
2019-10-16 10:39:51 +00:00
|
|
|
IMAGE_SIZE := 3712k
|
2019-12-19 19:42:19 +00:00
|
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | \
|
|
|
|
append-rootfs | pad-rootfs
|
2019-01-02 22:19:04 +00:00
|
|
|
$(Device/netgear_ath79)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/netgear_wnr612-v2
|
|
|
|
$(Device/netgear_ar7240)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := WNR612
|
|
|
|
DEVICE_VARIANT := v2
|
2019-01-02 22:19:04 +00:00
|
|
|
DEVICE_DTS := ar7240_netgear_wnr612-v2
|
|
|
|
NETGEAR_BOARD_ID := REALWNR612V2
|
2018-08-08 05:16:40 +00:00
|
|
|
SUPPORTED_DEVICES += wnr612-v2
|
2018-06-20 14:21:07 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_wnr612-v2
|
2018-06-20 14:21:08 +00:00
|
|
|
|
2018-08-02 07:14:10 +00:00
|
|
|
define Device/on_n150r
|
2019-01-02 22:19:04 +00:00
|
|
|
$(Device/netgear_ar7240)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_VENDOR := On Networks
|
|
|
|
DEVICE_MODEL := N150R
|
2018-06-20 14:21:08 +00:00
|
|
|
NETGEAR_BOARD_ID := N150R
|
2018-08-02 07:14:10 +00:00
|
|
|
SUPPORTED_DEVICES += n150r
|
2018-06-20 14:21:08 +00:00
|
|
|
endef
|
2018-08-02 07:14:10 +00:00
|
|
|
TARGET_DEVICES += on_n150r
|
2019-10-16 10:41:34 +00:00
|
|
|
|
2019-10-16 10:42:44 +00:00
|
|
|
define Device/netgear_wnr1000-v2
|
|
|
|
ATH_SOC := ar7240
|
|
|
|
DEVICE_MODEL := WNR1000
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
NETGEAR_KERNEL_MAGIC := 0x31303031
|
2019-10-22 13:26:12 +00:00
|
|
|
NETGEAR_BOARD_ID := WNR1000V2
|
|
|
|
NETGEAR_HW_ID := 29763331+4+32
|
2019-10-16 10:42:44 +00:00
|
|
|
IMAGE_SIZE := 3712k
|
2019-12-19 19:42:19 +00:00
|
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | \
|
|
|
|
append-rootfs | pad-rootfs
|
2019-10-16 10:42:44 +00:00
|
|
|
SUPPORTED_DEVICES += wnr1000-v2
|
|
|
|
$(Device/netgear_ath79)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_wnr1000-v2
|
|
|
|
|
2019-10-16 10:41:34 +00:00
|
|
|
define Device/netgear_wnr2000-v3
|
|
|
|
ATH_SOC := ar7241
|
|
|
|
DEVICE_MODEL := WNR2000
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
NETGEAR_KERNEL_MAGIC := 0x32303033
|
|
|
|
NETGEAR_BOARD_ID := WNR2000V3
|
|
|
|
NETGEAR_HW_ID := 29763551+04+32
|
|
|
|
IMAGE_SIZE := 3712k
|
2019-12-19 19:42:19 +00:00
|
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | \
|
|
|
|
append-rootfs | pad-rootfs
|
2019-10-16 10:41:34 +00:00
|
|
|
IMAGES += factory-NA.img
|
2019-12-19 19:42:19 +00:00
|
|
|
IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | \
|
|
|
|
check-size $$$$(IMAGE_SIZE)
|
2019-10-16 10:41:34 +00:00
|
|
|
SUPPORTED_DEVICES += wnr2000-v3
|
|
|
|
$(Device/netgear_ath79)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_wnr2000-v3
|