ar71xx: create rescue image for the WZR-HP-G300NH

SVN-Revision: 19223
lede-17.01
Gabor Juhos 2010-01-18 16:46:57 +00:00
parent 9d50c384be
commit 5959e9f498
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ define Image/Build/WZRHPG300NH
dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
( \
echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \
dd if=$(call imgname,$(1),$(2))-sysupgrade.bin; \
) > $(call imgname,$(1),$(2))-tftp.bin; \
fi; fi
endef