mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 22:53:09 +02:00
ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20230 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
698a29c8ea
commit
2bc9c0b6e3
@ -141,11 +141,15 @@ define Image/Build/Cameo
|
|||||||
0x80060000 \
|
0x80060000 \
|
||||||
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
||||||
-d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \
|
-d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \
|
||||||
|
( \
|
||||||
|
dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \
|
||||||
|
dd if=$(KDIR)/root.$(1) \
|
||||||
|
) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
|
||||||
( \
|
( \
|
||||||
dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \
|
dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=2880k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=2880k conv=sync; \
|
||||||
echo -n $(4); \
|
echo -n $(4); \
|
||||||
) > $(call imgname,$(1),$(2)).uni; \
|
) > $(call imgname,$(1),$(2))-factory.bin; \
|
||||||
fi; fi
|
fi; fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -161,11 +165,15 @@ define Image/Build/Cameo7240
|
|||||||
0x80060000 \
|
0x80060000 \
|
||||||
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
||||||
-d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \
|
-d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \
|
||||||
|
( \
|
||||||
|
dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \
|
||||||
|
dd if=$(KDIR)/root.$(1) \
|
||||||
|
) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
|
||||||
( \
|
( \
|
||||||
dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \
|
dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=2752k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=2752k conv=sync; \
|
||||||
echo -n $(4); \
|
echo -n $(4); \
|
||||||
) > $(call imgname,$(1),$(2))-universal.bin; \
|
) > $(call imgname,$(1),$(2))-factory.bin; \
|
||||||
fi; fi
|
fi; fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user