aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/image/generic.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-11-29 17:09:57 -0800
committerFelix Fietkau <nbd@nbd.name>2016-12-04 11:41:51 +0100
commita909a5d676e97531c08650c9aa07ac06cf30532e (patch)
tree4c65d5a05bf572175af46c8310e471bb29fc4086 /target/linux/orion/image/generic.mk
parentda5155b1a5f3f6c042b18944f1718dbbe03b74fa (diff)
downloadupstream-a909a5d676e97531c08650c9aa07ac06cf30532e.tar.gz
upstream-a909a5d676e97531c08650c9aa07ac06cf30532e.tar.bz2
upstream-a909a5d676e97531c08650c9aa07ac06cf30532e.zip
orion: Build images for Buffalo Terastation Pro II/Live
Enable support for this machine in the kernel and also produce valid image files with the correct machine id. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
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 905997d8cb..18ea3991e9 100644
--- a/target/linux/orion/image/generic.mk
+++ b/target/linux/orion/image/generic.mk
@@ -67,6 +67,14 @@ endif
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) # nothing more to do for a ramdisk build
$(call Image/Default/FileSizeCheck,$(KDIR)/wrt350nv2-uImage,$(shell expr $(KERNEL_MTD_SIZE) \* 1024))
endif
+
+ ## Buffalo Terastation Pro II/Live: mach id 1584 (0x0630)
+$(call Image/BuildKernel/ARM/zImage,terastation-pro2,"\x06\x1c\xa0\xe3\x30\x10\x81\xe3")
+$(call Image/BuildKernel/ARM/uImage,terastation-pro2)
+ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
+$(call Image/BuildKernel/ARM/zImage,terastation-pro2,"\x06\x1c\xa0\xe3\x30\x10\x81\xe3",-initramfs)
+$(call Image/BuildKernel/ARM/uImage,terastation-pro2,-initramfs)
+endif
endef
define Image/BuildKernel/ARM/zImage
@@ -124,6 +132,9 @@ $(call Image/Build/Default,$(1),wnr854t,$(ERASE_SIZE_128K),$(KERNEL_MTD_SIZE),.j
## Linksys WRT350N v2
$(call Image/Build/Linksys/wrt350nv2,$(1),wrt350nv2,$(ERASE_SIZE_64K),$(KERNEL_MTD_SIZE),)
+
+ ## Buffalo Terastation Pro II/Live
+$(call Image/Build/Default,$(1),terastation-pro2,$(ERASE_SIZE_128K),$(KERNEL_MTD_SIZE),.jffs2,TERASTATION_PRO2)
endef
define Image/Build/squashfs