aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image/tiny-netgear.mk
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2018-06-20 16:21:08 +0200
committerJohn Crispin <john@phrozen.org>2018-06-26 07:05:44 +0200
commit31c26cece31813b47dc69ebee266facb83ef76de (patch)
tree2351fbe4f9c8e735868f0db6fb6cb747f21a4d27 /target/linux/ath79/image/tiny-netgear.mk
parent51dd8ec62ffc570dd932cc3fb5d5c9b1bb756349 (diff)
downloadupstream-31c26cece31813b47dc69ebee266facb83ef76de.tar.gz
upstream-31c26cece31813b47dc69ebee266facb83ef76de.tar.bz2
upstream-31c26cece31813b47dc69ebee266facb83ef76de.zip
ath79: add support for ON Networks N150R
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>
Diffstat (limited to 'target/linux/ath79/image/tiny-netgear.mk')
-rw-r--r--target/linux/ath79/image/tiny-netgear.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ath79/image/tiny-netgear.mk b/target/linux/ath79/image/tiny-netgear.mk
index 81f83fd073..48d14e9e2e 100644
--- a/target/linux/ath79/image/tiny-netgear.mk
+++ b/target/linux/ath79/image/tiny-netgear.mk
@@ -17,3 +17,20 @@ define Device/netgear_wnr612-v2
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