aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/image/generic.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2012-10-27 10:48:22 +0000
committerImre Kaloz <kaloz@openwrt.org>2012-10-27 10:48:22 +0000
commit549d5a6e34cd2e8c3725b759ab7a9f87e70e7040 (patch)
tree445426b0f9f0ee5a7ca69ad8e9ac1ca750eb8fac /target/linux/orion/image/generic.mk
parentcf7aed0a763e06e9c20d600197f9af3aad045b43 (diff)
downloadupstream-549d5a6e34cd2e8c3725b759ab7a9f87e70e7040.tar.gz
upstream-549d5a6e34cd2e8c3725b759ab7a9f87e70e7040.tar.bz2
upstream-549d5a6e34cd2e8c3725b759ab7a9f87e70e7040.zip
add support for Netgear WN802T
SVN-Revision: 33963
Diffstat (limited to 'target/linux/orion/image/generic.mk')
-rw-r--r--target/linux/orion/image/generic.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/orion/image/generic.mk b/target/linux/orion/image/generic.mk
index 0594ebffad..57624af668 100644
--- a/target/linux/orion/image/generic.mk
+++ b/target/linux/orion/image/generic.mk
@@ -44,6 +44,14 @@ endef
define Image/BuildKernel
### Dummy comment for indented calls of Image/BuildKernel
+ ## Netgear WN802T: mach id 3306 (0x0cea)
+$(call Image/BuildKernel/ARM/zImage,wn802t,"\x0c\x1c\xa0\xe3\xea\x10\x81\xe3")
+$(call Image/BuildKernel/ARM/uImage,wn802t)
+ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) # nothing more to do for a ramdisk build
+$(call Image/BuildKernel/JFFS2uImage,wn802t,$(ERASE_SIZE_WRT350Nv2),$(UIMAGE_FILE_NAME_WNR854T))
+$(call Image/Default/FileSizeCheck,$(KDIR)/wn802t-uImage.jffs2,$(shell expr $(KERNEL_MTD_SIZE) \* 1024))
+ endif
+
## Netgear WNR854T: mach id 1801 (0x0709)
$(call Image/BuildKernel/ARM/zImage,wnr854t,"\x07\x1c\xa0\xe3\x09\x10\x81\xe3")
$(call Image/BuildKernel/ARM/uImage,wnr854t)
@@ -106,6 +114,9 @@ define Image/Build
## Prepare rootfs
$(call Image/Build/$(1),$(1))
+ ## Netgear WN802T
+$(call Image/Build/Default,$(1),wn802t,$(ERASE_SIZE_WRT350Nv2),$(KERNEL_MTD_SIZE),.jffs2,NG_WN802T)
+
## Netgear WNR854T
$(call Image/Build/Default,$(1),wnr854t,$(ERASE_SIZE_WNR854T),$(KERNEL_MTD_SIZE),.jffs2,NG_WNR854T)