mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
31c26cece3
This is a rebranded Netgear WNR612v2, specs are the same. - Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
37 lines
1.5 KiB
Makefile
37 lines
1.5 KiB
Makefile
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)
|
|
SUPPORTED_DEVICES := netgear,wnr612-v2 wnr612-v2
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr612-v2
|
|
|
|
define Device/n150r
|
|
ATH_SOC := ar7240
|
|
DEVICE_TITLE := ON Network N150R
|
|
DEVICE_DTS := ar7240_on_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)
|
|
SUPPORTED_DEVICES := on,n150r n150r
|
|
endef
|
|
TARGET_DEVICES += n150r
|