build firmware images for the Mamba (Linksys WRT1900AC)
authorImre Kaloz <kaloz@openwrt.org>
Sun, 29 Jun 2014 13:10:35 +0000 (13:10 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sun, 29 Jun 2014 13:10:35 +0000 (13:10 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41387

target/linux/mvebu/image/Makefile

index fb0dc4f1f0a4090dff8095369c9276c9ad77f93e..9de7e960864a652cf2e8815108bfae2d1582865b 100644 (file)
@@ -44,6 +44,11 @@ endef
 define Image/Build/squashfs
        $(STAGING_DIR_HOST)/bin/padjffs2 $(KDIR)/root.squashfs 128
        $(foreach dtb,$(TARGET_DTBS),$(call Image/Build/UbinizeImage,$(dtb),,squashfs,$(UBI_OPTS));)
+       ( \
+               dd if=$(KDIR)/uImage-armada-xp-mamba bs=3072k conv=sync; \
+               dd if=$(BIN_DIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-ubinized.bin \
+               bs=2048 conv=sync; \
+       ) > $(BIN_DIR)/$(IMG_PREFIX)-mamba-squashfs.img
 endef
 
 define Image/Build/Initramfs