2
0
forked from Ivasoft/openwrt

orion: add support for the lacie 2big network device

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37059
This commit is contained in:
Felix Fietkau
2013-06-28 11:26:29 +00:00
parent 77b9fd52a6
commit 6d6296e214
3 changed files with 13 additions and 5 deletions

View File

@@ -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