All the boards but Mamba had wrong UBI options so far, making it impossible to flash the built image on their storage medium.
Fix all of the supported boards in order to make the generated images useful. Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND chip datasheet for the others. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> --- target/linux/mvebu/image/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 40a06c3e1443..a10e1f052fbe 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -104,14 +104,18 @@ define MultiProfile endef endef +# Boards with NAND, without subpages +$(eval $(call NANDProfile,370-DB,armada-370-db,512KiB,4096)) +$(eval $(call NANDProfile,370-RD,armada-370-rd,512KiB,4096)) +$(eval $(call NANDProfile,Mirabox,armada-370-mirabox,512KiB,4096)) +$(eval $(call NANDProfile,XP-DB,armada-xp-db,512KiB,4096)) +$(eval $(call NANDProfile,XP-GP,armada-xp-gp,512KiB,4096)) + # Boards with NAND, with subpages -$(eval $(call NANDProfile,370-DB,armada-370-db,128KiB,2048,512)) -$(eval $(call NANDProfile,370-RD,armada-370-rd,128KiB,2048,512)) $(eval $(call NANDProfile,Mamba,armada-xp-mamba,128KiB,2048,512)) -$(eval $(call NANDProfile,Mirabox,armada-370-mirabox,128KiB,2048,512)) -$(eval $(call NANDProfile,OpenBlocks-AX-3-4,armada-xp-openblocks-ax3-4,128KiB,2048,512)) -$(eval $(call NANDProfile,XP-DB,armada-xp-db,128KiB,2048,512)) -$(eval $(call NANDProfile,XP-GP,armada-xp-gp,128KiB,2048,512)) + +# Boards with NOR +$(eval $(call NORProfile,OpenBlocks-AX-3-4,armada-xp-openblocks-ax3-4,128KiB)) define Image/Build/Profile/Mamba/squashfs $(call Image/Build/UbinizeImage,armada-xp-mamba,,squashfs, -p 128KiB -m 2048 -s 512) -- 2.2.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel