summaryrefslogtreecommitdiff
path: root/target/linux/orion/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-28 11:26:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-06-28 11:26:29 +0000
commit6d6296e214b052a6a2b5678dcb35669763b4e74f (patch)
treea92a62cc2bda736b8f48698c4cc8adc81642d0b9 /target/linux/orion/image
parent77b9fd52a62f42ce2388a502e795291ae0b18dd5 (diff)
downloadmtk-20170518-6d6296e214b052a6a2b5678dcb35669763b4e74f.zip
mtk-20170518-6d6296e214b052a6a2b5678dcb35669763b4e74f.tar.gz
mtk-20170518-6d6296e214b052a6a2b5678dcb35669763b4e74f.tar.bz2
orion: add support for the lacie 2big network device
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37059
Diffstat (limited to 'target/linux/orion/image')
-rw-r--r--target/linux/orion/image/harddisk.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/orion/image/harddisk.mk b/target/linux/orion/image/harddisk.mk
index 9f2efad..c74c6b3 100644
--- a/target/linux/orion/image/harddisk.mk
+++ b/target/linux/orion/image/harddisk.mk
@@ -18,6 +18,13 @@ define Image/BuildKernel
-C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
-d $(KDIR)/dt2-zImage $(KDIR)/dt2-uImage
cp $(KDIR)/dt2-uImage $(BIN_DIR)/openwrt-dt2-uImage
+ # LaCie 2big Network: mach id 2342 (0x926)
+ echo -en "\x09\x1c\xa0\xe3\x26\x10\x81\xe3" > $(KDIR)/net2big-zImage
+ cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/net2big-zImage
+ $(STAGING_DIR_HOST)/bin/mkimage -A arm -O linux -T kernel \
+ -C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
+ -d $(KDIR)/net2big-zImage $(KDIR)/net2big-uImage
+ cp $(KDIR)/net2big-uImage $(BIN_DIR)/openwrt-net2big-uImage
endef
define Image/Build/Freecom