diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-26 11:43:38 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-26 11:43:38 +0000 |
commit | d1d6c6e2214103e88765ca04797896b4ab33d001 (patch) | |
tree | ad225c144591c22c8797f29158039ae29883ebba /target/linux/ar71xx/image/Makefile | |
parent | c1e89aba4d1bfa721031347dbb9144007ccc2cac (diff) | |
download | upstream-d1d6c6e2214103e88765ca04797896b4ab33d001.tar.gz upstream-d1d6c6e2214103e88765ca04797896b4ab33d001.tar.bz2 upstream-d1d6c6e2214103e88765ca04797896b4ab33d001.zip |
ar71xx: nbg6716: Enable procd nand sysupgrage
This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config
is cleaned up to match the wndr4300.
Signed-off-by: André Valentin <avalentin@marcant.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41346 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/image/Makefile')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 877a761196..abc8b667e0 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -923,7 +923,6 @@ define Image/Build/ZyXELNAND $(eval kernelsize=$(call mtdpartsize,kernel,$(4))) $(eval imageraw=$(KDIR_TMP)/$(2)-raw.img) $(CP) $(KDIR)/root.$(1) $(KDIR_TMP)/ubi_root.img - echo -ne '\xde\xad\xc0\xde' > $(KDIR_TMP)/jffs2.eof $(call ubinize,ubinize-$(2).ini,$(KDIR_TMP),$(KDIR_TMP)/$(2)-root.ubi,128KiB,2048,-E 5) ( \ dd if=$(KDIR_TMP)/$(2)-kernel.jffs2; \ @@ -931,10 +930,7 @@ define Image/Build/ZyXELNAND ) > $(imageraw) dd if=$(imageraw) of=$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1)-factory.bin \ bs=128k conv=sync - ( \ - dd if=$(KDIR_TMP)/$(2)-kernel.jffs2; \ - dd if=$(KDIR)/root.$(1) bs=128k conv=sync \ - ) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1)-sysupgrade.bin + $(call Image/Build/SysupgradeNAND,$(2),squashfs,$(KDIR_TMP)/$(2)-kernel.jffs2) endef |