From 8bb23cfb663f8870f431edba0dab218a746456a3 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 8 Oct 2015 10:01:30 +0000 Subject: mvebu: add support for the Linksys WRT1900ACS (Shelby) Signed-off-by: Imre Kaloz SVN-Revision: 47164 --- target/linux/mvebu/image/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'target/linux/mvebu/image/Makefile') diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 7f270dd530..20a7ac14da 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -133,6 +133,7 @@ $(eval $(call NANDProfile,XP-GP,armada-xp-gp,512KiB,4096)) $(eval $(call NANDProfile,Mamba,armada-xp-linksys-mamba,128KiB,2048,512,2048)) $(eval $(call NANDProfile,Caiman,armada-385-linksys-caiman,128KiB,2048,512,2048)) $(eval $(call NANDProfile,Cobra,armada-385-linksys-cobra,128KiB,2048,512,2048)) +$(eval $(call NANDProfile,Shelby,armada-385-linksys-shelby,128KiB,2048,512,2048)) # Boards with large NOR, where we want to use UBI $(eval $(call UBINORProfile,OpenBlocks-AX-3-4,armada-xp-openblocks-ax3-4,128KiB)) @@ -174,6 +175,16 @@ define Image/Build/Profile/Mamba/squashfs ) > $(BIN_DIR)/$(IMG_PREFIX)-armada-xp-linksys-mamba-squashfs-factory.img endef +# Shelby: Linksys WRT1900ACS +define Image/Build/Profile/Shelby/squashfs + $(call Image/Build/UbinizeImage,armada-385-linksys-shelby,,squashfs, -p 128KiB -m 2048 -s 512 -O 2048) + ( \ + dd if=$(KDIR)/uImage-armada-385-linksys-shelby bs=6M conv=sync; \ + dd if=$(KDIR)/$(IMG_PREFIX)-armada-385-linksys-shelby-squashfs-ubinized.bin \ + bs=2048 conv=sync; \ + ) > $(BIN_DIR)/$(IMG_PREFIX)-armada-385-linksys-shelby-squashfs-factory.img +endef + ### ### Marvell ### -- cgit v1.2.3