summaryrefslogtreecommitdiff
path: root/target/linux/orion/image/Makefile
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-06-26 13:53:27 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-06-26 13:53:27 +0000
commita425a7506c601c7d1ea6253f640acf10f4541d2c (patch)
treefa29e1696ea8205fa8cdae79d6ef6dbae43a5148 /target/linux/orion/image/Makefile
parentcef5e994b3ffb131ecf9b7f522218a625d49541e (diff)
downloadmtk-20170518-a425a7506c601c7d1ea6253f640acf10f4541d2c.zip
mtk-20170518-a425a7506c601c7d1ea6253f640acf10f4541d2c.tar.gz
mtk-20170518-a425a7506c601c7d1ea6253f640acf10f4541d2c.tar.bz2
add preliminary Netgear WNR854T support
SVN-Revision: 11582
Diffstat (limited to 'target/linux/orion/image/Makefile')
-rw-r--r--target/linux/orion/image/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/orion/image/Makefile b/target/linux/orion/image/Makefile
index 8623582..0650870 100644
--- a/target/linux/orion/image/Makefile
+++ b/target/linux/orion/image/Makefile
@@ -19,6 +19,13 @@ define Image/BuildKernel
-C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
-d $(KDIR)/wrt350nv2-zImage $(KDIR)/wrt350nv2-uImage
cp $(KDIR)/wrt350nv2-uImage $(BIN_DIR)/openwrt-wrt350nv2-uImage
+# WNR854T: mach id 1801 (0x709)
+ echo -en "\x07\x1c\xa0\xe3\x09\x10\x81\xe3" > $(KDIR)/wnr854t-zImage
+ cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/wnr854t-zImage
+ $(STAGING_DIR_HOST)/bin/mkimage -A arm -O linux -T kernel \
+ -C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
+ -d $(KDIR)/wnr854t-zImage $(KDIR)/wnr854t-uImage
+ cp $(KDIR)/wnr854t-uImage $(BIN_DIR)/openwrt-wnr854t-uImage
endef
define Image/Build