aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/image
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
commitfdb45e880373f458663c44e0c68b10e149543efb (patch)
tree6c7d26fb05d65e0a2d66ae68b8460075c9502a28 /target/linux/orion/image
parent61756f89b852dd5cd0179badee2f0f466cd646cf (diff)
downloadmaster-187ad058-fdb45e880373f458663c44e0c68b10e149543efb.tar.gz
master-187ad058-fdb45e880373f458663c44e0c68b10e149543efb.tar.bz2
master-187ad058-fdb45e880373f458663c44e0c68b10e149543efb.zip
[orion]: add support for Netgear WN802T
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/orion/image')
-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)