From 8e96aee440b4b6f5f4c649e148119b750c28ad5d Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 18 Jan 2010 16:46:57 +0000 Subject: [PATCH] ar71xx: create rescue image for the WZR-HP-G300NH SVN-Revision: 19223 --- target/linux/ar71xx/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index d3baec69e1..09d743c479 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -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 -- 2.30.2