2018-06-20 14:21:07 +00:00
|
|
|
include ./common-netgear.mk
|
|
|
|
|
|
|
|
|
|
|
|
define Device/netgear_wnr612-v2
|
|
|
|
ATH_SOC := ar7240
|
|
|
|
DEVICE_TITLE := Netgear WNR612v2
|
|
|
|
DEVICE_DTS := ar7240_netgear_wnr612-v2
|
|
|
|
NETGEAR_KERNEL_MAGIC := 0x32303631
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
|
|
NETGEAR_BOARD_ID := REALWNR612V2
|
|
|
|
IMAGE_SIZE := 3904k
|
|
|
|
IMAGES := sysupgrade.bin factory.img
|
|
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
|
|
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
|
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
|
2018-06-20 14:21:08 +00:00
|
|
|
ATH_SOC := ar7240
|
|
|
|
DEVICE_TITLE := ON Network N150R
|
|
|
|
NETGEAR_KERNEL_MAGIC := 0x32303631
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
|
|
NETGEAR_BOARD_ID := N150R
|
|
|
|
IMAGE_SIZE := 3904k
|
|
|
|
IMAGES := sysupgrade.bin factory.img
|
|
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
|
|
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
|
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
|